diff --git a/src/.#igloo_prj.rs b/src/.#igloo_prj.rs new file mode 120000 index 0000000..86d573d --- /dev/null +++ b/src/.#igloo_prj.rs @@ -0,0 +1 @@ +penguin@penguin-arch-home.1854:1602942911 \ No newline at end of file diff --git a/src/igloo.rs b/src/igloo.rs index c339a1e..a588ea7 100644 --- a/src/igloo.rs +++ b/src/igloo.rs @@ -95,7 +95,14 @@ impl Igloo clap::Arg::new("project_name") .required(true) .about("The name of the project to be created"), - ), + ) + .arg( + clap::Arg::new("target") + .required(true) + .about("MCU Target") + .short('t') + .long("target") + .takes_value(true)), ) .subcommand( clap::App::new("run") @@ -188,8 +195,9 @@ impl Igloo { if let ("new", new_matches) = self.cli_conf.subcommand() { - let prj_name: &str = new_matches.unwrap().value_of("project_name").unwrap(); - + let prj_name: &str = new_matches.unwrap().value_of("project_name") + .unwrap(); + let target: &str = new_matches.unwrap().value_of("target").unwrap(); // Check if we are already inside of an igloo project // Creating an igloo project inside an igloo project // is a no no diff --git a/testdir/.igloo/.gdb_history b/testdir/.igloo/.gdb_history index 146ecd1..f2f8c66 100644 --- a/testdir/.igloo/.gdb_history +++ b/testdir/.igloo/.gdb_history @@ -41,3 +41,10 @@ q break main r q +load +q +q +q +break main +r +q diff --git a/testdir/.igloo/ESF/mcu/src/startup_samd21j18a.d b/testdir/.igloo/ESF/mcu/src/startup_samd21j18a.d new file mode 100644 index 0000000..1585356 --- /dev/null +++ b/testdir/.igloo/ESF/mcu/src/startup_samd21j18a.d @@ -0,0 +1,61 @@ +ESF/mcu/src/startup_samd21j18a.d ESF/mcu/src/startup_samd21j18a.o: \ + ../ESF/mcu/src/startup_samd21j18a.c ../ESF/mcu/inc/samd21j18a.h \ + /usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \ + /usr/arm-none-eabi/include/stdint.h \ + /usr/arm-none-eabi/include/machine/_default_types.h \ + /usr/arm-none-eabi/include/sys/features.h \ + /usr/arm-none-eabi/include/_newlib_version.h \ + /usr/arm-none-eabi/include/sys/_intsup.h \ + /usr/arm-none-eabi/include/sys/_stdint.h \ + ../ESF/common/inc/cmsis/core_cm0plus.h \ + ../ESF/common/inc/cmsis/cmsis_version.h \ + ../ESF/common/inc/cmsis/cmsis_compiler.h \ + ../ESF/common/inc/cmsis/cmsis_gcc.h ../ESF/mcu/inc/component/ac.h \ + ../ESF/mcu/inc/component/adc.h ../ESF/mcu/inc/component/dac.h \ + ../ESF/mcu/inc/component/dmac.h ../ESF/mcu/inc/component/dsu.h \ + ../ESF/mcu/inc/component/eic.h ../ESF/mcu/inc/component/evsys.h \ + ../ESF/mcu/inc/component/gclk.h ../ESF/mcu/inc/component/hmatrixb.h \ + ../ESF/mcu/inc/component/i2s.h ../ESF/mcu/inc/component/mtb.h \ + ../ESF/mcu/inc/component/nvmctrl.h ../ESF/mcu/inc/component/pac.h \ + ../ESF/mcu/inc/component/pm.h ../ESF/mcu/inc/component/port.h \ + ../ESF/mcu/inc/component/ptc.h ../ESF/mcu/inc/component/rtc.h \ + ../ESF/mcu/inc/component/sercom.h ../ESF/mcu/inc/component/sysctrl.h \ + ../ESF/mcu/inc/component/tc.h ../ESF/mcu/inc/component/tcc.h \ + ../ESF/mcu/inc/component/usb.h ../ESF/mcu/inc/component/wdt.h \ + ../ESF/mcu/inc/pio/samd21j18a.h +../ESF/mcu/inc/samd21j18a.h: +/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h: +/usr/arm-none-eabi/include/stdint.h: +/usr/arm-none-eabi/include/machine/_default_types.h: +/usr/arm-none-eabi/include/sys/features.h: +/usr/arm-none-eabi/include/_newlib_version.h: +/usr/arm-none-eabi/include/sys/_intsup.h: +/usr/arm-none-eabi/include/sys/_stdint.h: +../ESF/common/inc/cmsis/core_cm0plus.h: +../ESF/common/inc/cmsis/cmsis_version.h: +../ESF/common/inc/cmsis/cmsis_compiler.h: +../ESF/common/inc/cmsis/cmsis_gcc.h: +../ESF/mcu/inc/component/ac.h: +../ESF/mcu/inc/component/adc.h: +../ESF/mcu/inc/component/dac.h: +../ESF/mcu/inc/component/dmac.h: +../ESF/mcu/inc/component/dsu.h: +../ESF/mcu/inc/component/eic.h: +../ESF/mcu/inc/component/evsys.h: +../ESF/mcu/inc/component/gclk.h: +../ESF/mcu/inc/component/hmatrixb.h: +../ESF/mcu/inc/component/i2s.h: +../ESF/mcu/inc/component/mtb.h: +../ESF/mcu/inc/component/nvmctrl.h: +../ESF/mcu/inc/component/pac.h: +../ESF/mcu/inc/component/pm.h: +../ESF/mcu/inc/component/port.h: +../ESF/mcu/inc/component/ptc.h: +../ESF/mcu/inc/component/rtc.h: +../ESF/mcu/inc/component/sercom.h: +../ESF/mcu/inc/component/sysctrl.h: +../ESF/mcu/inc/component/tc.h: +../ESF/mcu/inc/component/tcc.h: +../ESF/mcu/inc/component/usb.h: +../ESF/mcu/inc/component/wdt.h: +../ESF/mcu/inc/pio/samd21j18a.h: diff --git a/testdir/.igloo/ESF/mcu/src/startup_samd21j18a.o b/testdir/.igloo/ESF/mcu/src/startup_samd21j18a.o new file mode 100644 index 0000000..25d9374 Binary files /dev/null and b/testdir/.igloo/ESF/mcu/src/startup_samd21j18a.o differ diff --git a/testdir/.igloo/ESF/mcu/src/system_samd21j18a.d b/testdir/.igloo/ESF/mcu/src/system_samd21j18a.d new file mode 100644 index 0000000..cd4da30 --- /dev/null +++ b/testdir/.igloo/ESF/mcu/src/system_samd21j18a.d @@ -0,0 +1,61 @@ +ESF/mcu/src/system_samd21j18a.d ESF/mcu/src/system_samd21j18a.o: \ + ../ESF/mcu/src/system_samd21j18a.c ../ESF/mcu/inc/samd21j18a.h \ + /usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \ + /usr/arm-none-eabi/include/stdint.h \ + /usr/arm-none-eabi/include/machine/_default_types.h \ + /usr/arm-none-eabi/include/sys/features.h \ + /usr/arm-none-eabi/include/_newlib_version.h \ + /usr/arm-none-eabi/include/sys/_intsup.h \ + /usr/arm-none-eabi/include/sys/_stdint.h \ + ../ESF/common/inc/cmsis/core_cm0plus.h \ + ../ESF/common/inc/cmsis/cmsis_version.h \ + ../ESF/common/inc/cmsis/cmsis_compiler.h \ + ../ESF/common/inc/cmsis/cmsis_gcc.h ../ESF/mcu/inc/component/ac.h \ + ../ESF/mcu/inc/component/adc.h ../ESF/mcu/inc/component/dac.h \ + ../ESF/mcu/inc/component/dmac.h ../ESF/mcu/inc/component/dsu.h \ + ../ESF/mcu/inc/component/eic.h ../ESF/mcu/inc/component/evsys.h \ + ../ESF/mcu/inc/component/gclk.h ../ESF/mcu/inc/component/hmatrixb.h \ + ../ESF/mcu/inc/component/i2s.h ../ESF/mcu/inc/component/mtb.h \ + ../ESF/mcu/inc/component/nvmctrl.h ../ESF/mcu/inc/component/pac.h \ + ../ESF/mcu/inc/component/pm.h ../ESF/mcu/inc/component/port.h \ + ../ESF/mcu/inc/component/ptc.h ../ESF/mcu/inc/component/rtc.h \ + ../ESF/mcu/inc/component/sercom.h ../ESF/mcu/inc/component/sysctrl.h \ + ../ESF/mcu/inc/component/tc.h ../ESF/mcu/inc/component/tcc.h \ + ../ESF/mcu/inc/component/usb.h ../ESF/mcu/inc/component/wdt.h \ + ../ESF/mcu/inc/pio/samd21j18a.h +../ESF/mcu/inc/samd21j18a.h: +/usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h: +/usr/arm-none-eabi/include/stdint.h: +/usr/arm-none-eabi/include/machine/_default_types.h: +/usr/arm-none-eabi/include/sys/features.h: +/usr/arm-none-eabi/include/_newlib_version.h: +/usr/arm-none-eabi/include/sys/_intsup.h: +/usr/arm-none-eabi/include/sys/_stdint.h: +../ESF/common/inc/cmsis/core_cm0plus.h: +../ESF/common/inc/cmsis/cmsis_version.h: +../ESF/common/inc/cmsis/cmsis_compiler.h: +../ESF/common/inc/cmsis/cmsis_gcc.h: +../ESF/mcu/inc/component/ac.h: +../ESF/mcu/inc/component/adc.h: +../ESF/mcu/inc/component/dac.h: +../ESF/mcu/inc/component/dmac.h: +../ESF/mcu/inc/component/dsu.h: +../ESF/mcu/inc/component/eic.h: +../ESF/mcu/inc/component/evsys.h: +../ESF/mcu/inc/component/gclk.h: +../ESF/mcu/inc/component/hmatrixb.h: +../ESF/mcu/inc/component/i2s.h: +../ESF/mcu/inc/component/mtb.h: +../ESF/mcu/inc/component/nvmctrl.h: +../ESF/mcu/inc/component/pac.h: +../ESF/mcu/inc/component/pm.h: +../ESF/mcu/inc/component/port.h: +../ESF/mcu/inc/component/ptc.h: +../ESF/mcu/inc/component/rtc.h: +../ESF/mcu/inc/component/sercom.h: +../ESF/mcu/inc/component/sysctrl.h: +../ESF/mcu/inc/component/tc.h: +../ESF/mcu/inc/component/tcc.h: +../ESF/mcu/inc/component/usb.h: +../ESF/mcu/inc/component/wdt.h: +../ESF/mcu/inc/pio/samd21j18a.h: diff --git a/testdir/.igloo/ESF/mcu/src/system_samd21j18a.o b/testdir/.igloo/ESF/mcu/src/system_samd21j18a.o new file mode 100644 index 0000000..cd4efd3 Binary files /dev/null and b/testdir/.igloo/ESF/mcu/src/system_samd21j18a.o differ diff --git a/testdir/.igloo/Makefile b/testdir/.igloo/Makefile index 2c5e3fa..11921e7 100644 --- a/testdir/.igloo/Makefile +++ b/testdir/.igloo/Makefile @@ -76,14 +76,14 @@ src \ ESF/mcu/src OBJS+= \ -ESF/mcu/src/startup_samd21.o \ -ESF/mcu/src/system_samd21.o \ +ESF/mcu/src/startup_samd21j18a.o \ +ESF/mcu/src/system_samd21j18a.o \ src/main.o # List the object files OBJS_AS_ARGS+= \ -$(QUOTE)ESF/mcu/src/startup_samd21.o$(QUOTE) \ -$(QUOTE)ESF/mcu/src/system_samd21.o$(QUOTE) \ +$(QUOTE)ESF/mcu/src/startup_samd21j18a.o$(QUOTE) \ +$(QUOTE)ESF/mcu/src/system_samd21j18a.o$(QUOTE) \ $(QUOTE)src/main.o$(QUOTE) # List the directories containing header files diff --git a/testdir/.igloo/src/main.d b/testdir/.igloo/src/main.d index 8aab107..af5aa65 100644 --- a/testdir/.igloo/src/main.d +++ b/testdir/.igloo/src/main.d @@ -1,5 +1,5 @@ -src/main.d src/main.o: ../src/main.c ../inc/igloo.h \ - ../ESF/mcu/inc/samd21.h ../ESF/mcu/inc/samd21j18a.h \ +src/main.d src/main.o: ../src/main.c ../inc/igloo.h ../ESF/mcu/inc/sam.h \ + ../ESF/mcu/inc/samd21j18a.h \ /usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h \ /usr/arm-none-eabi/include/stdint.h \ /usr/arm-none-eabi/include/machine/_default_types.h \ @@ -10,38 +10,21 @@ src/main.d src/main.o: ../src/main.c ../inc/igloo.h \ ../ESF/common/inc/cmsis/core_cm0plus.h \ ../ESF/common/inc/cmsis/cmsis_version.h \ ../ESF/common/inc/cmsis/cmsis_compiler.h \ - ../ESF/common/inc/cmsis/cmsis_gcc.h ../ESF/mcu/inc/system_samd21.h \ - ../ESF/hdi/component/ac.h ../ESF/hdi/component/adc.h \ - ../ESF/hdi/component/dac.h ../ESF/hdi/component/dmac.h \ - ../ESF/hdi/component/dsu.h ../ESF/hdi/component/eic.h \ - ../ESF/hdi/component/evsys.h ../ESF/hdi/component/gclk.h \ - ../ESF/hdi/component/hmatrixb.h ../ESF/hdi/component/i2s.h \ - ../ESF/hdi/component/mtb.h ../ESF/hdi/component/nvmctrl.h \ - ../ESF/hdi/component/pac.h ../ESF/hdi/component/pm.h \ - ../ESF/hdi/component/port.h ../ESF/hdi/component/rtc.h \ - ../ESF/hdi/component/sercom.h ../ESF/hdi/component/sysctrl.h \ - ../ESF/hdi/component/tc.h ../ESF/hdi/component/tcc.h \ - ../ESF/hdi/component/usb.h ../ESF/hdi/component/wdt.h \ - ../ESF/hdi/instance/ac.h ../ESF/hdi/instance/adc.h \ - ../ESF/hdi/instance/dac.h ../ESF/hdi/instance/dmac.h \ - ../ESF/hdi/instance/dsu.h ../ESF/hdi/instance/eic.h \ - ../ESF/hdi/instance/evsys.h ../ESF/hdi/instance/gclk.h \ - ../ESF/hdi/instance/sbmatrix.h ../ESF/hdi/instance/i2s.h \ - ../ESF/hdi/instance/mtb.h ../ESF/hdi/instance/nvmctrl.h \ - ../ESF/hdi/instance/pac0.h ../ESF/hdi/instance/pac1.h \ - ../ESF/hdi/instance/pac2.h ../ESF/hdi/instance/pm.h \ - ../ESF/hdi/instance/port.h ../ESF/hdi/instance/rtc.h \ - ../ESF/hdi/instance/sercom0.h ../ESF/hdi/instance/sercom1.h \ - ../ESF/hdi/instance/sercom2.h ../ESF/hdi/instance/sercom3.h \ - ../ESF/hdi/instance/sercom4.h ../ESF/hdi/instance/sercom5.h \ - ../ESF/hdi/instance/sysctrl.h ../ESF/hdi/instance/tc3.h \ - ../ESF/hdi/instance/tc4.h ../ESF/hdi/instance/tc5.h \ - ../ESF/hdi/instance/tc6.h ../ESF/hdi/instance/tc7.h \ - ../ESF/hdi/instance/tcc0.h ../ESF/hdi/instance/tcc1.h \ - ../ESF/hdi/instance/tcc2.h ../ESF/hdi/instance/usb.h \ - ../ESF/hdi/instance/wdt.h ../ESF/hdi/pio/samd21j18a.h + ../ESF/common/inc/cmsis/cmsis_gcc.h ../ESF/mcu/inc/component/ac.h \ + ../ESF/mcu/inc/component/adc.h ../ESF/mcu/inc/component/dac.h \ + ../ESF/mcu/inc/component/dmac.h ../ESF/mcu/inc/component/dsu.h \ + ../ESF/mcu/inc/component/eic.h ../ESF/mcu/inc/component/evsys.h \ + ../ESF/mcu/inc/component/gclk.h ../ESF/mcu/inc/component/hmatrixb.h \ + ../ESF/mcu/inc/component/i2s.h ../ESF/mcu/inc/component/mtb.h \ + ../ESF/mcu/inc/component/nvmctrl.h ../ESF/mcu/inc/component/pac.h \ + ../ESF/mcu/inc/component/pm.h ../ESF/mcu/inc/component/port.h \ + ../ESF/mcu/inc/component/ptc.h ../ESF/mcu/inc/component/rtc.h \ + ../ESF/mcu/inc/component/sercom.h ../ESF/mcu/inc/component/sysctrl.h \ + ../ESF/mcu/inc/component/tc.h ../ESF/mcu/inc/component/tcc.h \ + ../ESF/mcu/inc/component/usb.h ../ESF/mcu/inc/component/wdt.h \ + ../ESF/mcu/inc/pio/samd21j18a.h ../inc/igloo.h: -../ESF/mcu/inc/samd21.h: +../ESF/mcu/inc/sam.h: ../ESF/mcu/inc/samd21j18a.h: /usr/lib/gcc/arm-none-eabi/10.2.0/include/stdint.h: /usr/arm-none-eabi/include/stdint.h: @@ -54,62 +37,27 @@ src/main.d src/main.o: ../src/main.c ../inc/igloo.h \ ../ESF/common/inc/cmsis/cmsis_version.h: ../ESF/common/inc/cmsis/cmsis_compiler.h: ../ESF/common/inc/cmsis/cmsis_gcc.h: -../ESF/mcu/inc/system_samd21.h: -../ESF/hdi/component/ac.h: -../ESF/hdi/component/adc.h: -../ESF/hdi/component/dac.h: -../ESF/hdi/component/dmac.h: -../ESF/hdi/component/dsu.h: -../ESF/hdi/component/eic.h: -../ESF/hdi/component/evsys.h: -../ESF/hdi/component/gclk.h: -../ESF/hdi/component/hmatrixb.h: -../ESF/hdi/component/i2s.h: -../ESF/hdi/component/mtb.h: -../ESF/hdi/component/nvmctrl.h: -../ESF/hdi/component/pac.h: -../ESF/hdi/component/pm.h: -../ESF/hdi/component/port.h: -../ESF/hdi/component/rtc.h: -../ESF/hdi/component/sercom.h: -../ESF/hdi/component/sysctrl.h: -../ESF/hdi/component/tc.h: -../ESF/hdi/component/tcc.h: -../ESF/hdi/component/usb.h: -../ESF/hdi/component/wdt.h: -../ESF/hdi/instance/ac.h: -../ESF/hdi/instance/adc.h: -../ESF/hdi/instance/dac.h: -../ESF/hdi/instance/dmac.h: -../ESF/hdi/instance/dsu.h: -../ESF/hdi/instance/eic.h: -../ESF/hdi/instance/evsys.h: -../ESF/hdi/instance/gclk.h: -../ESF/hdi/instance/sbmatrix.h: -../ESF/hdi/instance/i2s.h: -../ESF/hdi/instance/mtb.h: -../ESF/hdi/instance/nvmctrl.h: -../ESF/hdi/instance/pac0.h: -../ESF/hdi/instance/pac1.h: -../ESF/hdi/instance/pac2.h: -../ESF/hdi/instance/pm.h: -../ESF/hdi/instance/port.h: -../ESF/hdi/instance/rtc.h: -../ESF/hdi/instance/sercom0.h: -../ESF/hdi/instance/sercom1.h: -../ESF/hdi/instance/sercom2.h: -../ESF/hdi/instance/sercom3.h: -../ESF/hdi/instance/sercom4.h: -../ESF/hdi/instance/sercom5.h: -../ESF/hdi/instance/sysctrl.h: -../ESF/hdi/instance/tc3.h: -../ESF/hdi/instance/tc4.h: -../ESF/hdi/instance/tc5.h: -../ESF/hdi/instance/tc6.h: -../ESF/hdi/instance/tc7.h: -../ESF/hdi/instance/tcc0.h: -../ESF/hdi/instance/tcc1.h: -../ESF/hdi/instance/tcc2.h: -../ESF/hdi/instance/usb.h: -../ESF/hdi/instance/wdt.h: -../ESF/hdi/pio/samd21j18a.h: +../ESF/mcu/inc/component/ac.h: +../ESF/mcu/inc/component/adc.h: +../ESF/mcu/inc/component/dac.h: +../ESF/mcu/inc/component/dmac.h: +../ESF/mcu/inc/component/dsu.h: +../ESF/mcu/inc/component/eic.h: +../ESF/mcu/inc/component/evsys.h: +../ESF/mcu/inc/component/gclk.h: +../ESF/mcu/inc/component/hmatrixb.h: +../ESF/mcu/inc/component/i2s.h: +../ESF/mcu/inc/component/mtb.h: +../ESF/mcu/inc/component/nvmctrl.h: +../ESF/mcu/inc/component/pac.h: +../ESF/mcu/inc/component/pm.h: +../ESF/mcu/inc/component/port.h: +../ESF/mcu/inc/component/ptc.h: +../ESF/mcu/inc/component/rtc.h: +../ESF/mcu/inc/component/sercom.h: +../ESF/mcu/inc/component/sysctrl.h: +../ESF/mcu/inc/component/tc.h: +../ESF/mcu/inc/component/tcc.h: +../ESF/mcu/inc/component/usb.h: +../ESF/mcu/inc/component/wdt.h: +../ESF/mcu/inc/pio/samd21j18a.h: diff --git a/testdir/.igloo/src/main.o b/testdir/.igloo/src/main.o index e784fe2..e4e8a5a 100644 Binary files a/testdir/.igloo/src/main.o and b/testdir/.igloo/src/main.o differ diff --git a/testdir/.igloo/testdir.bin b/testdir/.igloo/testdir.bin index 17d5d6a..85c410e 100644 Binary files a/testdir/.igloo/testdir.bin and b/testdir/.igloo/testdir.bin differ diff --git a/testdir/.igloo/testdir.elf b/testdir/.igloo/testdir.elf index 0ddd97f..2a8966b 100644 Binary files a/testdir/.igloo/testdir.elf and b/testdir/.igloo/testdir.elf differ diff --git a/testdir/.igloo/testdir.hex b/testdir/.igloo/testdir.hex index a21d7b8..50ac540 100644 --- a/testdir/.igloo/testdir.hex +++ b/testdir/.igloo/testdir.hex @@ -1,45 +1,40 @@ -:100000002020002001010000FD000000FD00000094 +:1000000020200020FD000000F9000000F9000000A1 :1000100000000000000000000000000000000000E0 -:10002000000000000000000000000000FD000000D3 -:100030000000000000000000FD000000FD000000C6 -:10004000FD000000FD000000FD000000FD000000BC -:10005000FD000000FD000000FD000000FD000000AC -:10006000FD000000FD000000FD000000FD0000009C -:10007000FD000000FD000000FD000000FD0000008C -:10008000FD000000FD000000FD000000FD0000007C -:10009000FD000000FD000000FD000000FD0000006C -:1000A000FD000000FD000000FD000000FD0000005C -:1000B0000000000010B5064C2378002B07D1054B3B -:1000C000002B02D0044800E000BF0123237010BDC4 -:1000D0000000002000000000C0020000044B10B52A -:1000E000002B03D00349044800E000BF10BDC04608 -:1000F0000000000004000020C0020000FEE7000035 -:100100002549264870B581420AD0254BC41E0022DD -:10011000A34203D303331A1A92089200214B984743 -:100120002148224BC11E0022994203D803331A1AD8 -:100130009208920000211E4B9847FF221D4B03217D -:1001400093431D4A0C2593600222082430261B4B42 -:100150001B485A62C3788B431343C370C378AB43C5 -:100160002343C370174B987BB043060020203043D5 -:100170009873987BA84304439C73987B88430243FD -:100180009A738023104A51680B4353600F4B984772 -:100190000F4B9847FEE7C046C00200000000002059 -:1001A000000000207D020000000000201C00002054 -:1001B0008F0200000000000000ED00E0FC70004134 -:1001C000005000410048004100400041350200005D -:1001D000D5010000134A144B116880200B43022103 -:1001E00030B51360114C124AC005FA2513686D0032 -:1001F0008B43034313606423C046013B002BFBD1B8 -:10020000013D002DF7D1FA2513686D0023400B4303 -:1002100013606423C046013B002BFBD1013D002D40 -:10022000F7D1E2E78044004102000040FFFFFFBF3A -:100230009044004170B500260C4D0D4C641BA41079 -:10024000A64209D1002600F02BF80A4D0A4C641B87 -:10025000A410A64205D170BDB300EB5898470136F3 -:10026000EEE7B300EB5898470136F2E7AC02000026 -:10027000AC020000AC020000B0020000002310B588 -:100280009A4200D110BDCC5CC4540133F8E703009E -:100290008218934200D1704719700133F9E70000CA -:1002A000F8B5C046F8BC08BC9E467047DD000000AB -:1002B000F8B5C046F8BC08BC9E467047B5000000C3 +:10002000000000000000000000000000F9000000D7 +:100030000000000000000000F9000000F9000000CE +:10004000F9000000F9000000F9000000F9000000CC +:10005000F9000000F9000000F9000000F9000000BC +:10006000F9000000F9000000F9000000F9000000AC +:10007000F9000000F9000000F9000000F90000009C +:10008000F9000000F9000000F9000000F90000008C +:10009000F9000000F9000000F9000000F90000007C +:1000A000F9000000F9000000F9000000F90000006C +:1000B00010B5064C2378002B07D1054B002B02D03E +:1000C000044800E000BF0123237010BD00000020A1 +:1000D0000000000064020000044B10B5002B03D0A8 +:1000E0000349044800E000BF10BDC0460000000006 +:1000F0000400002064020000FEE7000013491448D9 +:1001000010B581420AD0134BC41E0022A34203D370 +:1001100003331A1A920892000F4B98470F48104B5E +:10012000C11E0022994203D803331A1A9208920082 +:1001300000210C4B9847FF220B4B93430B4A9360D3 +:100140000B4B98470B4B9847FEE7C04664020000F4 +:10015000000000200000002021020000000000201C +:100160001C000020330200000000000000ED00E051 +:10017000D901000079010000134A144B1168802056 +:100180000B43022130B51360114C124AC005FA2509 +:1001900013686D008B43034313606423C046013B27 +:1001A000002BFBD1013D002DF7D1FA2513686D001E +:1001B00023400B4313606423C046013B002BFBD15B +:1001C000013D002DF7D1E2E78044004102000040EC +:1001D000FFFFFFBF9044004170B500260C4D0D4C51 +:1001E000641BA410A64209D1002600F02BF80A4D8A +:1001F0000A4C641BA410A64205D170BDB300EB5895 +:1002000098470136EEE7B300EB5898470136F2E71E +:100210005002000050020000500200005402000092 +:10022000002310B59A4200D110BDCC5CC4540133F8 +:10023000F8E703008218934200D170471970013328 +:10024000F9E70000F8B5C046F8BC08BC9E46704708 +:10025000D9000000F8B5C046F8BC08BC9E467047FF +:04026000B1000000E9 :00000001FF diff --git a/testdir/.igloo/testdir.lss b/testdir/.igloo/testdir.lss index 627b306..0e0b867 100644 --- a/testdir/.igloo/testdir.lss +++ b/testdir/.igloo/testdir.lss @@ -3,363 +3,307 @@ testdir.elf: file format elf32-littlearm Sections: Idx Name Size VMA LMA File off Algn - 0 .text 000002c0 00000000 00000000 00010000 2**2 + 0 .text 00000264 00000000 00000000 00010000 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 .relocate 00000000 20000000 20000000 000102c0 2**0 + 1 .relocate 00000000 20000000 20000000 00010264 2**0 CONTENTS 2 .bss 0000001c 20000000 20000000 00020000 2**2 ALLOC 3 .stack 00002004 2000001c 2000001c 00020000 2**0 ALLOC - 4 .ARM.attributes 00000028 00000000 00000000 000102c0 2**0 + 4 .ARM.attributes 00000028 00000000 00000000 00010264 2**0 CONTENTS, READONLY - 5 .comment 0000001e 00000000 00000000 000102e8 2**0 + 5 .comment 0000001e 00000000 00000000 0001028c 2**0 CONTENTS, READONLY - 6 .debug_info 00003d0a 00000000 00000000 00010306 2**0 + 6 .debug_info 000007f6 00000000 00000000 000102aa 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 7 .debug_abbrev 000003d9 00000000 00000000 00014010 2**0 + 7 .debug_abbrev 000002a3 00000000 00000000 00010aa0 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 8 .debug_aranges 00000048 00000000 00000000 000143e9 2**0 + 8 .debug_aranges 00000048 00000000 00000000 00010d43 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 9 .debug_ranges 000000f0 00000000 00000000 00014431 2**0 + 9 .debug_ranges 000000f0 00000000 00000000 00010d8b 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 10 .debug_macro 00011a5c 00000000 00000000 00014521 2**0 + 10 .debug_macro 00012b53 00000000 00000000 00010e7b 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 11 .debug_line 00000b0b 00000000 00000000 00025f7d 2**0 + 11 .debug_line 000007ad 00000000 00000000 000239ce 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 12 .debug_str 0006ed4e 00000000 00000000 00026a88 2**0 + 12 .debug_str 00093ff8 00000000 00000000 0002417b 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 13 .debug_frame 000000dc 00000000 00000000 000957d8 2**2 + 13 .debug_frame 000000d8 00000000 00000000 000b8174 2**2 CONTENTS, READONLY, DEBUGGING, OCTETS - 14 .debug_loc 0000027c 00000000 00000000 000958b4 2**0 + 14 .debug_loc 0000027c 00000000 00000000 000b824c 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS Disassembly of section .text: 00000000 : - 0: 20 20 00 20 01 01 00 00 fd 00 00 00 fd 00 00 00 . ............ + 0: 20 20 00 20 fd 00 00 00 f9 00 00 00 f9 00 00 00 . ............ ... - 2c: fd 00 00 00 00 00 00 00 00 00 00 00 fd 00 00 00 ................ - 3c: fd 00 00 00 fd 00 00 00 fd 00 00 00 fd 00 00 00 ................ - 4c: fd 00 00 00 fd 00 00 00 fd 00 00 00 fd 00 00 00 ................ - 5c: fd 00 00 00 fd 00 00 00 fd 00 00 00 fd 00 00 00 ................ - 6c: fd 00 00 00 fd 00 00 00 fd 00 00 00 fd 00 00 00 ................ - 7c: fd 00 00 00 fd 00 00 00 fd 00 00 00 fd 00 00 00 ................ - 8c: fd 00 00 00 fd 00 00 00 fd 00 00 00 fd 00 00 00 ................ - 9c: fd 00 00 00 fd 00 00 00 fd 00 00 00 fd 00 00 00 ................ - ac: fd 00 00 00 00 00 00 00 ........ + 2c: f9 00 00 00 00 00 00 00 00 00 00 00 f9 00 00 00 ................ + 3c: f9 00 00 00 f9 00 00 00 f9 00 00 00 f9 00 00 00 ................ + 4c: f9 00 00 00 f9 00 00 00 f9 00 00 00 f9 00 00 00 ................ + 5c: f9 00 00 00 f9 00 00 00 f9 00 00 00 f9 00 00 00 ................ + 6c: f9 00 00 00 f9 00 00 00 f9 00 00 00 f9 00 00 00 ................ + 7c: f9 00 00 00 f9 00 00 00 f9 00 00 00 f9 00 00 00 ................ + 8c: f9 00 00 00 f9 00 00 00 f9 00 00 00 f9 00 00 00 ................ + 9c: f9 00 00 00 f9 00 00 00 f9 00 00 00 f9 00 00 00 ................ + ac: f9 00 00 00 .... -000000b4 <__do_global_dtors_aux>: - b4: b510 push {r4, lr} - b6: 4c06 ldr r4, [pc, #24] ; (d0 <__do_global_dtors_aux+0x1c>) - b8: 7823 ldrb r3, [r4, #0] - ba: 2b00 cmp r3, #0 - bc: d107 bne.n ce <__do_global_dtors_aux+0x1a> - be: 4b05 ldr r3, [pc, #20] ; (d4 <__do_global_dtors_aux+0x20>) - c0: 2b00 cmp r3, #0 - c2: d002 beq.n ca <__do_global_dtors_aux+0x16> - c4: 4804 ldr r0, [pc, #16] ; (d8 <__do_global_dtors_aux+0x24>) - c6: e000 b.n ca <__do_global_dtors_aux+0x16> - c8: bf00 nop - ca: 2301 movs r3, #1 - cc: 7023 strb r3, [r4, #0] - ce: bd10 pop {r4, pc} - d0: 20000000 .word 0x20000000 - d4: 00000000 .word 0x00000000 - d8: 000002c0 .word 0x000002c0 +000000b0 <__do_global_dtors_aux>: + b0: b510 push {r4, lr} + b2: 4c06 ldr r4, [pc, #24] ; (cc <__do_global_dtors_aux+0x1c>) + b4: 7823 ldrb r3, [r4, #0] + b6: 2b00 cmp r3, #0 + b8: d107 bne.n ca <__do_global_dtors_aux+0x1a> + ba: 4b05 ldr r3, [pc, #20] ; (d0 <__do_global_dtors_aux+0x20>) + bc: 2b00 cmp r3, #0 + be: d002 beq.n c6 <__do_global_dtors_aux+0x16> + c0: 4804 ldr r0, [pc, #16] ; (d4 <__do_global_dtors_aux+0x24>) + c2: e000 b.n c6 <__do_global_dtors_aux+0x16> + c4: bf00 nop + c6: 2301 movs r3, #1 + c8: 7023 strb r3, [r4, #0] + ca: bd10 pop {r4, pc} + cc: 20000000 .word 0x20000000 + d0: 00000000 .word 0x00000000 + d4: 00000264 .word 0x00000264 -000000dc : - dc: 4b04 ldr r3, [pc, #16] ; (f0 ) - de: b510 push {r4, lr} - e0: 2b00 cmp r3, #0 - e2: d003 beq.n ec - e4: 4903 ldr r1, [pc, #12] ; (f4 ) - e6: 4804 ldr r0, [pc, #16] ; (f8 ) - e8: e000 b.n ec - ea: bf00 nop - ec: bd10 pop {r4, pc} - ee: 46c0 nop ; (mov r8, r8) - f0: 00000000 .word 0x00000000 - f4: 20000004 .word 0x20000004 - f8: 000002c0 .word 0x000002c0 +000000d8 : + d8: 4b04 ldr r3, [pc, #16] ; (ec ) + da: b510 push {r4, lr} + dc: 2b00 cmp r3, #0 + de: d003 beq.n e8 + e0: 4903 ldr r1, [pc, #12] ; (f0 ) + e2: 4804 ldr r0, [pc, #16] ; (f4 ) + e4: e000 b.n e8 + e6: bf00 nop + e8: bd10 pop {r4, pc} + ea: 46c0 nop ; (mov r8, r8) + ec: 00000000 .word 0x00000000 + f0: 20000004 .word 0x20000004 + f4: 00000264 .word 0x00000264 -000000fc : +000000f8 : /** * \brief Default interrupt handler for unused IRQs. */ void Dummy_Handler(void) { while (1) { - fc: e7fe b.n fc + f8: e7fe b.n f8 ... -00000100 : +000000fc : if (pSrc != pDest) { - 100: 4925 ldr r1, [pc, #148] ; (198 ) - 102: 4826 ldr r0, [pc, #152] ; (19c ) + fc: 4913 ldr r1, [pc, #76] ; (14c ) + fe: 4814 ldr r0, [pc, #80] ; (150 ) { - 104: b570 push {r4, r5, r6, lr} + 100: b510 push {r4, lr} if (pSrc != pDest) { - 106: 4281 cmp r1, r0 - 108: d00a beq.n 120 + 102: 4281 cmp r1, r0 + 104: d00a beq.n 11c *pDest++ = *pSrc++; - 10a: 4b25 ldr r3, [pc, #148] ; (1a0 ) - 10c: 1ec4 subs r4, r0, #3 - 10e: 2200 movs r2, #0 - 110: 42a3 cmp r3, r4 - 112: d303 bcc.n 11c - 114: 3303 adds r3, #3 - 116: 1a1a subs r2, r3, r0 - 118: 0892 lsrs r2, r2, #2 - 11a: 0092 lsls r2, r2, #2 - 11c: 4b21 ldr r3, [pc, #132] ; (1a4 ) - 11e: 4798 blx r3 + 106: 4b13 ldr r3, [pc, #76] ; (154 ) + 108: 1ec4 subs r4, r0, #3 + 10a: 2200 movs r2, #0 + 10c: 42a3 cmp r3, r4 + 10e: d303 bcc.n 118 + 110: 3303 adds r3, #3 + 112: 1a1a subs r2, r3, r0 + 114: 0892 lsrs r2, r2, #2 + 116: 0092 lsls r2, r2, #2 + 118: 4b0f ldr r3, [pc, #60] ; (158 ) + 11a: 4798 blx r3 *pDest++ = 0; - 120: 4821 ldr r0, [pc, #132] ; (1a8 ) - 122: 4b22 ldr r3, [pc, #136] ; (1ac ) - 124: 1ec1 subs r1, r0, #3 - 126: 2200 movs r2, #0 - 128: 4299 cmp r1, r3 - 12a: d803 bhi.n 134 - 12c: 3303 adds r3, #3 - 12e: 1a1a subs r2, r3, r0 - 130: 0892 lsrs r2, r2, #2 - 132: 0092 lsls r2, r2, #2 - 134: 2100 movs r1, #0 - 136: 4b1e ldr r3, [pc, #120] ; (1b0 ) - 138: 4798 blx r3 + 11c: 480f ldr r0, [pc, #60] ; (15c ) + 11e: 4b10 ldr r3, [pc, #64] ; (160 ) + 120: 1ec1 subs r1, r0, #3 + 122: 2200 movs r2, #0 + 124: 4299 cmp r1, r3 + 126: d803 bhi.n 130 + 128: 3303 adds r3, #3 + 12a: 1a1a subs r2, r3, r0 + 12c: 0892 lsrs r2, r2, #2 + 12e: 0092 lsls r2, r2, #2 + 130: 2100 movs r1, #0 + 132: 4b0c ldr r3, [pc, #48] ; (164 ) + 134: 4798 blx r3 SCB->VTOR = ((uint32_t) pSrc & SCB_VTOR_TBLOFF_Msk); - 13a: 22ff movs r2, #255 ; 0xff - 13c: 4b1d ldr r3, [pc, #116] ; (1b4 ) - USB->DEVICE.QOSCTRL.bit.CQOS = 2; - 13e: 2103 movs r1, #3 - SCB->VTOR = ((uint32_t) pSrc & SCB_VTOR_TBLOFF_Msk); - 140: 4393 bics r3, r2 - 142: 4a1d ldr r2, [pc, #116] ; (1b8 ) - USB->DEVICE.QOSCTRL.bit.DQOS = 2; - 144: 250c movs r5, #12 - SCB->VTOR = ((uint32_t) pSrc & SCB_VTOR_TBLOFF_Msk); - 146: 6093 str r3, [r2, #8] - SBMATRIX->SFR[SBMATRIX_SLAVE_HMCRAMC0].reg = 2; - 148: 2202 movs r2, #2 - USB->DEVICE.QOSCTRL.bit.DQOS = 2; - 14a: 2408 movs r4, #8 - DMAC->QOSCTRL.bit.DQOS = 2; - 14c: 2630 movs r6, #48 ; 0x30 - SBMATRIX->SFR[SBMATRIX_SLAVE_HMCRAMC0].reg = 2; - 14e: 4b1b ldr r3, [pc, #108] ; (1bc ) - USB->DEVICE.QOSCTRL.bit.CQOS = 2; - 150: 481b ldr r0, [pc, #108] ; (1c0 ) - SBMATRIX->SFR[SBMATRIX_SLAVE_HMCRAMC0].reg = 2; - 152: 625a str r2, [r3, #36] ; 0x24 - USB->DEVICE.QOSCTRL.bit.CQOS = 2; - 154: 78c3 ldrb r3, [r0, #3] - 156: 438b bics r3, r1 - 158: 4313 orrs r3, r2 - 15a: 70c3 strb r3, [r0, #3] - USB->DEVICE.QOSCTRL.bit.DQOS = 2; - 15c: 78c3 ldrb r3, [r0, #3] - 15e: 43ab bics r3, r5 - 160: 4323 orrs r3, r4 - 162: 70c3 strb r3, [r0, #3] - DMAC->QOSCTRL.bit.DQOS = 2; - 164: 4b17 ldr r3, [pc, #92] ; (1c4 ) - 166: 7b98 ldrb r0, [r3, #14] - 168: 43b0 bics r0, r6 - 16a: 0006 movs r6, r0 - 16c: 2020 movs r0, #32 - 16e: 4330 orrs r0, r6 - 170: 7398 strb r0, [r3, #14] - DMAC->QOSCTRL.bit.FQOS = 2; - 172: 7b98 ldrb r0, [r3, #14] - 174: 43a8 bics r0, r5 - 176: 4304 orrs r4, r0 - 178: 739c strb r4, [r3, #14] - DMAC->QOSCTRL.bit.WRBQOS = 2; - 17a: 7b98 ldrb r0, [r3, #14] - 17c: 4388 bics r0, r1 - 17e: 4302 orrs r2, r0 - 180: 739a strb r2, [r3, #14] - NVMCTRL->CTRLB.bit.MANW = 1; - 182: 2380 movs r3, #128 ; 0x80 - 184: 4a10 ldr r2, [pc, #64] ; (1c8 ) - 186: 6851 ldr r1, [r2, #4] - 188: 430b orrs r3, r1 - 18a: 6053 str r3, [r2, #4] + 136: 22ff movs r2, #255 ; 0xff + 138: 4b0b ldr r3, [pc, #44] ; (168 ) + 13a: 4393 bics r3, r2 + 13c: 4a0b ldr r2, [pc, #44] ; (16c ) + 13e: 6093 str r3, [r2, #8] __libc_init_array(); - 18c: 4b0f ldr r3, [pc, #60] ; (1cc ) - 18e: 4798 blx r3 + 140: 4b0b ldr r3, [pc, #44] ; (170 ) + 142: 4798 blx r3 main(); - 190: 4b0f ldr r3, [pc, #60] ; (1d0 ) - 192: 4798 blx r3 + 144: 4b0b ldr r3, [pc, #44] ; (174 ) + 146: 4798 blx r3 while (1); - 194: e7fe b.n 194 - 196: 46c0 nop ; (mov r8, r8) - 198: 000002c0 .word 0x000002c0 - 19c: 20000000 .word 0x20000000 - 1a0: 20000000 .word 0x20000000 - 1a4: 0000027d .word 0x0000027d - 1a8: 20000000 .word 0x20000000 - 1ac: 2000001c .word 0x2000001c - 1b0: 0000028f .word 0x0000028f - 1b4: 00000000 .word 0x00000000 - 1b8: e000ed00 .word 0xe000ed00 - 1bc: 410070fc .word 0x410070fc - 1c0: 41005000 .word 0x41005000 - 1c4: 41004800 .word 0x41004800 - 1c8: 41004000 .word 0x41004000 - 1cc: 00000235 .word 0x00000235 - 1d0: 000001d5 .word 0x000001d5 + 148: e7fe b.n 148 + 14a: 46c0 nop ; (mov r8, r8) + 14c: 00000264 .word 0x00000264 + 150: 20000000 .word 0x20000000 + 154: 20000000 .word 0x20000000 + 158: 00000221 .word 0x00000221 + 15c: 20000000 .word 0x20000000 + 160: 2000001c .word 0x2000001c + 164: 00000233 .word 0x00000233 + 168: 00000000 .word 0x00000000 + 16c: e000ed00 .word 0xe000ed00 + 170: 000001d9 .word 0x000001d9 + 174: 00000179 .word 0x00000179 -000001d4
: +00000178
: void init_pin(int port, int pin) { uint32_t* dir_reg = (uint32_t*)((PORT_ADDR | (port * PORT_GROUP_SIZE) | PORT_DIR_OFF)); *dir_reg |= (1 << pin); - 1d4: 4a13 ldr r2, [pc, #76] ; (224 ) - 1d6: 4b14 ldr r3, [pc, #80] ; (228 ) - 1d8: 6811 ldr r1, [r2, #0] + 178: 4a13 ldr r2, [pc, #76] ; (1c8 ) + 17a: 4b14 ldr r3, [pc, #80] ; (1cc ) + 17c: 6811 ldr r1, [r2, #0] } void clr_pin(int port, int pin) { uint32_t* out_reg = (uint32_t*)((PORT_ADDR | (port * PORT_GROUP_SIZE) | PORT_OUT_OFF)); *out_reg &= ~(1 << pin); - 1da: 2080 movs r0, #128 ; 0x80 + 17e: 2080 movs r0, #128 ; 0x80 *dir_reg |= (1 << pin); - 1dc: 430b orrs r3, r1 + 180: 430b orrs r3, r1 *out_reg &= ~(1 << pin); - 1de: 2102 movs r1, #2 + 182: 2102 movs r1, #2 { - 1e0: b530 push {r4, r5, lr} + 184: b530 push {r4, r5, lr} *dir_reg |= (1 << pin); - 1e2: 6013 str r3, [r2, #0] + 186: 6013 str r3, [r2, #0] *out_reg &= ~(1 << pin); - 1e4: 4c11 ldr r4, [pc, #68] ; (22c ) - 1e6: 4a12 ldr r2, [pc, #72] ; (230 ) - 1e8: 05c0 lsls r0, r0, #23 - 1ea: 25fa movs r5, #250 ; 0xfa - 1ec: 6813 ldr r3, [r2, #0] - 1ee: 006d lsls r5, r5, #1 - 1f0: 438b bics r3, r1 - 1f2: 4303 orrs r3, r0 - 1f4: 6013 str r3, [r2, #0] + 188: 4c11 ldr r4, [pc, #68] ; (1d0 ) + 18a: 4a12 ldr r2, [pc, #72] ; (1d4 ) + 18c: 05c0 lsls r0, r0, #23 + 18e: 25fa movs r5, #250 ; 0xfa + 190: 6813 ldr r3, [r2, #0] + 192: 006d lsls r5, r5, #1 + 194: 438b bics r3, r1 + 196: 4303 orrs r3, r0 + 198: 6013 str r3, [r2, #0] { - 1f6: 2364 movs r3, #100 ; 0x64 + 19a: 2364 movs r3, #100 ; 0x64 asm volatile("nop"); - 1f8: 46c0 nop ; (mov r8, r8) + 19c: 46c0 nop ; (mov r8, r8) for(i=0;i<100;i++) - 1fa: 3b01 subs r3, #1 - 1fc: 2b00 cmp r3, #0 - 1fe: d1fb bne.n 1f8 + 19e: 3b01 subs r3, #1 + 1a0: 2b00 cmp r3, #0 + 1a2: d1fb bne.n 19c for(;n>0;n--) - 200: 3d01 subs r5, #1 - 202: 2d00 cmp r5, #0 - 204: d1f7 bne.n 1f6 + 1a4: 3d01 subs r5, #1 + 1a6: 2d00 cmp r5, #0 + 1a8: d1f7 bne.n 19a *out_reg |= (1 << pin); - 206: 25fa movs r5, #250 ; 0xfa + 1aa: 25fa movs r5, #250 ; 0xfa *out_reg &= ~(1 << pin); - 208: 6813 ldr r3, [r2, #0] + 1ac: 6813 ldr r3, [r2, #0] *out_reg |= (1 << pin); - 20a: 006d lsls r5, r5, #1 + 1ae: 006d lsls r5, r5, #1 *out_reg &= ~(1 << pin); - 20c: 4023 ands r3, r4 + 1b0: 4023 ands r3, r4 *out_reg |= (1 << pin); - 20e: 430b orrs r3, r1 - 210: 6013 str r3, [r2, #0] + 1b2: 430b orrs r3, r1 + 1b4: 6013 str r3, [r2, #0] *out_reg &= ~(1 << pin); - 212: 2364 movs r3, #100 ; 0x64 + 1b6: 2364 movs r3, #100 ; 0x64 asm volatile("nop"); - 214: 46c0 nop ; (mov r8, r8) + 1b8: 46c0 nop ; (mov r8, r8) for(i=0;i<100;i++) - 216: 3b01 subs r3, #1 - 218: 2b00 cmp r3, #0 - 21a: d1fb bne.n 214 + 1ba: 3b01 subs r3, #1 + 1bc: 2b00 cmp r3, #0 + 1be: d1fb bne.n 1b8 for(;n>0;n--) - 21c: 3d01 subs r5, #1 - 21e: 2d00 cmp r5, #0 - 220: d1f7 bne.n 212 - 222: e7e2 b.n 1ea - 224: 41004480 .word 0x41004480 - 228: 40000002 .word 0x40000002 - 22c: bfffffff .word 0xbfffffff - 230: 41004490 .word 0x41004490 + 1c0: 3d01 subs r5, #1 + 1c2: 2d00 cmp r5, #0 + 1c4: d1f7 bne.n 1b6 + 1c6: e7e2 b.n 18e + 1c8: 41004480 .word 0x41004480 + 1cc: 40000002 .word 0x40000002 + 1d0: bfffffff .word 0xbfffffff + 1d4: 41004490 .word 0x41004490 -00000234 <__libc_init_array>: - 234: b570 push {r4, r5, r6, lr} - 236: 2600 movs r6, #0 - 238: 4d0c ldr r5, [pc, #48] ; (26c <__libc_init_array+0x38>) - 23a: 4c0d ldr r4, [pc, #52] ; (270 <__libc_init_array+0x3c>) - 23c: 1b64 subs r4, r4, r5 - 23e: 10a4 asrs r4, r4, #2 - 240: 42a6 cmp r6, r4 - 242: d109 bne.n 258 <__libc_init_array+0x24> - 244: 2600 movs r6, #0 - 246: f000 f82b bl 2a0 <_init> - 24a: 4d0a ldr r5, [pc, #40] ; (274 <__libc_init_array+0x40>) - 24c: 4c0a ldr r4, [pc, #40] ; (278 <__libc_init_array+0x44>) - 24e: 1b64 subs r4, r4, r5 - 250: 10a4 asrs r4, r4, #2 - 252: 42a6 cmp r6, r4 - 254: d105 bne.n 262 <__libc_init_array+0x2e> - 256: bd70 pop {r4, r5, r6, pc} - 258: 00b3 lsls r3, r6, #2 - 25a: 58eb ldr r3, [r5, r3] - 25c: 4798 blx r3 - 25e: 3601 adds r6, #1 - 260: e7ee b.n 240 <__libc_init_array+0xc> - 262: 00b3 lsls r3, r6, #2 - 264: 58eb ldr r3, [r5, r3] - 266: 4798 blx r3 - 268: 3601 adds r6, #1 - 26a: e7f2 b.n 252 <__libc_init_array+0x1e> - 26c: 000002ac .word 0x000002ac - 270: 000002ac .word 0x000002ac - 274: 000002ac .word 0x000002ac - 278: 000002b0 .word 0x000002b0 +000001d8 <__libc_init_array>: + 1d8: b570 push {r4, r5, r6, lr} + 1da: 2600 movs r6, #0 + 1dc: 4d0c ldr r5, [pc, #48] ; (210 <__libc_init_array+0x38>) + 1de: 4c0d ldr r4, [pc, #52] ; (214 <__libc_init_array+0x3c>) + 1e0: 1b64 subs r4, r4, r5 + 1e2: 10a4 asrs r4, r4, #2 + 1e4: 42a6 cmp r6, r4 + 1e6: d109 bne.n 1fc <__libc_init_array+0x24> + 1e8: 2600 movs r6, #0 + 1ea: f000 f82b bl 244 <_init> + 1ee: 4d0a ldr r5, [pc, #40] ; (218 <__libc_init_array+0x40>) + 1f0: 4c0a ldr r4, [pc, #40] ; (21c <__libc_init_array+0x44>) + 1f2: 1b64 subs r4, r4, r5 + 1f4: 10a4 asrs r4, r4, #2 + 1f6: 42a6 cmp r6, r4 + 1f8: d105 bne.n 206 <__libc_init_array+0x2e> + 1fa: bd70 pop {r4, r5, r6, pc} + 1fc: 00b3 lsls r3, r6, #2 + 1fe: 58eb ldr r3, [r5, r3] + 200: 4798 blx r3 + 202: 3601 adds r6, #1 + 204: e7ee b.n 1e4 <__libc_init_array+0xc> + 206: 00b3 lsls r3, r6, #2 + 208: 58eb ldr r3, [r5, r3] + 20a: 4798 blx r3 + 20c: 3601 adds r6, #1 + 20e: e7f2 b.n 1f6 <__libc_init_array+0x1e> + 210: 00000250 .word 0x00000250 + 214: 00000250 .word 0x00000250 + 218: 00000250 .word 0x00000250 + 21c: 00000254 .word 0x00000254 -0000027c : - 27c: 2300 movs r3, #0 - 27e: b510 push {r4, lr} - 280: 429a cmp r2, r3 - 282: d100 bne.n 286 - 284: bd10 pop {r4, pc} - 286: 5ccc ldrb r4, [r1, r3] - 288: 54c4 strb r4, [r0, r3] - 28a: 3301 adds r3, #1 - 28c: e7f8 b.n 280 +00000220 : + 220: 2300 movs r3, #0 + 222: b510 push {r4, lr} + 224: 429a cmp r2, r3 + 226: d100 bne.n 22a + 228: bd10 pop {r4, pc} + 22a: 5ccc ldrb r4, [r1, r3] + 22c: 54c4 strb r4, [r0, r3] + 22e: 3301 adds r3, #1 + 230: e7f8 b.n 224 -0000028e : - 28e: 0003 movs r3, r0 - 290: 1882 adds r2, r0, r2 - 292: 4293 cmp r3, r2 - 294: d100 bne.n 298 - 296: 4770 bx lr - 298: 7019 strb r1, [r3, #0] - 29a: 3301 adds r3, #1 - 29c: e7f9 b.n 292 +00000232 : + 232: 0003 movs r3, r0 + 234: 1882 adds r2, r0, r2 + 236: 4293 cmp r3, r2 + 238: d100 bne.n 23c + 23a: 4770 bx lr + 23c: 7019 strb r1, [r3, #0] + 23e: 3301 adds r3, #1 + 240: e7f9 b.n 236 ... -000002a0 <_init>: - 2a0: b5f8 push {r3, r4, r5, r6, r7, lr} - 2a2: 46c0 nop ; (mov r8, r8) - 2a4: bcf8 pop {r3, r4, r5, r6, r7} - 2a6: bc08 pop {r3} - 2a8: 469e mov lr, r3 - 2aa: 4770 bx lr +00000244 <_init>: + 244: b5f8 push {r3, r4, r5, r6, r7, lr} + 246: 46c0 nop ; (mov r8, r8) + 248: bcf8 pop {r3, r4, r5, r6, r7} + 24a: bc08 pop {r3} + 24c: 469e mov lr, r3 + 24e: 4770 bx lr -000002ac <__frame_dummy_init_array_entry>: - 2ac: 00dd 0000 .... +00000250 <__frame_dummy_init_array_entry>: + 250: 00d9 0000 .... -000002b0 <_fini>: - 2b0: b5f8 push {r3, r4, r5, r6, r7, lr} - 2b2: 46c0 nop ; (mov r8, r8) - 2b4: bcf8 pop {r3, r4, r5, r6, r7} - 2b6: bc08 pop {r3} - 2b8: 469e mov lr, r3 - 2ba: 4770 bx lr +00000254 <_fini>: + 254: b5f8 push {r3, r4, r5, r6, r7, lr} + 256: 46c0 nop ; (mov r8, r8) + 258: bcf8 pop {r3, r4, r5, r6, r7} + 25a: bc08 pop {r3} + 25c: 469e mov lr, r3 + 25e: 4770 bx lr -000002bc <__do_global_dtors_aux_fini_array_entry>: - 2bc: 00b5 0000 .... +00000260 <__do_global_dtors_aux_fini_array_entry>: + 260: 00b1 0000 .... diff --git a/testdir/.igloo/testdir.map b/testdir/.igloo/testdir.map index d511ef6..c5b5921 100644 --- a/testdir/.igloo/testdir.map +++ b/testdir/.igloo/testdir.map @@ -11,7 +11,7 @@ Archive member included to satisfy reference by file (symbol) /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o (__libc_init_array) /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memcpy-stub.o) - ESF/mcu/src/startup_samd21.o (memcpy) + ESF/mcu/src/startup_samd21j18a.o (memcpy) /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o (memset) /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__atexit.o) @@ -59,278 +59,142 @@ Discarded input sections .ARM.exidx 0x0000000000000000 0x10 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o .ARM.attributes 0x0000000000000000 0x1b /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21.o - .text 0x0000000000000000 0x0 ESF/mcu/src/startup_samd21.o - .data 0x0000000000000000 0x0 ESF/mcu/src/startup_samd21.o - .bss 0x0000000000000000 0x0 ESF/mcu/src/startup_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21.o - .text 0x0000000000000000 0x0 ESF/mcu/src/system_samd21.o - .data 0x0000000000000000 0x4 ESF/mcu/src/system_samd21.o - .bss 0x0000000000000000 0x0 ESF/mcu/src/system_samd21.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/startup_samd21j18a.o + .text 0x0000000000000000 0x0 ESF/mcu/src/startup_samd21j18a.o + .data 0x0000000000000000 0x0 ESF/mcu/src/startup_samd21j18a.o + .bss 0x0000000000000000 0x0 ESF/mcu/src/startup_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .group 0x0000000000000000 0xc ESF/mcu/src/system_samd21j18a.o + .text 0x0000000000000000 0x0 ESF/mcu/src/system_samd21j18a.o + .data 0x0000000000000000 0x4 ESF/mcu/src/system_samd21j18a.o + .bss 0x0000000000000000 0x0 ESF/mcu/src/system_samd21j18a.o .text.SystemInit - 0x0000000000000000 0x10 ESF/mcu/src/system_samd21.o + 0x0000000000000000 0x10 ESF/mcu/src/system_samd21j18a.o .text.SystemCoreClockUpdate - 0x0000000000000000 0x10 ESF/mcu/src/system_samd21.o - .debug_info 0x0000000000000000 0xc2 ESF/mcu/src/system_samd21.o - .debug_abbrev 0x0000000000000000 0x92 ESF/mcu/src/system_samd21.o + 0x0000000000000000 0x10 ESF/mcu/src/system_samd21j18a.o + .debug_info 0x0000000000000000 0xba ESF/mcu/src/system_samd21j18a.o + .debug_abbrev 0x0000000000000000 0x83 ESF/mcu/src/system_samd21j18a.o .debug_aranges - 0x0000000000000000 0x20 ESF/mcu/src/system_samd21.o - .debug_ranges 0x0000000000000000 0x10 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x30c ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xa4e ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x22 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x8e ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x51 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x103 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x6a ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x1df ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x3a ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x1c ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x22 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xaf ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x3ad ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x681 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x8b5 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x230 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xd60 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x4cb ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x9f8 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x82b ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x455 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x5e ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x8fd ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x21c ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x95b ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x5e ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x667 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x3af ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xc7a ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x1092 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xc4a ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x6ba ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x1bbf ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x1440 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x344 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x7c ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xa0 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x4c ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xca ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x94 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x58 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x37d ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x82 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x18d ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xb8 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xa0 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xb8 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x1c ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x1c ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x1c ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x82 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x15a ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xdc ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x128 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x128 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x128 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x128 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x128 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x128 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x124 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xe2 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xe2 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xe2 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xe2 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xe2 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x130 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x106 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0xfa ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x40f ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x40 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x37d ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x1e52 ESF/mcu/src/system_samd21.o - .debug_macro 0x0000000000000000 0x6d ESF/mcu/src/system_samd21.o - .debug_line 0x0000000000000000 0x47c ESF/mcu/src/system_samd21.o - .debug_str 0x0000000000000000 0x6e2c4 ESF/mcu/src/system_samd21.o - .comment 0x0000000000000000 0x1f ESF/mcu/src/system_samd21.o - .debug_frame 0x0000000000000000 0x30 ESF/mcu/src/system_samd21.o + 0x0000000000000000 0x20 ESF/mcu/src/system_samd21j18a.o + .debug_ranges 0x0000000000000000 0x10 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x1a3 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0xa4e ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x1c ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x22 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x8e ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x51 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x103 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x6a ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x1df ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x7f ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x1c ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x22 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0xaf ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x3ad ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x72b ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x946 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x289 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0xfb7 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x52d ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0xc48 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x957 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x47c ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x58 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0xa6e ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x23e ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x3fe ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x52 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x80e ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x3d8 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0xe53 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x2675 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x10e2 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x793 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x20f6 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x193f ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x348 ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x30d ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x232d ESF/mcu/src/system_samd21j18a.o + .debug_macro 0x0000000000000000 0x3d8 ESF/mcu/src/system_samd21j18a.o + .debug_line 0x0000000000000000 0x2f5 ESF/mcu/src/system_samd21j18a.o + .debug_str 0x0000000000000000 0x93fce ESF/mcu/src/system_samd21j18a.o + .comment 0x0000000000000000 0x1f ESF/mcu/src/system_samd21j18a.o + .debug_frame 0x0000000000000000 0x30 ESF/mcu/src/system_samd21j18a.o .ARM.attributes - 0x0000000000000000 0x2c ESF/mcu/src/system_samd21.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o - .group 0x0000000000000000 0xc src/main.o + 0x0000000000000000 0x2c ESF/mcu/src/system_samd21j18a.o .group 0x0000000000000000 0xc src/main.o .group 0x0000000000000000 0xc src/main.o .group 0x0000000000000000 0xc src/main.o @@ -373,77 +237,43 @@ Discarded input sections .data 0x0000000000000000 0x0 src/main.o .bss 0x0000000000000000 0x0 src/main.o .debug_macro 0x0000000000000000 0xa4e src/main.o + .debug_macro 0x0000000000000000 0x1c src/main.o .debug_macro 0x0000000000000000 0x22 src/main.o .debug_macro 0x0000000000000000 0x8e src/main.o .debug_macro 0x0000000000000000 0x51 src/main.o .debug_macro 0x0000000000000000 0x103 src/main.o .debug_macro 0x0000000000000000 0x6a src/main.o .debug_macro 0x0000000000000000 0x1df src/main.o - .debug_macro 0x0000000000000000 0x3a src/main.o + .debug_macro 0x0000000000000000 0x7f src/main.o .debug_macro 0x0000000000000000 0x1c src/main.o .debug_macro 0x0000000000000000 0x22 src/main.o .debug_macro 0x0000000000000000 0xaf src/main.o .debug_macro 0x0000000000000000 0x3ad src/main.o - .debug_macro 0x0000000000000000 0x681 src/main.o - .debug_macro 0x0000000000000000 0x8b5 src/main.o - .debug_macro 0x0000000000000000 0x230 src/main.o - .debug_macro 0x0000000000000000 0xd60 src/main.o - .debug_macro 0x0000000000000000 0x4cb src/main.o - .debug_macro 0x0000000000000000 0x9f8 src/main.o - .debug_macro 0x0000000000000000 0x82b src/main.o - .debug_macro 0x0000000000000000 0x455 src/main.o - .debug_macro 0x0000000000000000 0x5e src/main.o - .debug_macro 0x0000000000000000 0x8fd src/main.o - .debug_macro 0x0000000000000000 0x21c src/main.o - .debug_macro 0x0000000000000000 0x95b src/main.o - .debug_macro 0x0000000000000000 0x5e src/main.o - .debug_macro 0x0000000000000000 0x667 src/main.o - .debug_macro 0x0000000000000000 0x3af src/main.o - .debug_macro 0x0000000000000000 0xc7a src/main.o - .debug_macro 0x0000000000000000 0x1092 src/main.o - .debug_macro 0x0000000000000000 0xc4a src/main.o - .debug_macro 0x0000000000000000 0x6ba src/main.o - .debug_macro 0x0000000000000000 0x1bbf src/main.o - .debug_macro 0x0000000000000000 0x1440 src/main.o - .debug_macro 0x0000000000000000 0x344 src/main.o - .debug_macro 0x0000000000000000 0x7c src/main.o - .debug_macro 0x0000000000000000 0xa0 src/main.o - .debug_macro 0x0000000000000000 0x4c src/main.o - .debug_macro 0x0000000000000000 0xca src/main.o - .debug_macro 0x0000000000000000 0x94 src/main.o + .debug_macro 0x0000000000000000 0x72b src/main.o + .debug_macro 0x0000000000000000 0x946 src/main.o + .debug_macro 0x0000000000000000 0x289 src/main.o + .debug_macro 0x0000000000000000 0xfb7 src/main.o + .debug_macro 0x0000000000000000 0x52d src/main.o + .debug_macro 0x0000000000000000 0xc48 src/main.o + .debug_macro 0x0000000000000000 0x957 src/main.o + .debug_macro 0x0000000000000000 0x47c src/main.o .debug_macro 0x0000000000000000 0x58 src/main.o - .debug_macro 0x0000000000000000 0x37d src/main.o - .debug_macro 0x0000000000000000 0x82 src/main.o - .debug_macro 0x0000000000000000 0x18d src/main.o - .debug_macro 0x0000000000000000 0xb8 src/main.o - .debug_macro 0x0000000000000000 0xa0 src/main.o - .debug_macro 0x0000000000000000 0xb8 src/main.o - .debug_macro 0x0000000000000000 0x1c src/main.o - .debug_macro 0x0000000000000000 0x1c src/main.o - .debug_macro 0x0000000000000000 0x1c src/main.o - .debug_macro 0x0000000000000000 0x82 src/main.o - .debug_macro 0x0000000000000000 0x15a src/main.o - .debug_macro 0x0000000000000000 0xdc src/main.o - .debug_macro 0x0000000000000000 0x128 src/main.o - .debug_macro 0x0000000000000000 0x128 src/main.o - .debug_macro 0x0000000000000000 0x128 src/main.o - .debug_macro 0x0000000000000000 0x128 src/main.o - .debug_macro 0x0000000000000000 0x128 src/main.o - .debug_macro 0x0000000000000000 0x128 src/main.o - .debug_macro 0x0000000000000000 0x124 src/main.o - .debug_macro 0x0000000000000000 0xe2 src/main.o - .debug_macro 0x0000000000000000 0xe2 src/main.o - .debug_macro 0x0000000000000000 0xe2 src/main.o - .debug_macro 0x0000000000000000 0xe2 src/main.o - .debug_macro 0x0000000000000000 0xe2 src/main.o - .debug_macro 0x0000000000000000 0x130 src/main.o - .debug_macro 0x0000000000000000 0x106 src/main.o - .debug_macro 0x0000000000000000 0xfa src/main.o - .debug_macro 0x0000000000000000 0x40f src/main.o - .debug_macro 0x0000000000000000 0x40 src/main.o - .debug_macro 0x0000000000000000 0x37d src/main.o - .debug_macro 0x0000000000000000 0x1e52 src/main.o - .debug_macro 0x0000000000000000 0x6d src/main.o + .debug_macro 0x0000000000000000 0xa6e src/main.o + .debug_macro 0x0000000000000000 0x23e src/main.o + .debug_macro 0x0000000000000000 0x3fe src/main.o + .debug_macro 0x0000000000000000 0x52 src/main.o + .debug_macro 0x0000000000000000 0x80e src/main.o + .debug_macro 0x0000000000000000 0x3d8 src/main.o + .debug_macro 0x0000000000000000 0xe53 src/main.o + .debug_macro 0x0000000000000000 0x2675 src/main.o + .debug_macro 0x0000000000000000 0x10e2 src/main.o + .debug_macro 0x0000000000000000 0x793 src/main.o + .debug_macro 0x0000000000000000 0x20f6 src/main.o + .debug_macro 0x0000000000000000 0x193f src/main.o + .debug_macro 0x0000000000000000 0x348 src/main.o + .debug_macro 0x0000000000000000 0x30d src/main.o + .debug_macro 0x0000000000000000 0x232d src/main.o + .debug_macro 0x0000000000000000 0x3d8 src/main.o .text 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-atexit.o) .data 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-atexit.o) .bss 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-atexit.o) @@ -559,8 +389,8 @@ Linker script and memory map LOAD /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crti.o LOAD /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o LOAD /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o -LOAD ESF/mcu/src/startup_samd21.o -LOAD ESF/mcu/src/system_samd21.o +LOAD ESF/mcu/src/startup_samd21j18a.o +LOAD ESF/mcu/src/system_samd21j18a.o LOAD src/main.o START GROUP LOAD /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libm.a @@ -577,138 +407,138 @@ LOAD /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtend.o LOAD /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtn.o 0x0000000000002000 STACK_SIZE = DEFINED (STACK_SIZE)?STACK_SIZE:DEFINED (__stack_size__)?__stack_size__:0x2000 -.text 0x0000000000000000 0x2c0 +.text 0x0000000000000000 0x264 0x0000000000000000 . = ALIGN (0x4) 0x0000000000000000 _sfixed = . *(.vectors .vectors.*) - .vectors 0x0000000000000000 0xb4 ESF/mcu/src/startup_samd21.o + .vectors 0x0000000000000000 0xb0 ESF/mcu/src/startup_samd21j18a.o 0x0000000000000000 exception_table *(.text .text.* .gnu.linkonce.t.*) .text.__do_global_dtors_aux - 0x00000000000000b4 0x28 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o + 0x00000000000000b0 0x28 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o .text.frame_dummy - 0x00000000000000dc 0x20 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o + 0x00000000000000d8 0x20 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o .text.Dummy_Handler - 0x00000000000000fc 0x2 ESF/mcu/src/startup_samd21.o - 0x00000000000000fc DMAC_Handler - 0x00000000000000fc HardFault_Handler - 0x00000000000000fc AC_Handler - 0x00000000000000fc SysTick_Handler - 0x00000000000000fc PendSV_Handler - 0x00000000000000fc NMI_Handler - 0x00000000000000fc TC7_Handler - 0x00000000000000fc SERCOM1_Handler - 0x00000000000000fc ADC_Handler - 0x00000000000000fc TCC1_Handler - 0x00000000000000fc SERCOM2_Handler - 0x00000000000000fc TCC0_Handler - 0x00000000000000fc RTC_Handler - 0x00000000000000fc EIC_Handler - 0x00000000000000fc TC6_Handler - 0x00000000000000fc WDT_Handler - 0x00000000000000fc TC4_Handler - 0x00000000000000fc USB_Handler - 0x00000000000000fc TC3_Handler - 0x00000000000000fc Dummy_Handler - 0x00000000000000fc PM_Handler - 0x00000000000000fc SERCOM5_Handler - 0x00000000000000fc SVC_Handler - 0x00000000000000fc TCC2_Handler - 0x00000000000000fc EVSYS_Handler - 0x00000000000000fc SERCOM3_Handler - 0x00000000000000fc SERCOM4_Handler - 0x00000000000000fc I2S_Handler - 0x00000000000000fc NVMCTRL_Handler - 0x00000000000000fc SERCOM0_Handler - 0x00000000000000fc DAC_Handler - 0x00000000000000fc PTC_Handler - 0x00000000000000fc TC5_Handler - 0x00000000000000fc SYSCTRL_Handler - *fill* 0x00000000000000fe 0x2 + 0x00000000000000f8 0x2 ESF/mcu/src/startup_samd21j18a.o + 0x00000000000000f8 SVCall_Handler + 0x00000000000000f8 DMAC_Handler + 0x00000000000000f8 HardFault_Handler + 0x00000000000000f8 AC_Handler + 0x00000000000000f8 SysTick_Handler + 0x00000000000000f8 PendSV_Handler + 0x00000000000000f8 TC7_Handler + 0x00000000000000f8 SERCOM1_Handler + 0x00000000000000f8 ADC_Handler + 0x00000000000000f8 NonMaskableInt_Handler + 0x00000000000000f8 TCC1_Handler + 0x00000000000000f8 SERCOM2_Handler + 0x00000000000000f8 TCC0_Handler + 0x00000000000000f8 RTC_Handler + 0x00000000000000f8 EIC_Handler + 0x00000000000000f8 TC6_Handler + 0x00000000000000f8 WDT_Handler + 0x00000000000000f8 TC4_Handler + 0x00000000000000f8 USB_Handler + 0x00000000000000f8 TC3_Handler + 0x00000000000000f8 Dummy_Handler + 0x00000000000000f8 PM_Handler + 0x00000000000000f8 SERCOM5_Handler + 0x00000000000000f8 TCC2_Handler + 0x00000000000000f8 EVSYS_Handler + 0x00000000000000f8 SERCOM3_Handler + 0x00000000000000f8 SERCOM4_Handler + 0x00000000000000f8 I2S_Handler + 0x00000000000000f8 NVMCTRL_Handler + 0x00000000000000f8 SERCOM0_Handler + 0x00000000000000f8 DAC_Handler + 0x00000000000000f8 PTC_Handler + 0x00000000000000f8 TC5_Handler + 0x00000000000000f8 SYSCTRL_Handler + *fill* 0x00000000000000fa 0x2 .text.Reset_Handler - 0x0000000000000100 0xd4 ESF/mcu/src/startup_samd21.o - 0x0000000000000100 Reset_Handler + 0x00000000000000fc 0x7c ESF/mcu/src/startup_samd21j18a.o + 0x00000000000000fc Reset_Handler .text.startup.main - 0x00000000000001d4 0x60 src/main.o - 0x00000000000001d4 main + 0x0000000000000178 0x60 src/main.o + 0x0000000000000178 main .text.__libc_init_array - 0x0000000000000234 0x48 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) - 0x0000000000000234 __libc_init_array - .text.memcpy 0x000000000000027c 0x12 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memcpy-stub.o) - 0x000000000000027c memcpy - .text.memset 0x000000000000028e 0x10 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) - 0x000000000000028e memset + 0x00000000000001d8 0x48 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) + 0x00000000000001d8 __libc_init_array + .text.memcpy 0x0000000000000220 0x12 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memcpy-stub.o) + 0x0000000000000220 memcpy + .text.memset 0x0000000000000232 0x10 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) + 0x0000000000000232 memset *(.glue_7t) - .glue_7t 0x000000000000029e 0x0 linker stubs + .glue_7t 0x0000000000000242 0x0 linker stubs *(.glue_7) - .glue_7 0x000000000000029e 0x0 linker stubs + .glue_7 0x0000000000000242 0x0 linker stubs *(.rodata .rodata* .gnu.linkonce.r.*) *(.ARM.extab* .gnu.linkonce.armextab.*) - 0x00000000000002a0 . = ALIGN (0x4) - *fill* 0x000000000000029e 0x2 + 0x0000000000000244 . = ALIGN (0x4) + *fill* 0x0000000000000242 0x2 *(.init) - .init 0x00000000000002a0 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crti.o - 0x00000000000002a0 _init - .init 0x00000000000002a4 0x8 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtn.o - 0x00000000000002ac . = ALIGN (0x4) - 0x00000000000002ac __preinit_array_start = . + .init 0x0000000000000244 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crti.o + 0x0000000000000244 _init + .init 0x0000000000000248 0x8 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtn.o + 0x0000000000000250 . = ALIGN (0x4) + 0x0000000000000250 __preinit_array_start = . *(.preinit_array) - 0x00000000000002ac __preinit_array_end = . - 0x00000000000002ac . = ALIGN (0x4) - 0x00000000000002ac __init_array_start = . + 0x0000000000000250 __preinit_array_end = . + 0x0000000000000250 . = ALIGN (0x4) + 0x0000000000000250 __init_array_start = . *(SORT_BY_NAME(.init_array.*)) *(.init_array) - .init_array 0x00000000000002ac 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o - 0x00000000000002b0 __init_array_end = . - 0x00000000000002b0 . = ALIGN (0x4) + .init_array 0x0000000000000250 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o + 0x0000000000000254 __init_array_end = . + 0x0000000000000254 . = ALIGN (0x4) *crtbegin.o(.ctors) *(EXCLUDE_FILE(*crtend.o) .ctors) *(SORT_BY_NAME(.ctors.*)) *crtend.o(.ctors) - 0x00000000000002b0 . = ALIGN (0x4) + 0x0000000000000254 . = ALIGN (0x4) *(.fini) - .fini 0x00000000000002b0 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crti.o - 0x00000000000002b0 _fini - .fini 0x00000000000002b4 0x8 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtn.o - 0x00000000000002bc . = ALIGN (0x4) - 0x00000000000002bc __fini_array_start = . + .fini 0x0000000000000254 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crti.o + 0x0000000000000254 _fini + .fini 0x0000000000000258 0x8 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtn.o + 0x0000000000000260 . = ALIGN (0x4) + 0x0000000000000260 __fini_array_start = . *(.fini_array) - .fini_array 0x00000000000002bc 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o + .fini_array 0x0000000000000260 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o *(SORT_BY_NAME(.fini_array.*)) - 0x00000000000002c0 __fini_array_end = . + 0x0000000000000264 __fini_array_end = . *crtbegin.o(.dtors) *(EXCLUDE_FILE(*crtend.o) .dtors) *(SORT_BY_NAME(.dtors.*)) *crtend.o(.dtors) - 0x00000000000002c0 . = ALIGN (0x4) - 0x00000000000002c0 _efixed = . + 0x0000000000000264 . = ALIGN (0x4) + 0x0000000000000264 _efixed = . [!provide] PROVIDE (__exidx_start = .) -.vfp11_veneer 0x00000000000002c0 0x0 - .vfp11_veneer 0x00000000000002c0 0x0 linker stubs +.vfp11_veneer 0x0000000000000264 0x0 + .vfp11_veneer 0x0000000000000264 0x0 linker stubs -.v4_bx 0x00000000000002c0 0x0 - .v4_bx 0x00000000000002c0 0x0 linker stubs +.v4_bx 0x0000000000000264 0x0 + .v4_bx 0x0000000000000264 0x0 linker stubs -.iplt 0x00000000000002c0 0x0 - .iplt 0x00000000000002c0 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o +.iplt 0x0000000000000264 0x0 + .iplt 0x0000000000000264 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o -.igot.plt 0x00000000000002c0 0x0 - .igot.plt 0x00000000000002c0 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o +.igot.plt 0x0000000000000264 0x0 + .igot.plt 0x0000000000000264 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o -.eh_frame 0x00000000000002c0 0x0 - .eh_frame 0x00000000000002c0 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o +.eh_frame 0x0000000000000264 0x0 + .eh_frame 0x0000000000000264 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o -.rel.dyn 0x00000000000002c0 0x0 - .rel.iplt 0x00000000000002c0 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o +.rel.dyn 0x0000000000000264 0x0 + .rel.iplt 0x0000000000000264 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o .ARM.exidx *(.ARM.exidx* .gnu.linkonce.armexidx.*) [!provide] PROVIDE (__exidx_end = .) - 0x00000000000002c0 . = ALIGN (0x4) - 0x00000000000002c0 _etext = . + 0x0000000000000264 . = ALIGN (0x4) + 0x0000000000000264 _etext = . -.relocate 0x0000000020000000 0x0 load address 0x00000000000002c0 +.relocate 0x0000000020000000 0x0 load address 0x0000000000000264 0x0000000020000000 . = ALIGN (0x4) 0x0000000020000000 _srelocate = . *(.ramfunc .ramfunc.*) @@ -750,7 +580,7 @@ LOAD linker stubs .ARM.attributes 0x000000000000001e 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o .ARM.attributes - 0x000000000000004a 0x2c ESF/mcu/src/startup_samd21.o + 0x000000000000004a 0x2c ESF/mcu/src/startup_samd21j18a.o .ARM.attributes 0x0000000000000076 0x2c src/main.o .ARM.attributes @@ -763,120 +593,86 @@ LOAD linker stubs 0x0000000000000126 0x1e /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtn.o .comment 0x0000000000000000 0x1e - .comment 0x0000000000000000 0x1e ESF/mcu/src/startup_samd21.o + .comment 0x0000000000000000 0x1e ESF/mcu/src/startup_samd21j18a.o 0x1f (size before relaxing) .comment 0x000000000000001e 0x1f src/main.o -.debug_info 0x0000000000000000 0x3d0a - .debug_info 0x0000000000000000 0x39b7 ESF/mcu/src/startup_samd21.o - .debug_info 0x00000000000039b7 0x353 src/main.o +.debug_info 0x0000000000000000 0x7f6 + .debug_info 0x0000000000000000 0x4a3 ESF/mcu/src/startup_samd21j18a.o + .debug_info 0x00000000000004a3 0x353 src/main.o -.debug_abbrev 0x0000000000000000 0x3d9 - .debug_abbrev 0x0000000000000000 0x2b7 ESF/mcu/src/startup_samd21.o - .debug_abbrev 0x00000000000002b7 0x122 src/main.o +.debug_abbrev 0x0000000000000000 0x2a3 + .debug_abbrev 0x0000000000000000 0x181 ESF/mcu/src/startup_samd21j18a.o + .debug_abbrev 0x0000000000000181 0x122 src/main.o .debug_aranges 0x0000000000000000 0x48 .debug_aranges - 0x0000000000000000 0x28 ESF/mcu/src/startup_samd21.o + 0x0000000000000000 0x28 ESF/mcu/src/startup_samd21j18a.o .debug_aranges 0x0000000000000028 0x20 src/main.o .debug_ranges 0x0000000000000000 0xf0 - .debug_ranges 0x0000000000000000 0x18 ESF/mcu/src/startup_samd21.o + .debug_ranges 0x0000000000000000 0x18 ESF/mcu/src/startup_samd21j18a.o .debug_ranges 0x0000000000000018 0xd8 src/main.o -.debug_macro 0x0000000000000000 0x11a5c - .debug_macro 0x0000000000000000 0x306 ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000000306 0xa4e ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000000d54 0x22 ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000000d76 0x8e ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000000e04 0x51 ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000000e55 0x103 ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000000f58 0x6a ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000000fc2 0x1df ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000011a1 0x3a ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000011db 0x1c ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000011f7 0x22 ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000001219 0xaf ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000012c8 0x3ad ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000001675 0x681 ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000001cf6 0x8b5 ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000025ab 0x230 ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000027db 0xd60 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000353b 0x4cb ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000003a06 0x9f8 ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000043fe 0x82b ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000004c29 0x455 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000507e 0x5e ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000050dc 0x8fd ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000059d9 0x21c ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000005bf5 0x95b ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000006550 0x5e ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000065ae 0x667 ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000006c15 0x3af ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000006fc4 0xc7a ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000007c3e 0x1092 ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000008cd0 0xc4a ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000991a 0x6ba ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000009fd4 0x1bbf ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000bb93 0x1440 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000cfd3 0x344 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000d317 0x7c ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000d393 0xa0 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000d433 0x4c ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000d47f 0xca ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000d549 0x94 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000d5dd 0x58 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000d635 0x37d ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000d9b2 0x82 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000da34 0x18d ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000dbc1 0xb8 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000dc79 0xa0 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000dd19 0xb8 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000ddd1 0x1c ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000dded 0x1c ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000de09 0x1c ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000de25 0x82 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000dea7 0x15a ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000e001 0xdc ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000e0dd 0x128 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000e205 0x128 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000e32d 0x128 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000e455 0x128 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000e57d 0x128 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000e6a5 0x128 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000e7cd 0x124 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000e8f1 0xe2 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000e9d3 0xe2 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000eab5 0xe2 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000eb97 0xe2 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000ec79 0xe2 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000ed5b 0x130 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000ee8b 0x106 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000ef91 0xfa ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000f08b 0x40f ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000f49a 0x40 ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000f4da 0x37d ESF/mcu/src/startup_samd21.o - .debug_macro 0x000000000000f857 0x1e52 ESF/mcu/src/startup_samd21.o - .debug_macro 0x00000000000116a9 0x6d ESF/mcu/src/startup_samd21.o - .debug_macro 0x0000000000011716 0x346 src/main.o +.debug_macro 0x0000000000000000 0x12b53 + .debug_macro 0x0000000000000000 0x19d ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000019d 0xa4e ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000000beb 0x1c ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000000c07 0x22 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000000c29 0x8e ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000000cb7 0x51 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000000d08 0x103 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000000e0b 0x6a ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000000e75 0x1df ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000001054 0x7f ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x00000000000010d3 0x1c ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x00000000000010ef 0x22 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000001111 0xaf ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x00000000000011c0 0x3ad ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000156d 0x72b ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000001c98 0x946 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x00000000000025de 0x289 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000002867 0xfb7 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000381e 0x52d ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000003d4b 0xc48 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000004993 0x957 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x00000000000052ea 0x47c ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000005766 0x58 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x00000000000057be 0xa6e ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000622c 0x23e ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000646a 0x3fe ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000006868 0x52 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x00000000000068ba 0x80e ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x00000000000070c8 0x3d8 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x00000000000074a0 0xe53 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x00000000000082f3 0x2675 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000a968 0x10e2 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000ba4a 0x793 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000c1dd 0x20f6 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000e2d3 0x193f ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000fc12 0x348 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000000ff5a 0x30d ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000010267 0x232d ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x0000000000012594 0x3d8 ESF/mcu/src/startup_samd21j18a.o + .debug_macro 0x000000000001296c 0x1e7 src/main.o -.debug_line 0x0000000000000000 0xb0b - .debug_line 0x0000000000000000 0x52a ESF/mcu/src/startup_samd21.o - .debug_line 0x000000000000052a 0x5e1 src/main.o +.debug_line 0x0000000000000000 0x7ad + .debug_line 0x0000000000000000 0x34e ESF/mcu/src/startup_samd21j18a.o + .debug_line 0x000000000000034e 0x45f src/main.o -.debug_str 0x0000000000000000 0x6ed4e - .debug_str 0x0000000000000000 0x6ec5b ESF/mcu/src/startup_samd21.o - 0x6f44d (size before relaxing) - .debug_str 0x000000000006ec5b 0xf3 src/main.o - 0x6e353 (size before relaxing) +.debug_str 0x0000000000000000 0x93ff8 + .debug_str 0x0000000000000000 0x93efe ESF/mcu/src/startup_samd21j18a.o + 0x94349 (size before relaxing) + .debug_str 0x0000000000093efe 0xfa src/main.o + 0x94060 (size before relaxing) -.debug_frame 0x0000000000000000 0xdc - .debug_frame 0x0000000000000000 0x3c ESF/mcu/src/startup_samd21.o - .debug_frame 0x000000000000003c 0x2c src/main.o - .debug_frame 0x0000000000000068 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) - .debug_frame 0x0000000000000094 0x28 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memcpy-stub.o) - .debug_frame 0x00000000000000bc 0x20 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) +.debug_frame 0x0000000000000000 0xd8 + .debug_frame 0x0000000000000000 0x38 ESF/mcu/src/startup_samd21j18a.o + .debug_frame 0x0000000000000038 0x2c src/main.o + .debug_frame 0x0000000000000064 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) + .debug_frame 0x0000000000000090 0x28 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memcpy-stub.o) + .debug_frame 0x00000000000000b8 0x20 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) .debug_loc 0x0000000000000000 0x27c .debug_loc 0x0000000000000000 0x27c src/main.o diff --git a/testdir/ESF/cfg b/testdir/ESF/cfg index 359fa3e..f01a121 120000 --- a/testdir/ESF/cfg +++ b/testdir/ESF/cfg @@ -1 +1 @@ -/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAM_D2X/cfg \ No newline at end of file +/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAMD21/SAMD21A/cfg/ \ No newline at end of file diff --git a/testdir/ESF/common b/testdir/ESF/common index a00cb7c..a5b7ff4 120000 --- a/testdir/ESF/common +++ b/testdir/ESF/common @@ -1 +1 @@ -/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/common \ No newline at end of file +/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/common/ \ No newline at end of file diff --git a/testdir/ESF/hdi b/testdir/ESF/hdi deleted file mode 120000 index 2f42b0a..0000000 --- a/testdir/ESF/hdi +++ /dev/null @@ -1 +0,0 @@ -/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAM_D2X/hdi \ No newline at end of file diff --git a/testdir/ESF/ld b/testdir/ESF/ld new file mode 120000 index 0000000..03b6b7b --- /dev/null +++ b/testdir/ESF/ld @@ -0,0 +1 @@ +/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAMD21/SAMD21A/ld/ \ No newline at end of file diff --git a/testdir/ESF/ld/samd21j18a_flash.ld b/testdir/ESF/ld/samd21j18a_flash.ld deleted file mode 100644 index 569bd3d..0000000 --- a/testdir/ESF/ld/samd21j18a_flash.ld +++ /dev/null @@ -1,143 +0,0 @@ -/** - * \file - * - * \brief Linker script for running in internal FLASH on the SAMD21J18A - * - * Copyright (c) 2018 Microchip Technology Inc. - * - * \asf_license_start - * - * \page License - * - * SPDX-License-Identifier: Apache-2.0 - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the Licence at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * \asf_license_stop - * - */ - - -OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") -OUTPUT_ARCH(arm) -SEARCH_DIR(.) - -/* Memory Spaces Definitions */ -MEMORY -{ - rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00040000 - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00008000 -} - -/* The stack size used by the application. NOTE: you need to adjust according to your application. */ -STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : DEFINED(__stack_size__) ? __stack_size__ : 0x2000; - -/* Section Definitions */ -SECTIONS -{ - .text : - { - . = ALIGN(4); - _sfixed = .; - KEEP(*(.vectors .vectors.*)) - *(.text .text.* .gnu.linkonce.t.*) - *(.glue_7t) *(.glue_7) - *(.rodata .rodata* .gnu.linkonce.r.*) - *(.ARM.extab* .gnu.linkonce.armextab.*) - - /* Support C constructors, and C destructors in both user code - and the C library. This also provides support for C++ code. */ - . = ALIGN(4); - KEEP(*(.init)) - . = ALIGN(4); - __preinit_array_start = .; - KEEP (*(.preinit_array)) - __preinit_array_end = .; - - . = ALIGN(4); - __init_array_start = .; - KEEP (*(SORT(.init_array.*))) - KEEP (*(.init_array)) - __init_array_end = .; - - . = ALIGN(4); - KEEP (*crtbegin.o(.ctors)) - KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors)) - KEEP (*(SORT(.ctors.*))) - KEEP (*crtend.o(.ctors)) - - . = ALIGN(4); - KEEP(*(.fini)) - - . = ALIGN(4); - __fini_array_start = .; - KEEP (*(.fini_array)) - KEEP (*(SORT(.fini_array.*))) - __fini_array_end = .; - - KEEP (*crtbegin.o(.dtors)) - KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors)) - KEEP (*(SORT(.dtors.*))) - KEEP (*crtend.o(.dtors)) - - . = ALIGN(4); - _efixed = .; /* End of text section */ - } > rom - - /* .ARM.exidx is sorted, so has to go in its own output section. */ - PROVIDE_HIDDEN (__exidx_start = .); - .ARM.exidx : - { - *(.ARM.exidx* .gnu.linkonce.armexidx.*) - } > rom - PROVIDE_HIDDEN (__exidx_end = .); - - . = ALIGN(4); - _etext = .; - - .relocate : AT (_etext) - { - . = ALIGN(4); - _srelocate = .; - *(.ramfunc .ramfunc.*); - *(.data .data.*); - . = ALIGN(4); - _erelocate = .; - } > ram - - /* .bss section which is used for uninitialized data */ - .bss (NOLOAD) : - { - . = ALIGN(4); - _sbss = . ; - _szero = .; - *(.bss .bss.*) - *(COMMON) - . = ALIGN(4); - _ebss = . ; - _ezero = .; - } > ram - - /* stack section */ - .stack (NOLOAD): - { - . = ALIGN(8); - _sstack = .; - . = . + STACK_SIZE; - . = ALIGN(8); - _estack = .; - } > ram - - . = ALIGN(4); - _end = . ; -} diff --git a/testdir/ESF/ld/samd21j18a_sram.ld b/testdir/ESF/ld/samd21j18a_sram.ld deleted file mode 100644 index 61b32dc..0000000 --- a/testdir/ESF/ld/samd21j18a_sram.ld +++ /dev/null @@ -1,142 +0,0 @@ -/** - * \file - * - * \brief Linker script for running in internal SRAM on the SAMD21J18A - * - * Copyright (c) 2018 Microchip Technology Inc. - * - * \asf_license_start - * - * \page License - * - * SPDX-License-Identifier: Apache-2.0 - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the Licence at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * \asf_license_stop - * - */ - - -OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") -OUTPUT_ARCH(arm) -SEARCH_DIR(.) - -/* Memory Spaces Definitions */ -MEMORY -{ - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00008000 -} - -/* The stack size used by the application. NOTE: you need to adjust according to your application. */ -STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : DEFINED(__stack_size__) ? __stack_size__ : 0x2000; - -/* Section Definitions */ -SECTIONS -{ - .text : - { - . = ALIGN(4); - _sfixed = .; - KEEP(*(.vectors .vectors.*)) - *(.text .text.* .gnu.linkonce.t.*) - *(.glue_7t) *(.glue_7) - *(.rodata .rodata* .gnu.linkonce.r.*) - *(.ARM.extab* .gnu.linkonce.armextab.*) - - /* Support C constructors, and C destructors in both user code - and the C library. This also provides support for C++ code. */ - . = ALIGN(4); - KEEP(*(.init)) - . = ALIGN(4); - __preinit_array_start = .; - KEEP (*(.preinit_array)) - __preinit_array_end = .; - - . = ALIGN(4); - __init_array_start = .; - KEEP (*(SORT(.init_array.*))) - KEEP (*(.init_array)) - __init_array_end = .; - - . = ALIGN(4); - KEEP (*crtbegin.o(.ctors)) - KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors)) - KEEP (*(SORT(.ctors.*))) - KEEP (*crtend.o(.ctors)) - - . = ALIGN(4); - KEEP(*(.fini)) - - . = ALIGN(4); - __fini_array_start = .; - KEEP (*(.fini_array)) - KEEP (*(SORT(.fini_array.*))) - __fini_array_end = .; - - KEEP (*crtbegin.o(.dtors)) - KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors)) - KEEP (*(SORT(.dtors.*))) - KEEP (*crtend.o(.dtors)) - - . = ALIGN(4); - _efixed = .; /* End of text section */ - } > ram - - /* .ARM.exidx is sorted, so has to go in its own output section. */ - PROVIDE_HIDDEN (__exidx_start = .); - .ARM.exidx : - { - *(.ARM.exidx* .gnu.linkonce.armexidx.*) - } > ram - PROVIDE_HIDDEN (__exidx_end = .); - - . = ALIGN(4); - _etext = .; - - .relocate : AT (_etext) - { - . = ALIGN(4); - _srelocate = .; - *(.ramfunc .ramfunc.*); - *(.data .data.*); - . = ALIGN(4); - _erelocate = .; - } > ram - - /* .bss section which is used for uninitialized data */ - .bss (NOLOAD) : - { - . = ALIGN(4); - _sbss = . ; - _szero = .; - *(.bss .bss.*) - *(COMMON) - . = ALIGN(4); - _ebss = . ; - _ezero = .; - } > ram - - /* stack section */ - .stack (NOLOAD): - { - . = ALIGN(8); - _sstack = .; - . = . + STACK_SIZE; - . = ALIGN(8); - _estack = .; - } > ram - - . = ALIGN(4); - _end = . ; -} diff --git a/testdir/ESF/mcu b/testdir/ESF/mcu index 51a13bb..5a71ee6 120000 --- a/testdir/ESF/mcu +++ b/testdir/ESF/mcu @@ -1 +1 @@ -/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAM_D2X/mcu \ No newline at end of file +/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAMD21/SAMD21A/mcu/ \ No newline at end of file diff --git a/testdir/inc/igloo.h b/testdir/inc/igloo.h index 50fa992..563a816 100644 --- a/testdir/inc/igloo.h +++ b/testdir/inc/igloo.h @@ -1 +1 @@ -#include +#include