Using asf-standalone-archive-3.30.0.43.zip
from Atmel
Last active
March 21, 2016 15:28
-
-
Save samdoshi/9f5a07e60a462f6891b7 to your computer and use it in GitHub Desktop.
ASF pruning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/asf-standalone-archive-3.30.0.43.zip | |
/asf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avr32/drivers/ebi/smc/smc.c | |
avr32/drivers/flashc/flashc.c | |
avr32/drivers/gpio/gpio.c | |
avr32/drivers/intc/intc.c | |
avr32/drivers/pdca/pdca.c | |
avr32/drivers/pm/pm.c | |
avr32/drivers/pm/pm_conf_clocks.c | |
avr32/drivers/pm/power_clocks_lib.c | |
avr32/drivers/spi/spi.c | |
avr32/drivers/tc/tc.c | |
avr32/drivers/twi/twi.c | |
avr32/drivers/usart/usart.c | |
avr32/utils/debug/print_funcs.c | |
avr32/components/memory/sd_mmc/sd_mmc_spi/sd_mmc_spi.c | |
avr32/components/memory/sd_mmc/sd_mmc_spi/sd_mmc_spi_mem.c | |
avr32/drivers/usbb/usbb_host.c | |
common/services/clock/uc3a0_a1/sysclk.c | |
common/services/storage/ctrl_access/ctrl_access.c | |
common/services/usb/uhc/uhc.c | |
avr32/drivers/intc/exception.S | |
avr32/utils/startup/trampoline_uc3.S | |
avr32/boards | |
avr32/boards/user_board | |
avr32/components/memory/sdram | |
avr32/drivers/cpu/cycle_counter/ | |
avr32/drivers/ebi/smc/ | |
avr32/drivers/eic/ | |
avr32/drivers/flashc | |
avr32/drivers/gpio | |
avr32/drivers/intc | |
avr32/drivers/pdca | |
avr32/drivers/pm | |
avr32/drivers/spi | |
avr32/drivers/tc | |
avr32/drivers/twi | |
avr32/drivers/usart | |
avr32/drivers/usbb | |
avr32/services/delay | |
avr32/services/fs/fat | |
avr32/utils | |
avr32/utils/debug | |
avr32/utils/preprocessor | |
common/boards | |
avr32/components/memory/sd_mmc/sd_mmc_spi | |
common/services/storage/ctrl_access | |
common/services/clock | |
common/services/delay | |
common/services/usb | |
common/services/usb/class/hid | |
common/services/usb/uhc | |
common/utils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avr32/drivers/adc/adc.c | |
avr32/drivers/flashc/flashc.c | |
avr32/drivers/gpio/gpio.c | |
avr32/drivers/intc/intc.c | |
avr32/drivers/pm/pm.c | |
avr32/drivers/pm/pm_conf_clocks.c | |
avr32/drivers/pm/power_clocks_lib.c | |
avr32/drivers/spi/spi.c | |
avr32/drivers/tc/tc.c | |
avr32/drivers/twi/twi.c | |
avr32/drivers/usart/usart.c | |
avr32/drivers/usbb/usbb_host.c | |
avr32/utils/debug/print_funcs.c | |
common/services/usb/class/msc/host/uhi_msc.c | |
common/services/usb/class/msc/host/uhi_msc_mem.c | |
common/services/spi/uc3_spi/spi_master.c | |
common/services/usb/uhc/uhc.c | |
common/services/clock/uc3b0_b1/sysclk.c | |
avr32/utils/startup/trampoline_uc3.S | |
avr32/drivers/intc/exception.S | |
avr32/boards | |
avr32/drivers/cpu/cycle_counter | |
avr32/drivers/flashc | |
avr32/drivers/gpio | |
avr32/drivers/intc | |
avr32/drivers/pm | |
avr32/drivers/spi | |
avr32/drivers/tc | |
avr32/drivers/twi | |
avr32/drivers/usart | |
avr32/drivers/usbb | |
avr32/utils | |
avr32/utils/debug | |
avr32/utils/preprocessor | |
common/boards | |
common/boards/user_board | |
common/services/storage/ctrl_access | |
common/services/clock | |
common/services/delay | |
common/services/usb/ | |
common/services/usb/uhc | |
common/services/usb/class/msc | |
common/services/usb/class/msc/host | |
common/services/usb/class/hid | |
common/services/spi/uc3_spi | |
common/utils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avr32/drivers/adc/adc.c | |
avr32/drivers/flashc/flashc.c | |
avr32/drivers/gpio/gpio.c | |
avr32/drivers/intc/intc.c | |
avr32/drivers/pm/pm.c | |
avr32/drivers/pm/pm_conf_clocks.c | |
avr32/drivers/pm/power_clocks_lib.c | |
avr32/drivers/spi/spi.c | |
avr32/drivers/tc/tc.c | |
avr32/drivers/twi/twi.c | |
avr32/drivers/usart/usart.c | |
avr32/drivers/usbb/usbb_host.c | |
avr32/utils/debug/print_funcs.c | |
avr32/services/fs/fat/fat.c | |
avr32/services/fs/fat/fat_unusual.c | |
avr32/services/fs/fat/file.c | |
avr32/services/fs/fat/navigation.c | |
common/services/spi/uc3_spi/spi_master.c | |
common/services/usb/uhc/uhc.c | |
common/services/storage/ctrl_access/ctrl_access.c | |
common/services/usb/class/msc/host/uhi_msc.c | |
common/services/usb/class/msc/host/uhi_msc_mem.c | |
common/services/clock/uc3b0_b1/sysclk.c | |
avr32/utils/startup/trampoline_uc3.S | |
avr32/drivers/intc/exception.S | |
avr32/boards | |
avr32/drivers/cpu/cycle_counter | |
avr32/drivers/flashc | |
avr32/drivers/gpio | |
avr32/drivers/intc | |
avr32/drivers/pm | |
avr32/drivers/spi | |
avr32/drivers/tc | |
avr32/drivers/twi | |
avr32/drivers/usart | |
avr32/drivers/usbb | |
avr32/utils | |
avr32/utils/debug | |
avr32/utils/preprocessor | |
avr32/services/fs/fat | |
common/boards | |
common/boards/user_board | |
common/services/storage/ctrl_access | |
common/services/clock | |
common/services/delay | |
common/services/usb/ | |
common/services/usb/uhc | |
common/services/usb/class/hid | |
common/services/usb/class/msc | |
common/services/usb/class/msc/host | |
common/services/usb/class/hid | |
common/services/spi/uc3_spi | |
common/utils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avr32/drivers/adc/adc.c | |
avr32/drivers/flashc/flashc.c | |
avr32/drivers/gpio/gpio.c | |
avr32/drivers/intc/intc.c | |
avr32/drivers/pm/pm.c | |
avr32/drivers/pm/pm_conf_clocks.c | |
avr32/drivers/pm/power_clocks_lib.c | |
avr32/drivers/spi/spi.c | |
avr32/drivers/tc/tc.c | |
avr32/drivers/twi/twi.c | |
avr32/drivers/usart/usart.c | |
avr32/drivers/usbb/usbb_host.c | |
avr32/utils/debug/print_funcs.c | |
common/services/usb/class/msc/host/uhi_msc.c | |
common/services/usb/class/msc/host/uhi_msc_mem.c | |
common/services/spi/uc3_spi/spi_master.c | |
common/services/usb/uhc/uhc.c | |
common/services/clock/uc3b0_b1/sysclk.c | |
avr32/utils/startup/trampoline_uc3.S | |
avr32/drivers/intc/exception.S | |
avr32/boards | |
avr32/drivers/cpu/cycle_counter | |
avr32/drivers/flashc | |
avr32/drivers/gpio | |
avr32/drivers/intc | |
avr32/drivers/pm | |
avr32/drivers/spi | |
avr32/drivers/tc | |
avr32/drivers/twi | |
avr32/drivers/usart | |
avr32/drivers/usbb | |
avr32/utils | |
avr32/utils/debug | |
avr32/utils/preprocessor | |
common/boards | |
common/boards/user_board | |
common/services/storage/ctrl_access | |
common/services/clock | |
common/services/delay | |
common/services/usb/ | |
common/services/usb/uhc | |
common/services/usb/class/msc | |
common/services/usb/class/msc/host | |
common/services/usb/class/hid | |
common/services/spi/uc3_spi | |
common/utils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- pll.h 2016-02-04 10:39:50.000000000 +0000 | |
+++ pll-fixed.h 2016-03-21 15:11:27.000000000 +0000 | |
@@ -233,7 +233,8 @@ | |
static inline void pll_enable_config_defaults(unsigned int pll_id) | |
{ | |
- struct pll_config pllcfg; | |
+ // FIXED: samdoshi 2016-03-21 - initialise pllcfg | |
+ struct pll_config pllcfg = { .ctrl = 0 }; | |
if (pll_is_locked(pll_id)) { | |
return; // Pll already running |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
951453ea953d38bc73474746d43772822654b3da4f1600d0018fb93a2a51c303 asf-standalone-archive-3.30.0.43.zip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avr32/drivers/adc/adc.c | |
avr32/drivers/flashc/flashc.c | |
avr32/drivers/gpio/gpio.c | |
avr32/drivers/intc/intc.c | |
avr32/drivers/pm/pm.c | |
avr32/drivers/pm/pm_conf_clocks.c | |
avr32/drivers/pm/power_clocks_lib.c | |
avr32/drivers/spi/spi.c | |
avr32/drivers/tc/tc.c | |
avr32/drivers/twi/twi.c | |
avr32/drivers/usart/usart.c | |
avr32/drivers/usbb/usbb_host.c | |
avr32/services/fs/fat/fat.c | |
avr32/services/fs/fat/fat_unusual.c | |
avr32/services/fs/fat/file.c | |
avr32/services/fs/fat/navigation.c | |
avr32/utils/debug/print_funcs.c | |
common/services/storage/ctrl_access/ctrl_access.c | |
common/services/usb/class/msc/host/uhi_msc.c | |
common/services/usb/class/msc/host/uhi_msc_mem.c | |
common/services/spi/uc3_spi/spi_master.c | |
common/services/usb/uhc/uhc.c | |
common/services/clock/uc3b0_b1/sysclk.c | |
avr32/utils/startup/trampoline_uc3.S | |
avr32/drivers/intc/exception.S | |
avr32/boards | |
avr32/drivers/cpu/cycle_counter | |
avr32/drivers/flashc | |
avr32/drivers/gpio | |
avr32/drivers/intc | |
avr32/drivers/pm | |
avr32/drivers/spi | |
avr32/drivers/tc | |
avr32/drivers/twi | |
avr32/drivers/usart | |
avr32/drivers/usbb | |
avr32/utils | |
avr32/utils/debug | |
avr32/utils/preprocessor | |
avr32/services/fs/fat | |
common/boards | |
common/boards/user_board | |
common/services/storage/ctrl_access | |
common/services/clock | |
common/services/delay | |
common/services/usb/ | |
common/services/usb/uhc | |
common/services/clock | |
common/services/storage/ctrl_access | |
common/services/usb/class/msc | |
common/services/usb/class/msc/host | |
common/services/usb/class/hid | |
common/services/spi/uc3_spi | |
common/utils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
ASF_DIR="xdk-asf-3.30.0" | |
ASF_ZIP="asf-standalone-archive-3.30.0.43.zip" | |
if [[ -d asf ]]; then | |
echo "Removing existing asf directory" | |
rm -r asf | |
fi | |
shasum -c SHA256SUMS | |
echo "SHA256 sums check" | |
# unzip has problems with the zip file! | |
7z x $ASF_ZIP | |
mv $ASF_DIR asf | |
echo "Size of asf" | |
du -hs asf | |
echo | |
echo "Pruning" | |
rm asf/asf-releasenotes-3.30.0.pdf | |
rm -r asf/avr32/applications | |
rm -r asf/avr32/boards/avr_simulator_uc3 | |
rm -r asf/avr32/boards/evk* | |
rm -r asf/avr32/boards/rz600 | |
rm -r asf/avr32/boards/stk600 | |
rm -r asf/avr32/boards/uc3* | |
rm -r asf/avr32/components/accelerometer | |
rm -r asf/avr32/components/audio | |
rm -r asf/avr32/components/clocks | |
rm -r asf/avr32/components/display | |
rm -r asf/avr32/components/ethernet_phy | |
rm -r asf/avr32/components/joystick | |
rm -r asf/avr32/components/memory/eeprom | |
rm -r asf/avr32/components/memory/nand_flash | |
rm -r asf/avr32/components/memory/sd_mmc/sd_mmc_mci | |
rm -r asf/avr32/components/touch | |
rm -r asf/avr32/drivers/abdac | |
rm -r asf/avr32/drivers/acifa | |
rm -r asf/avr32/drivers/acifb | |
rm -r asf/avr32/drivers/adcifa | |
rm -r asf/avr32/drivers/adcifb | |
rm -r asf/avr32/drivers/aes | |
rm -r asf/avr32/drivers/ast | |
rm -r asf/avr32/drivers/canif | |
rm -r asf/avr32/drivers/cpu/mpu | |
rm -r asf/avr32/drivers/cpu/sau | |
rm -r asf/avr32/drivers/dacifb | |
rm -r asf/avr32/drivers/dmaca | |
rm -r asf/avr32/drivers/ebi/sdramc | |
rm -r asf/avr32/drivers/ecchrs | |
rm -r asf/avr32/drivers/flashcdw | |
rm -r asf/avr32/drivers/freqm | |
rm -r asf/avr32/drivers/hmatrix | |
rm -r asf/avr32/drivers/iisc | |
rm -r asf/avr32/drivers/macb | |
rm -r asf/avr32/drivers/mci | |
rm -r asf/avr32/drivers/mdma | |
rm -r asf/avr32/drivers/pevc | |
rm -r asf/avr32/drivers/pm/pm_uc3* | |
rm -r asf/avr32/drivers/pwm | |
rm -r asf/avr32/drivers/pwma | |
rm -r asf/avr32/drivers/qdec | |
rm -r asf/avr32/drivers/rtc | |
rm -r asf/avr32/drivers/scif | |
rm -r asf/avr32/drivers/ssc | |
rm -r asf/avr32/drivers/twim | |
rm -r asf/avr32/drivers/twis | |
rm -r asf/avr32/drivers/usbc | |
rm -r asf/avr32/drivers/wdt | |
rm -r asf/avr32/services/audio | |
rm -r asf/avr32/services/dsp | |
rm -r asf/avr32/services/freq_detect | |
rm -r asf/avr32/services/network | |
rm -r asf/avr32/services/storage | |
rm -r asf/avr32/services/usb | |
rm asf/avr32/utils/header_files/avr32-headers.zip | |
rm -r asf/avr32/utils/libs | |
rm -r asf/avr32/utils/linker_scripts | |
rm -r asf/common/applications | |
rm -r asf/common/components | |
rm -r asf/common/drivers | |
rm -r asf/common/services/adp | |
rm -r asf/common/services/calendar | |
rm -r asf/common/services/clock/uc3a3_a4 | |
rm -r asf/common/services/clock/uc3c | |
rm -r asf/common/services/clock/uc3d | |
rm -r asf/common/services/clock/uc3l | |
rm -r asf/common/services/cpu | |
rm -r asf/common/services/crc32 | |
rm -r asf/common/services/fifo | |
rm -r asf/common/services/gpio | |
rm -r asf/common/services/hugemem | |
rm -r asf/common/services/ioport | |
rm -r asf/common/services/isp | |
rm -r asf/common/services/freertos | |
rm -r asf/common/services/gfx | |
rm -r asf/common/services/gfx_mono | |
rm -r asf/common/services/sensors | |
rm -r asf/common/services/serial | |
rm -r asf/common/services/sleepmgr | |
rm -r asf/common/services/storage/ecc_hamming | |
rm -r asf/common/services/twi | |
rm -r asf/common/services/usb/class/dfu_flip | |
rm -r asf/common/services/usb/manual | |
rm -r asf/common/services/wtk | |
rm -r asf/common2 | |
rm -r asf/mega | |
rm -r asf/sam | |
rm -r asf/sam0 | |
rm -r asf/thirdparty | |
rm -r asf/xmega | |
find ./asf -name "mega*" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "sam*" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "xmega*" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "iar" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "doxygen" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "example" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "examples" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "*_example" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "*_examples" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "example_*" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "examples_*" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "example[0-9]*" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "*example[0-9]" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "unit_tests" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "*xplained" -type d -print0 | xargs -0 rm -r | |
find ./asf -name "_asf_v1" -type d -print0 | xargs -0 rm -r | |
patch asf/avr32/drivers/usbb/usbb_host.c usbb_host.patch | |
patch asf/common/services/clock/uc3b0_b1/pll.h pll.patch | |
echo "Pruned size of asf" | |
du -hs asf | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- usbb_host.c 2016-03-17 15:13:16.000000000 +0000 | |
+++ usbb_host-fixed.c 2016-03-17 15:15:51.000000000 +0000 | |
@@ -45,6 +45,9 @@ | |
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a> | |
*/ | |
+// FIXED: samdoshi 2016-03-17 - added missing import | |
+#include "pm.h" | |
+ | |
#include "conf_usb_host.h" | |
#include "sysclk.h" | |
#include "uhd.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
files_and_directories=`cat aleph.mk earthsea.mk kria.mk meadowphysics.mk teletype.mk whitewhale.mk` | |
echo "$files_and_directories" | sed 's/\/[0-9a-z_]*.[cS]$//g' | sed 's/\/$//g' | sort | uniq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avr32/drivers/adc/adc.c | |
avr32/drivers/flashc/flashc.c | |
avr32/drivers/gpio/gpio.c | |
avr32/drivers/intc/intc.c | |
avr32/drivers/pm/pm.c | |
avr32/drivers/pm/pm_conf_clocks.c | |
avr32/drivers/pm/power_clocks_lib.c | |
avr32/drivers/spi/spi.c | |
avr32/drivers/tc/tc.c | |
avr32/drivers/twi/twi.c | |
avr32/drivers/usart/usart.c | |
avr32/drivers/usbb/usbb_host.c | |
avr32/utils/debug/print_funcs.c | |
common/services/usb/class/msc/host/uhi_msc.c | |
common/services/usb/class/msc/host/uhi_msc_mem.c | |
common/services/spi/uc3_spi/spi_master.c | |
common/services/usb/uhc/uhc.c | |
common/services/clock/uc3b0_b1/sysclk.c | |
avr32/utils/startup/trampoline_uc3.S | |
avr32/drivers/intc/exception.S | |
avr32/boards | |
avr32/drivers/cpu/cycle_counter | |
avr32/drivers/flashc | |
avr32/drivers/gpio | |
avr32/drivers/intc | |
avr32/drivers/pm | |
avr32/drivers/spi | |
avr32/drivers/tc | |
avr32/drivers/twi | |
avr32/drivers/usart | |
avr32/drivers/usbb | |
avr32/utils | |
avr32/utils/debug | |
avr32/utils/preprocessor | |
common/boards | |
common/boards/user_board | |
common/services/storage/ctrl_access | |
common/services/clock | |
common/services/delay | |
common/services/usb/ | |
common/services/usb/uhc | |
common/services/usb/class/msc | |
common/services/usb/class/msc/host | |
common/services/usb/class/hid | |
common/services/spi/uc3_spi | |
common/utils |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment