removing test folders to implement symlinks in rust

unstable
penguin 4 years ago
parent fdefd1b53c
commit 5a74bf54e4

@ -76,22 +76,18 @@ 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
DIR_INCLUDES += \
-I$(QUOTE)../ESF/hdi$(QUOTE) \
-I$(QUOTE)../ESF/hdi/component$(QUOTE) \
-I$(QUOTE)../ESF/hdi/instance$(QUOTE) \
-I$(QUOTE)../ESF/hdi/pio$(QUOTE) \
-I$(QUOTE)../ESF/mcu/inc$(QUOTE) \
-I$(QUOTE)../ESF/common/inc$(QUOTE) \
-I$(QUOTE)../ESF/common/inc/cmsis$(QUOTE) \

@ -1,178 +0,0 @@
ESF/mcu/src/startup_same54.d ESF/mcu/src/startup_same54.o: \
../ESF/mcu/src/startup_same54.c ../ESF/mcu/inc/samed5x.h \
../ESF/mcu/inc/same54p20a.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_cm4.h \
../ESF/common/inc/cmsis/cmsis_version.h \
../ESF/common/inc/cmsis/cmsis_compiler.h \
../ESF/common/inc/cmsis/cmsis_gcc.h ../ESF/common/inc/cmsis/mpu_armv7.h \
../ESF/mcu/inc/system_same54.h ../ESF/hdi/component/ac.h \
../ESF/hdi/component/adc.h ../ESF/hdi/component/aes.h \
../ESF/hdi/component/can.h ../ESF/hdi/component/ccl.h \
../ESF/hdi/component/cmcc.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/freqm.h ../ESF/hdi/component/gclk.h \
../ESF/hdi/component/gmac.h ../ESF/hdi/component/hmatrixb.h \
../ESF/hdi/component/icm.h ../ESF/hdi/component/i2s.h \
../ESF/hdi/component/mclk.h ../ESF/hdi/component/nvmctrl.h \
../ESF/hdi/component/oscctrl.h ../ESF/hdi/component/osc32kctrl.h \
../ESF/hdi/component/pac.h ../ESF/hdi/component/pcc.h \
../ESF/hdi/component/pdec.h ../ESF/hdi/component/pm.h \
../ESF/hdi/component/port.h ../ESF/hdi/component/qspi.h \
../ESF/hdi/component/ramecc.h ../ESF/hdi/component/rstc.h \
../ESF/hdi/component/rtc.h ../ESF/hdi/component/sdhc.h \
../ESF/hdi/component/sercom.h ../ESF/hdi/component/supc.h \
../ESF/hdi/component/tc.h ../ESF/hdi/component/tcc.h \
../ESF/hdi/component/trng.h ../ESF/hdi/component/usb.h \
../ESF/hdi/component/wdt.h ../ESF/hdi/instance/ac.h \
../ESF/hdi/instance/adc0.h ../ESF/hdi/instance/adc1.h \
../ESF/hdi/instance/aes.h ../ESF/hdi/instance/can0.h \
../ESF/hdi/instance/can1.h ../ESF/hdi/instance/ccl.h \
../ESF/hdi/instance/cmcc.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/freqm.h ../ESF/hdi/instance/gclk.h \
../ESF/hdi/instance/gmac.h ../ESF/hdi/instance/hmatrix.h \
../ESF/hdi/instance/icm.h ../ESF/hdi/instance/i2s.h \
../ESF/hdi/instance/mclk.h ../ESF/hdi/instance/nvmctrl.h \
../ESF/hdi/instance/oscctrl.h ../ESF/hdi/instance/osc32kctrl.h \
../ESF/hdi/instance/pac.h ../ESF/hdi/instance/pcc.h \
../ESF/hdi/instance/pdec.h ../ESF/hdi/instance/pm.h \
../ESF/hdi/instance/port.h ../ESF/hdi/instance/pukcc.h \
../ESF/hdi/instance/qspi.h ../ESF/hdi/instance/ramecc.h \
../ESF/hdi/instance/rstc.h ../ESF/hdi/instance/rtc.h \
../ESF/hdi/instance/sdhc0.h ../ESF/hdi/instance/sdhc1.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/sercom6.h ../ESF/hdi/instance/sercom7.h \
../ESF/hdi/instance/supc.h ../ESF/hdi/instance/tc0.h \
../ESF/hdi/instance/tc1.h ../ESF/hdi/instance/tc2.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/tcc3.h ../ESF/hdi/instance/tcc4.h \
../ESF/hdi/instance/trng.h ../ESF/hdi/instance/usb.h \
../ESF/hdi/instance/wdt.h ../ESF/hdi/pio/same54p20a.h
../ESF/mcu/inc/samed5x.h:
../ESF/mcu/inc/same54p20a.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_cm4.h:
../ESF/common/inc/cmsis/cmsis_version.h:
../ESF/common/inc/cmsis/cmsis_compiler.h:
../ESF/common/inc/cmsis/cmsis_gcc.h:
../ESF/common/inc/cmsis/mpu_armv7.h:
../ESF/mcu/inc/system_same54.h:
../ESF/hdi/component/ac.h:
../ESF/hdi/component/adc.h:
../ESF/hdi/component/aes.h:
../ESF/hdi/component/can.h:
../ESF/hdi/component/ccl.h:
../ESF/hdi/component/cmcc.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/freqm.h:
../ESF/hdi/component/gclk.h:
../ESF/hdi/component/gmac.h:
../ESF/hdi/component/hmatrixb.h:
../ESF/hdi/component/icm.h:
../ESF/hdi/component/i2s.h:
../ESF/hdi/component/mclk.h:
../ESF/hdi/component/nvmctrl.h:
../ESF/hdi/component/oscctrl.h:
../ESF/hdi/component/osc32kctrl.h:
../ESF/hdi/component/pac.h:
../ESF/hdi/component/pcc.h:
../ESF/hdi/component/pdec.h:
../ESF/hdi/component/pm.h:
../ESF/hdi/component/port.h:
../ESF/hdi/component/qspi.h:
../ESF/hdi/component/ramecc.h:
../ESF/hdi/component/rstc.h:
../ESF/hdi/component/rtc.h:
../ESF/hdi/component/sdhc.h:
../ESF/hdi/component/sercom.h:
../ESF/hdi/component/supc.h:
../ESF/hdi/component/tc.h:
../ESF/hdi/component/tcc.h:
../ESF/hdi/component/trng.h:
../ESF/hdi/component/usb.h:
../ESF/hdi/component/wdt.h:
../ESF/hdi/instance/ac.h:
../ESF/hdi/instance/adc0.h:
../ESF/hdi/instance/adc1.h:
../ESF/hdi/instance/aes.h:
../ESF/hdi/instance/can0.h:
../ESF/hdi/instance/can1.h:
../ESF/hdi/instance/ccl.h:
../ESF/hdi/instance/cmcc.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/freqm.h:
../ESF/hdi/instance/gclk.h:
../ESF/hdi/instance/gmac.h:
../ESF/hdi/instance/hmatrix.h:
../ESF/hdi/instance/icm.h:
../ESF/hdi/instance/i2s.h:
../ESF/hdi/instance/mclk.h:
../ESF/hdi/instance/nvmctrl.h:
../ESF/hdi/instance/oscctrl.h:
../ESF/hdi/instance/osc32kctrl.h:
../ESF/hdi/instance/pac.h:
../ESF/hdi/instance/pcc.h:
../ESF/hdi/instance/pdec.h:
../ESF/hdi/instance/pm.h:
../ESF/hdi/instance/port.h:
../ESF/hdi/instance/pukcc.h:
../ESF/hdi/instance/qspi.h:
../ESF/hdi/instance/ramecc.h:
../ESF/hdi/instance/rstc.h:
../ESF/hdi/instance/rtc.h:
../ESF/hdi/instance/sdhc0.h:
../ESF/hdi/instance/sdhc1.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/sercom6.h:
../ESF/hdi/instance/sercom7.h:
../ESF/hdi/instance/supc.h:
../ESF/hdi/instance/tc0.h:
../ESF/hdi/instance/tc1.h:
../ESF/hdi/instance/tc2.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/tcc3.h:
../ESF/hdi/instance/tcc4.h:
../ESF/hdi/instance/trng.h:
../ESF/hdi/instance/usb.h:
../ESF/hdi/instance/wdt.h:
../ESF/hdi/pio/same54p20a.h:

@ -1,178 +0,0 @@
ESF/mcu/src/system_same54.d ESF/mcu/src/system_same54.o: \
../ESF/mcu/src/system_same54.c ../ESF/mcu/inc/samed5x.h \
../ESF/mcu/inc/same54p20a.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_cm4.h \
../ESF/common/inc/cmsis/cmsis_version.h \
../ESF/common/inc/cmsis/cmsis_compiler.h \
../ESF/common/inc/cmsis/cmsis_gcc.h ../ESF/common/inc/cmsis/mpu_armv7.h \
../ESF/mcu/inc/system_same54.h ../ESF/hdi/component/ac.h \
../ESF/hdi/component/adc.h ../ESF/hdi/component/aes.h \
../ESF/hdi/component/can.h ../ESF/hdi/component/ccl.h \
../ESF/hdi/component/cmcc.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/freqm.h ../ESF/hdi/component/gclk.h \
../ESF/hdi/component/gmac.h ../ESF/hdi/component/hmatrixb.h \
../ESF/hdi/component/icm.h ../ESF/hdi/component/i2s.h \
../ESF/hdi/component/mclk.h ../ESF/hdi/component/nvmctrl.h \
../ESF/hdi/component/oscctrl.h ../ESF/hdi/component/osc32kctrl.h \
../ESF/hdi/component/pac.h ../ESF/hdi/component/pcc.h \
../ESF/hdi/component/pdec.h ../ESF/hdi/component/pm.h \
../ESF/hdi/component/port.h ../ESF/hdi/component/qspi.h \
../ESF/hdi/component/ramecc.h ../ESF/hdi/component/rstc.h \
../ESF/hdi/component/rtc.h ../ESF/hdi/component/sdhc.h \
../ESF/hdi/component/sercom.h ../ESF/hdi/component/supc.h \
../ESF/hdi/component/tc.h ../ESF/hdi/component/tcc.h \
../ESF/hdi/component/trng.h ../ESF/hdi/component/usb.h \
../ESF/hdi/component/wdt.h ../ESF/hdi/instance/ac.h \
../ESF/hdi/instance/adc0.h ../ESF/hdi/instance/adc1.h \
../ESF/hdi/instance/aes.h ../ESF/hdi/instance/can0.h \
../ESF/hdi/instance/can1.h ../ESF/hdi/instance/ccl.h \
../ESF/hdi/instance/cmcc.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/freqm.h ../ESF/hdi/instance/gclk.h \
../ESF/hdi/instance/gmac.h ../ESF/hdi/instance/hmatrix.h \
../ESF/hdi/instance/icm.h ../ESF/hdi/instance/i2s.h \
../ESF/hdi/instance/mclk.h ../ESF/hdi/instance/nvmctrl.h \
../ESF/hdi/instance/oscctrl.h ../ESF/hdi/instance/osc32kctrl.h \
../ESF/hdi/instance/pac.h ../ESF/hdi/instance/pcc.h \
../ESF/hdi/instance/pdec.h ../ESF/hdi/instance/pm.h \
../ESF/hdi/instance/port.h ../ESF/hdi/instance/pukcc.h \
../ESF/hdi/instance/qspi.h ../ESF/hdi/instance/ramecc.h \
../ESF/hdi/instance/rstc.h ../ESF/hdi/instance/rtc.h \
../ESF/hdi/instance/sdhc0.h ../ESF/hdi/instance/sdhc1.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/sercom6.h ../ESF/hdi/instance/sercom7.h \
../ESF/hdi/instance/supc.h ../ESF/hdi/instance/tc0.h \
../ESF/hdi/instance/tc1.h ../ESF/hdi/instance/tc2.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/tcc3.h ../ESF/hdi/instance/tcc4.h \
../ESF/hdi/instance/trng.h ../ESF/hdi/instance/usb.h \
../ESF/hdi/instance/wdt.h ../ESF/hdi/pio/same54p20a.h
../ESF/mcu/inc/samed5x.h:
../ESF/mcu/inc/same54p20a.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_cm4.h:
../ESF/common/inc/cmsis/cmsis_version.h:
../ESF/common/inc/cmsis/cmsis_compiler.h:
../ESF/common/inc/cmsis/cmsis_gcc.h:
../ESF/common/inc/cmsis/mpu_armv7.h:
../ESF/mcu/inc/system_same54.h:
../ESF/hdi/component/ac.h:
../ESF/hdi/component/adc.h:
../ESF/hdi/component/aes.h:
../ESF/hdi/component/can.h:
../ESF/hdi/component/ccl.h:
../ESF/hdi/component/cmcc.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/freqm.h:
../ESF/hdi/component/gclk.h:
../ESF/hdi/component/gmac.h:
../ESF/hdi/component/hmatrixb.h:
../ESF/hdi/component/icm.h:
../ESF/hdi/component/i2s.h:
../ESF/hdi/component/mclk.h:
../ESF/hdi/component/nvmctrl.h:
../ESF/hdi/component/oscctrl.h:
../ESF/hdi/component/osc32kctrl.h:
../ESF/hdi/component/pac.h:
../ESF/hdi/component/pcc.h:
../ESF/hdi/component/pdec.h:
../ESF/hdi/component/pm.h:
../ESF/hdi/component/port.h:
../ESF/hdi/component/qspi.h:
../ESF/hdi/component/ramecc.h:
../ESF/hdi/component/rstc.h:
../ESF/hdi/component/rtc.h:
../ESF/hdi/component/sdhc.h:
../ESF/hdi/component/sercom.h:
../ESF/hdi/component/supc.h:
../ESF/hdi/component/tc.h:
../ESF/hdi/component/tcc.h:
../ESF/hdi/component/trng.h:
../ESF/hdi/component/usb.h:
../ESF/hdi/component/wdt.h:
../ESF/hdi/instance/ac.h:
../ESF/hdi/instance/adc0.h:
../ESF/hdi/instance/adc1.h:
../ESF/hdi/instance/aes.h:
../ESF/hdi/instance/can0.h:
../ESF/hdi/instance/can1.h:
../ESF/hdi/instance/ccl.h:
../ESF/hdi/instance/cmcc.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/freqm.h:
../ESF/hdi/instance/gclk.h:
../ESF/hdi/instance/gmac.h:
../ESF/hdi/instance/hmatrix.h:
../ESF/hdi/instance/icm.h:
../ESF/hdi/instance/i2s.h:
../ESF/hdi/instance/mclk.h:
../ESF/hdi/instance/nvmctrl.h:
../ESF/hdi/instance/oscctrl.h:
../ESF/hdi/instance/osc32kctrl.h:
../ESF/hdi/instance/pac.h:
../ESF/hdi/instance/pcc.h:
../ESF/hdi/instance/pdec.h:
../ESF/hdi/instance/pm.h:
../ESF/hdi/instance/port.h:
../ESF/hdi/instance/pukcc.h:
../ESF/hdi/instance/qspi.h:
../ESF/hdi/instance/ramecc.h:
../ESF/hdi/instance/rstc.h:
../ESF/hdi/instance/rtc.h:
../ESF/hdi/instance/sdhc0.h:
../ESF/hdi/instance/sdhc1.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/sercom6.h:
../ESF/hdi/instance/sercom7.h:
../ESF/hdi/instance/supc.h:
../ESF/hdi/instance/tc0.h:
../ESF/hdi/instance/tc1.h:
../ESF/hdi/instance/tc2.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/tcc3.h:
../ESF/hdi/instance/tcc4.h:
../ESF/hdi/instance/trng.h:
../ESF/hdi/instance/usb.h:
../ESF/hdi/instance/wdt.h:
../ESF/hdi/pio/same54p20a.h:

@ -1,191 +0,0 @@
print-% : ; @echo $* = $($*)
# Generated Variables
PROJECT_NAME=e54testdir
CC=arm-none-eabi-gcc
CCX=arm-none-eabi-g++
OBJCOPY=arm-none-eabi-objcopy
OBJDUMP=arm-none-eabi-objdump
SIZE=arm-none-eabi-size
GDB=arm-none-eabi-gdb
AS=arm-none-eabi-as
MCPU=cortex-m4
MCU=__SAME54P20A__
FPU=fpv4-sp-d16
FLOAT_ABI=softfp
LD_PATH=../ESF/ld
LD_SCRIPT=$(LD_PATH)/same54p20a_flash.ld
# Generated Flags
CFLAGS=-x c \
-DDEBUG \
-mthumb \
-Os \
-ffunction-sections \
-mlong-calls \
-g3 \
-Wall \
-c \
-std=gnu99 \
-D$(MCU) \
-mcpu=$(MCPU) \
-mfloat-abi=$(FLOAT_ABI) \
-mfpu=$(FPU) \
$(DIR_INCLUDES) \
-MD -MP \
-MF$(QUOTE)$(@:%.o=%.d)$(QUOTE) \
-MT$(QUOTE)$(@:%.o=%.d)$(QUOTE) \
-MT$(QUOTE)$(@:%.o=%.o)$(QUOTE)
ELF_FLAGS=-Wl,--start-group -l m -Wl,--end-group -mthumb \
-Wl,-Map=$(QUOTE)$(PROJECT_NAME).map$(QUOTE) --specs=nano.specs -Wl,--gc-sections -mcpu=$(MCPU) \
-T$(QUOTE)$(LD_SCRIPT)$(QUOTE)
HEX_FLAGS=-R .eeprom \
-R .fuse \
-R .lock \
-R .signature
EEP_FLAGS=-j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma \
.eeprom=0 --no-change-warnings
ifdef SystemRoot
SHELL = cmd.exe
MK_DIR = mkdir
else
ifeq ($(shell uname), Linux)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), CYGWIN)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), MINGW32)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), MINGW64)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), DARWIN)
MK_DIR = mkdir -p
endif
endif
# List the subdirectories for creating object files
SUB_DIRS+= \
src \
ESF/mcu/src
OBJS+= \
ESF/mcu/src/startup_same54.o \
ESF/mcu/src/system_same54.o \
src/main.o
# List the object files
OBJS_AS_ARGS+= \
$(QUOTE)ESF/mcu/src/startup_same54.o$(QUOTE) \
$(QUOTE)ESF/mcu/src/system_same54.o$(QUOTE) \
$(QUOTE)src/main.o$(QUOTE)
# List the directories containing header files
DIR_INCLUDES += \
-I$(QUOTE)../ESF/hdi$(QUOTE) \
-I$(QUOTE)../ESF/hdi/component$(QUOTE) \
-I$(QUOTE)../ESF/hdi/instance$(QUOTE) \
-I$(QUOTE)../ESF/hdi/pio$(QUOTE) \
-I$(QUOTE)../ESF/mcu/inc$(QUOTE) \
-I$(QUOTE)../ESF/common/inc$(QUOTE) \
-I$(QUOTE)../ESF/common/inc/cmsis$(QUOTE) \
-I$(QUOTE)../inc$(QUOTE)
# List the dependency files
DEPS := $(OBJS:%.o=%.d)
DEPS_AS_ARGS := $(OBJS_AS_ARGS:%.o=%.d)
vpath %.c ../
vpath %.s ../
vpath %.S ../
.PHONY: debug clean
# All Targets
all: $(SUB_DIRS) $(PROJECT_NAME).elf \
$(PROJECT_NAME).bin \
$(PROJECT_NAME).hex \
$(PROJECT_NAME).eep \
$(PROJECT_NAME).lss
$(QUOTE)$(SIZE)$(QUOTE) $(QUOTE)$(PROJECT_NAME).elf$(QUOTE)
# Linker target
# Make ELF
$(PROJECT_NAME).elf: $(OBJS)
@echo Building target: $@
@echo Invoking: ARM/GNU Linker
$(QUOTE)$(CC)$(QUOTE) -o $@ $(OBJS_AS_ARGS) $(ELF_FLAGS)
@echo Finished building target: $@
# Make BIN
$(PROJECT_NAME).bin: $(PROJECT_NAME).elf
@echo Producing $@
$(QUOTE)$(OBJCOPY)$(QUOTE) -O binary $(QUOTE)$<$(QUOTE) $(QUOTE)$@$(QUOTE)
# Make HEX
$(PROJECT_NAME).hex: $(PROJECT_NAME).elf
@echo Producing $@
$(QUOTE)$(OBJCOPY)$(QUOTE) -O ihex $(HEX_FLAGS) $(QUOTE)$<$(QUOTE) $(QUOTE)$@$(QUOTE)
# Make EEP
$(PROJECT_NAME).eep: $(PROJECT_NAME).elf
@echo Producing $@
$(QUOTE)$(OBJCOPY)$(QUOTE) $(EEP_FLAGS) -O binary $(QUOTE)$<$(QUOTE) \
$(QUOTE)$@$(QUOTE) || exit 0
# Make LSS
$(PROJECT_NAME).lss: $(PROJECT_NAME).elf
$(QUOTE)$(OBJDUMP)$(QUOTE) -h -S $(QUOTE)$<$(QUOTE) > $(QUOTE)$@$(QUOTE)
# Compiler targets
%.o: %.c
@echo Building file: $<
@echo ARM/GNU C Compiler
$(QUOTE)$(CC)$(QUOTE) $(CFLAGS) -o $(QUOTE)$@$(QUOTE) $(QUOTE)$<$(QUOTE)
@echo Finished building: $<
%.o: %.s
@echo Building file: $<
@echo ARM/GNU Assembler
$(QUOTE)$(AS)$(QUOTE) $(CFLAGS) -o $(QUOTE)$@$(QUOTE) $(QUOTE)$<$(QUOTE)
@echo Finished building: $<
%.o: %.S
@echo Building file: $<
@echo ARM/GNU Preprocessing Assembler
$(QUOTE)$(CC)$(QUOTE) $(CFLAGS) -o $(QUOTE)$@$(QUOTE) $(QUOTE)$<$(QUOTE)
@echo Finished building: $<
$(SUB_DIRS):
$(MK_DIR) "$@"
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(DEPS)),)
-include $(DEPS)
endif
endif
clean:
rm -f $(OBJS_AS_ARGS)
rm -f $(DEPS_AS_ARGS)
rm -f $(PROJECT_NAME).a $(PROJECT_NAME).hex $(PROJECT_NAME).bin \
$(PROJECT_NAME).lss $(PROJECT_NAME).eep $(PROJECT_NAME).map \
$(PROJECT_NAME).srec $(PROJECT_NAME).elf
debug: $(PROJECT_NAME).elf
$(QUOTE)arm-none-eabi-gdb$(QUOTE) -iex $(QUOTE)target extended-remote localhost:3333$(QUOTE) $(PROJECT_NAME).elf
QUOTE := "

Binary file not shown.

Binary file not shown.

@ -1,62 +0,0 @@
:1000000020000120A9020000A5020000A5020000B6
:10001000A5020000A5020000A502000000000000EB
:10002000000000000000000000000000A502000029
:10003000A502000000000000A5020000A5020000CB
:10004000A5020000A5020000A5020000A502000014
:10005000A5020000A5020000A5020000A502000004
:10006000A5020000A5020000A5020000A5020000F4
:10007000A5020000A5020000A5020000A5020000E4
:10008000A5020000A5020000A5020000A5020000D4
:10009000A5020000A5020000A5020000A5020000C4
:1000A000A5020000A5020000A5020000A5020000B4
:1000B000A5020000A5020000A5020000A5020000A4
:1000C000A5020000A5020000A5020000A502000094
:1000D000A5020000A5020000A5020000A502000084
:1000E000A5020000A50200000000000000000000C2
:1000F00000000000A5020000A5020000A50200000B
:10010000A5020000A5020000A5020000A502000053
:10011000A5020000A5020000A5020000A502000043
:10012000A5020000A5020000A5020000A502000033
:10013000A5020000A5020000A5020000A502000023
:10014000A5020000A5020000A5020000A502000013
:10015000A5020000A5020000A5020000A502000003
:10016000A5020000A5020000A5020000A5020000F3
:10017000A5020000A5020000A5020000A5020000E3
:10018000A5020000A5020000A5020000A5020000D3
:10019000A5020000A5020000A5020000A5020000C3
:1001A000A5020000A5020000A5020000A5020000B3
:1001B000A5020000A5020000A5020000A5020000A3
:1001C000A5020000A5020000A5020000A502000093
:1001D000A5020000A5020000A5020000A502000083
:1001E000A5020000A5020000A5020000A502000073
:1001F000A5020000A5020000A5020000A502000063
:10020000A5020000A5020000A5020000A502000052
:10021000A5020000A5020000A5020000A502000042
:10022000A5020000A5020000A5020000A502000032
:10023000A5020000A5020000A5020000A502000022
:10024000A5020000A5020000A5020000A502000012
:10025000A5020000A5020000A5020000A502000002
:10026000A502000010B5054C237833B9044B13B137
:100270000448AFF300800123237010BD000000206C
:1002800000000000D003000008B5034B1BB1034978
:100290000348AFF3008008BD000000000400002008
:1002A000D0030000FEE7000018491948814210B54C
:1002B0000AD0184BDA1C121A22F00302C41EA34201
:1002C00038BF0022144B9847144B1548DA1C121AF9
:1002D000C11E22F00302994288BF0022114B002167
:1002E0009847114A114B22F07F029A60D3F8882078
:1002F00042F47002C3F88820BFF34F8FBFF36F8FB3
:100300000B4B98470B4B9847FEE700BFD00300000C
:100310000000002000000020850300001C000020D9
:1003200000000020A10300000000000000ED00E03C
:100330003D0300003903000000BFFDE770B50D4D1F
:100340000D4C641BA4100026A64209D10B4D0C4C89
:1003500000F02EF8641BA4100026A64205D170BD43
:1003600055F8043B98470136EEE755F8043B9847AB
:100370000136F2E7BC030000BC030000BC03000030
:10038000C00300000A44914200F1FF3300D17047DE
:1003900010B511F8014B03F8014F9142F9D110BD8E
:1003A00002440346934200D1704703F8011BF9E76A
:1003B000F8B500BFF8BC08BC9E4670478902000033
:1003C000F8B500BFF8BC08BC9E4670476502000047
:00000001FF

@ -1,276 +0,0 @@
e54testdir.elf: file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 000003d0 00000000 00000000 00010000 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .relocate 00000000 20000000 20000000 000103d0 2**0
CONTENTS
2 .bkupram 00000000 47000000 47000000 000103d0 2**0
CONTENTS
3 .qspi 00000000 04000000 04000000 000103d0 2**0
CONTENTS
4 .bss 0000001c 20000000 20000000 00020000 2**2
ALLOC
5 .stack 00010004 2000001c 2000001c 00020000 2**0
ALLOC
6 .ARM.attributes 0000002e 00000000 00000000 000103d0 2**0
CONTENTS, READONLY
7 .comment 0000001e 00000000 00000000 000103fe 2**0
CONTENTS, READONLY
8 .debug_info 00000d0a 00000000 00000000 0001041c 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
9 .debug_abbrev 00000200 00000000 00000000 00011126 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
10 .debug_aranges 00000048 00000000 00000000 00011326 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
11 .debug_ranges 00000028 00000000 00000000 0001136e 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
12 .debug_macro 00026037 00000000 00000000 00011396 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
13 .debug_line 00000cd8 00000000 00000000 000373cd 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
14 .debug_str 000f108b 00000000 00000000 000380a5 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
15 .debug_frame 000000cc 00000000 00000000 00129130 2**2
CONTENTS, READONLY, DEBUGGING, OCTETS
Disassembly of section .text:
00000000 <exception_table>:
0: 20 00 01 20 a9 02 00 00 a5 02 00 00 a5 02 00 00 .. ............
10: a5 02 00 00 a5 02 00 00 a5 02 00 00 00 00 00 00 ................
...
2c: a5 02 00 00 a5 02 00 00 00 00 00 00 a5 02 00 00 ................
3c: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
4c: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
5c: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
6c: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
7c: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
8c: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
9c: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
ac: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
bc: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
cc: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
dc: a5 02 00 00 a5 02 00 00 a5 02 00 00 00 00 00 00 ................
...
f4: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
104: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
114: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
124: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
134: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
144: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
154: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
164: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
174: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
184: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
194: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
1a4: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
1b4: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
1c4: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
1d4: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
1e4: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
1f4: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
204: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
214: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
224: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
234: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
244: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
254: a5 02 00 00 a5 02 00 00 a5 02 00 00 a5 02 00 00 ................
00000264 <__do_global_dtors_aux>:
264: b510 push {r4, lr}
266: 4c05 ldr r4, [pc, #20] ; (27c <__do_global_dtors_aux+0x18>)
268: 7823 ldrb r3, [r4, #0]
26a: b933 cbnz r3, 27a <__do_global_dtors_aux+0x16>
26c: 4b04 ldr r3, [pc, #16] ; (280 <__do_global_dtors_aux+0x1c>)
26e: b113 cbz r3, 276 <__do_global_dtors_aux+0x12>
270: 4804 ldr r0, [pc, #16] ; (284 <__do_global_dtors_aux+0x20>)
272: f3af 8000 nop.w
276: 2301 movs r3, #1
278: 7023 strb r3, [r4, #0]
27a: bd10 pop {r4, pc}
27c: 20000000 .word 0x20000000
280: 00000000 .word 0x00000000
284: 000003d0 .word 0x000003d0
00000288 <frame_dummy>:
288: b508 push {r3, lr}
28a: 4b03 ldr r3, [pc, #12] ; (298 <frame_dummy+0x10>)
28c: b11b cbz r3, 296 <frame_dummy+0xe>
28e: 4903 ldr r1, [pc, #12] ; (29c <frame_dummy+0x14>)
290: 4803 ldr r0, [pc, #12] ; (2a0 <frame_dummy+0x18>)
292: f3af 8000 nop.w
296: bd08 pop {r3, pc}
298: 00000000 .word 0x00000000
29c: 20000004 .word 0x20000004
2a0: 000003d0 .word 0x000003d0
000002a4 <Dummy_Handler>:
/**
* \brief Default interrupt handler for unused IRQs.
*/
void Dummy_Handler(void)
{
while (1) {
2a4: e7fe b.n 2a4 <Dummy_Handler>
...
000002a8 <Reset_Handler>:
if (pSrc != pDest) {
2a8: 4918 ldr r1, [pc, #96] ; (30c <Reset_Handler+0x64>)
2aa: 4819 ldr r0, [pc, #100] ; (310 <Reset_Handler+0x68>)
2ac: 4281 cmp r1, r0
{
2ae: b510 push {r4, lr}
if (pSrc != pDest) {
2b0: d00a beq.n 2c8 <Reset_Handler+0x20>
*pDest++ = *pSrc++;
2b2: 4b18 ldr r3, [pc, #96] ; (314 <Reset_Handler+0x6c>)
2b4: 1cda adds r2, r3, #3
2b6: 1a12 subs r2, r2, r0
2b8: f022 0203 bic.w r2, r2, #3
2bc: 1ec4 subs r4, r0, #3
2be: 42a3 cmp r3, r4
2c0: bf38 it cc
2c2: 2200 movcc r2, #0
2c4: 4b14 ldr r3, [pc, #80] ; (318 <Reset_Handler+0x70>)
2c6: 4798 blx r3
*pDest++ = 0;
2c8: 4b14 ldr r3, [pc, #80] ; (31c <Reset_Handler+0x74>)
2ca: 4815 ldr r0, [pc, #84] ; (320 <Reset_Handler+0x78>)
2cc: 1cda adds r2, r3, #3
2ce: 1a12 subs r2, r2, r0
2d0: 1ec1 subs r1, r0, #3
2d2: f022 0203 bic.w r2, r2, #3
2d6: 4299 cmp r1, r3
2d8: bf88 it hi
2da: 2200 movhi r2, #0
2dc: 4b11 ldr r3, [pc, #68] ; (324 <Reset_Handler+0x7c>)
2de: 2100 movs r1, #0
2e0: 4798 blx r3
SCB->VTOR = ((uint32_t)pSrc & SCB_VTOR_TBLOFF_Msk);
2e2: 4a11 ldr r2, [pc, #68] ; (328 <Reset_Handler+0x80>)
2e4: 4b11 ldr r3, [pc, #68] ; (32c <Reset_Handler+0x84>)
2e6: f022 027f bic.w r2, r2, #127 ; 0x7f
2ea: 609a str r2, [r3, #8]
SCB->CPACR |= (0xFu << 20);
2ec: f8d3 2088 ldr.w r2, [r3, #136] ; 0x88
2f0: f442 0270 orr.w r2, r2, #15728640 ; 0xf00000
2f4: f8c3 2088 str.w r2, [r3, #136] ; 0x88
\details Acts as a special kind of Data Memory Barrier.
It completes when all explicit memory accesses before this instruction complete.
*/
__STATIC_FORCEINLINE void __DSB(void)
{
__ASM volatile ("dsb 0xF":::"memory");
2f8: f3bf 8f4f dsb sy
__ASM volatile ("isb 0xF":::"memory");
2fc: f3bf 8f6f isb sy
__libc_init_array();
300: 4b0b ldr r3, [pc, #44] ; (330 <Reset_Handler+0x88>)
302: 4798 blx r3
main();
304: 4b0b ldr r3, [pc, #44] ; (334 <Reset_Handler+0x8c>)
306: 4798 blx r3
while (1)
308: e7fe b.n 308 <Reset_Handler+0x60>
30a: bf00 nop
30c: 000003d0 .word 0x000003d0
310: 20000000 .word 0x20000000
314: 20000000 .word 0x20000000
318: 00000385 .word 0x00000385
31c: 2000001c .word 0x2000001c
320: 20000000 .word 0x20000000
324: 000003a1 .word 0x000003a1
328: 00000000 .word 0x00000000
32c: e000ed00 .word 0xe000ed00
330: 0000033d .word 0x0000033d
334: 00000339 .word 0x00000339
00000338 <main>:
int main()
{
for(;;)
{
asm volatile("nop");
338: bf00 nop
for(;;)
33a: e7fd b.n 338 <main>
0000033c <__libc_init_array>:
33c: b570 push {r4, r5, r6, lr}
33e: 4d0d ldr r5, [pc, #52] ; (374 <__libc_init_array+0x38>)
340: 4c0d ldr r4, [pc, #52] ; (378 <__libc_init_array+0x3c>)
342: 1b64 subs r4, r4, r5
344: 10a4 asrs r4, r4, #2
346: 2600 movs r6, #0
348: 42a6 cmp r6, r4
34a: d109 bne.n 360 <__libc_init_array+0x24>
34c: 4d0b ldr r5, [pc, #44] ; (37c <__libc_init_array+0x40>)
34e: 4c0c ldr r4, [pc, #48] ; (380 <__libc_init_array+0x44>)
350: f000 f82e bl 3b0 <_init>
354: 1b64 subs r4, r4, r5
356: 10a4 asrs r4, r4, #2
358: 2600 movs r6, #0
35a: 42a6 cmp r6, r4
35c: d105 bne.n 36a <__libc_init_array+0x2e>
35e: bd70 pop {r4, r5, r6, pc}
360: f855 3b04 ldr.w r3, [r5], #4
364: 4798 blx r3
366: 3601 adds r6, #1
368: e7ee b.n 348 <__libc_init_array+0xc>
36a: f855 3b04 ldr.w r3, [r5], #4
36e: 4798 blx r3
370: 3601 adds r6, #1
372: e7f2 b.n 35a <__libc_init_array+0x1e>
374: 000003bc .word 0x000003bc
378: 000003bc .word 0x000003bc
37c: 000003bc .word 0x000003bc
380: 000003c0 .word 0x000003c0
00000384 <memcpy>:
384: 440a add r2, r1
386: 4291 cmp r1, r2
388: f100 33ff add.w r3, r0, #4294967295 ; 0xffffffff
38c: d100 bne.n 390 <memcpy+0xc>
38e: 4770 bx lr
390: b510 push {r4, lr}
392: f811 4b01 ldrb.w r4, [r1], #1
396: f803 4f01 strb.w r4, [r3, #1]!
39a: 4291 cmp r1, r2
39c: d1f9 bne.n 392 <memcpy+0xe>
39e: bd10 pop {r4, pc}
000003a0 <memset>:
3a0: 4402 add r2, r0
3a2: 4603 mov r3, r0
3a4: 4293 cmp r3, r2
3a6: d100 bne.n 3aa <memset+0xa>
3a8: 4770 bx lr
3aa: f803 1b01 strb.w r1, [r3], #1
3ae: e7f9 b.n 3a4 <memset+0x4>
000003b0 <_init>:
3b0: b5f8 push {r3, r4, r5, r6, r7, lr}
3b2: bf00 nop
3b4: bcf8 pop {r3, r4, r5, r6, r7}
3b6: bc08 pop {r3}
3b8: 469e mov lr, r3
3ba: 4770 bx lr
000003bc <__frame_dummy_init_array_entry>:
3bc: 0289 0000 ....
000003c0 <_fini>:
3c0: b5f8 push {r3, r4, r5, r6, r7, lr}
3c2: bf00 nop
3c4: bcf8 pop {r3, r4, r5, r6, r7}
3c6: bc08 pop {r3}
3c8: 469e mov lr, r3
3ca: 4770 bx lr
000003cc <__do_global_dtors_aux_fini_array_entry>:
3cc: 0265 0000 e...

File diff suppressed because it is too large Load Diff

@ -1,177 +0,0 @@
src/main.d src/main.o: ../src/main.c ../ESF/mcu/inc/samed5x.h \
../ESF/mcu/inc/same54p20a.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_cm4.h \
../ESF/common/inc/cmsis/cmsis_version.h \
../ESF/common/inc/cmsis/cmsis_compiler.h \
../ESF/common/inc/cmsis/cmsis_gcc.h ../ESF/common/inc/cmsis/mpu_armv7.h \
../ESF/mcu/inc/system_same54.h ../ESF/hdi/component/ac.h \
../ESF/hdi/component/adc.h ../ESF/hdi/component/aes.h \
../ESF/hdi/component/can.h ../ESF/hdi/component/ccl.h \
../ESF/hdi/component/cmcc.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/freqm.h ../ESF/hdi/component/gclk.h \
../ESF/hdi/component/gmac.h ../ESF/hdi/component/hmatrixb.h \
../ESF/hdi/component/icm.h ../ESF/hdi/component/i2s.h \
../ESF/hdi/component/mclk.h ../ESF/hdi/component/nvmctrl.h \
../ESF/hdi/component/oscctrl.h ../ESF/hdi/component/osc32kctrl.h \
../ESF/hdi/component/pac.h ../ESF/hdi/component/pcc.h \
../ESF/hdi/component/pdec.h ../ESF/hdi/component/pm.h \
../ESF/hdi/component/port.h ../ESF/hdi/component/qspi.h \
../ESF/hdi/component/ramecc.h ../ESF/hdi/component/rstc.h \
../ESF/hdi/component/rtc.h ../ESF/hdi/component/sdhc.h \
../ESF/hdi/component/sercom.h ../ESF/hdi/component/supc.h \
../ESF/hdi/component/tc.h ../ESF/hdi/component/tcc.h \
../ESF/hdi/component/trng.h ../ESF/hdi/component/usb.h \
../ESF/hdi/component/wdt.h ../ESF/hdi/instance/ac.h \
../ESF/hdi/instance/adc0.h ../ESF/hdi/instance/adc1.h \
../ESF/hdi/instance/aes.h ../ESF/hdi/instance/can0.h \
../ESF/hdi/instance/can1.h ../ESF/hdi/instance/ccl.h \
../ESF/hdi/instance/cmcc.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/freqm.h ../ESF/hdi/instance/gclk.h \
../ESF/hdi/instance/gmac.h ../ESF/hdi/instance/hmatrix.h \
../ESF/hdi/instance/icm.h ../ESF/hdi/instance/i2s.h \
../ESF/hdi/instance/mclk.h ../ESF/hdi/instance/nvmctrl.h \
../ESF/hdi/instance/oscctrl.h ../ESF/hdi/instance/osc32kctrl.h \
../ESF/hdi/instance/pac.h ../ESF/hdi/instance/pcc.h \
../ESF/hdi/instance/pdec.h ../ESF/hdi/instance/pm.h \
../ESF/hdi/instance/port.h ../ESF/hdi/instance/pukcc.h \
../ESF/hdi/instance/qspi.h ../ESF/hdi/instance/ramecc.h \
../ESF/hdi/instance/rstc.h ../ESF/hdi/instance/rtc.h \
../ESF/hdi/instance/sdhc0.h ../ESF/hdi/instance/sdhc1.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/sercom6.h ../ESF/hdi/instance/sercom7.h \
../ESF/hdi/instance/supc.h ../ESF/hdi/instance/tc0.h \
../ESF/hdi/instance/tc1.h ../ESF/hdi/instance/tc2.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/tcc3.h ../ESF/hdi/instance/tcc4.h \
../ESF/hdi/instance/trng.h ../ESF/hdi/instance/usb.h \
../ESF/hdi/instance/wdt.h ../ESF/hdi/pio/same54p20a.h
../ESF/mcu/inc/samed5x.h:
../ESF/mcu/inc/same54p20a.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_cm4.h:
../ESF/common/inc/cmsis/cmsis_version.h:
../ESF/common/inc/cmsis/cmsis_compiler.h:
../ESF/common/inc/cmsis/cmsis_gcc.h:
../ESF/common/inc/cmsis/mpu_armv7.h:
../ESF/mcu/inc/system_same54.h:
../ESF/hdi/component/ac.h:
../ESF/hdi/component/adc.h:
../ESF/hdi/component/aes.h:
../ESF/hdi/component/can.h:
../ESF/hdi/component/ccl.h:
../ESF/hdi/component/cmcc.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/freqm.h:
../ESF/hdi/component/gclk.h:
../ESF/hdi/component/gmac.h:
../ESF/hdi/component/hmatrixb.h:
../ESF/hdi/component/icm.h:
../ESF/hdi/component/i2s.h:
../ESF/hdi/component/mclk.h:
../ESF/hdi/component/nvmctrl.h:
../ESF/hdi/component/oscctrl.h:
../ESF/hdi/component/osc32kctrl.h:
../ESF/hdi/component/pac.h:
../ESF/hdi/component/pcc.h:
../ESF/hdi/component/pdec.h:
../ESF/hdi/component/pm.h:
../ESF/hdi/component/port.h:
../ESF/hdi/component/qspi.h:
../ESF/hdi/component/ramecc.h:
../ESF/hdi/component/rstc.h:
../ESF/hdi/component/rtc.h:
../ESF/hdi/component/sdhc.h:
../ESF/hdi/component/sercom.h:
../ESF/hdi/component/supc.h:
../ESF/hdi/component/tc.h:
../ESF/hdi/component/tcc.h:
../ESF/hdi/component/trng.h:
../ESF/hdi/component/usb.h:
../ESF/hdi/component/wdt.h:
../ESF/hdi/instance/ac.h:
../ESF/hdi/instance/adc0.h:
../ESF/hdi/instance/adc1.h:
../ESF/hdi/instance/aes.h:
../ESF/hdi/instance/can0.h:
../ESF/hdi/instance/can1.h:
../ESF/hdi/instance/ccl.h:
../ESF/hdi/instance/cmcc.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/freqm.h:
../ESF/hdi/instance/gclk.h:
../ESF/hdi/instance/gmac.h:
../ESF/hdi/instance/hmatrix.h:
../ESF/hdi/instance/icm.h:
../ESF/hdi/instance/i2s.h:
../ESF/hdi/instance/mclk.h:
../ESF/hdi/instance/nvmctrl.h:
../ESF/hdi/instance/oscctrl.h:
../ESF/hdi/instance/osc32kctrl.h:
../ESF/hdi/instance/pac.h:
../ESF/hdi/instance/pcc.h:
../ESF/hdi/instance/pdec.h:
../ESF/hdi/instance/pm.h:
../ESF/hdi/instance/port.h:
../ESF/hdi/instance/pukcc.h:
../ESF/hdi/instance/qspi.h:
../ESF/hdi/instance/ramecc.h:
../ESF/hdi/instance/rstc.h:
../ESF/hdi/instance/rtc.h:
../ESF/hdi/instance/sdhc0.h:
../ESF/hdi/instance/sdhc1.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/sercom6.h:
../ESF/hdi/instance/sercom7.h:
../ESF/hdi/instance/supc.h:
../ESF/hdi/instance/tc0.h:
../ESF/hdi/instance/tc1.h:
../ESF/hdi/instance/tc2.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/tcc3.h:
../ESF/hdi/instance/tcc4.h:
../ESF/hdi/instance/trng.h:
../ESF/hdi/instance/usb.h:
../ESF/hdi/instance/wdt.h:
../ESF/hdi/pio/same54p20a.h:

Binary file not shown.

@ -1 +0,0 @@
/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAM_ED5X/cfg

@ -1 +0,0 @@
/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/common

@ -1 +0,0 @@
/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAM_ED5X/hdi

@ -1 +0,0 @@
/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAM_ED5X/ld

@ -1 +0,0 @@
/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAM_ED5X/mcu

@ -1,10 +0,0 @@
#include "samed5x.h"
int main()
{
for(;;)
{
asm volatile("nop");
}
}

@ -1,50 +0,0 @@
load
monitor reset
make
load
monitor reset
q
q
r
q
break main
r
q
r
break main
r
s
s
q
q
break main
r
q
r
break main
r
r
q
q
q
q
q
q
load
q
load
monitor reset
break main
r
q
q
break main
r
q
load
q
q
q
break main
r
q

@ -1,115 +0,0 @@
ESF/mcu/src/startup_samd21.d ESF/mcu/src/startup_samd21.o: \
../ESF/mcu/src/startup_samd21.c ../ESF/mcu/inc/samd21.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/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/samd21.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/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:

@ -1,61 +0,0 @@
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:

@ -1,115 +0,0 @@
ESF/mcu/src/system_samd21.d ESF/mcu/src/system_samd21.o: \
../ESF/mcu/src/system_samd21.c ../ESF/mcu/inc/samd21.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/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/samd21.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/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:

@ -1,61 +0,0 @@
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:

@ -1,186 +0,0 @@
print-% : ; @echo $* = $($*)
# Generated Variables
PROJECT_NAME=testdir
CC=arm-none-eabi-gcc
CCX=arm-none-eabi-g++
OBJCOPY=arm-none-eabi-objcopy
OBJDUMP=arm-none-eabi-objdump
SIZE=arm-none-eabi-size
GDB=arm-none-eabi-gdb
AS=arm-none-eabi-as
MCPU=cortex-m0plus
MCU=__SAMD21J18A__
LD_PATH=../ESF/ld
LD_SCRIPT=$(LD_PATH)/samd21j18a_flash.ld
# Generated Flags
CFLAGS=-x c \
-DDEBUG \
-Os \
-ffunction-sections \
-mlong-calls \
-g3 \
-Wall \
-c \
-std=gnu99 \
-D$(MCU) \
-mcpu=$(MCPU) \
$(DIR_INCLUDES) \
-MD -MP \
-MF$(QUOTE)$(@:%.o=%.d)$(QUOTE) \
-MT$(QUOTE)$(@:%.o=%.d)$(QUOTE) \
-MT$(QUOTE)$(@:%.o=%.o)$(QUOTE)
ELF_FLAGS=-Wl,--start-group -l m -Wl,--end-group -mthumb \
-Wl,-Map=$(QUOTE)$(PROJECT_NAME).map$(QUOTE) --specs=nano.specs -Wl,--gc-sections -mcpu=$(MCPU) \
-T$(QUOTE)$(LD_SCRIPT)$(QUOTE)
HEX_FLAGS=-R .eeprom \
-R .fuse \
-R .lock \
-R .signature
EEP_FLAGS=-j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma \
.eeprom=0 --no-change-warnings
ifdef SystemRoot
SHELL = cmd.exe
MK_DIR = mkdir
else
ifeq ($(shell uname), Linux)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), CYGWIN)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), MINGW32)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), MINGW64)
MK_DIR = mkdir -p
endif
ifeq ($(shell uname | cut -d _ -f 1), DARWIN)
MK_DIR = mkdir -p
endif
endif
# List the subdirectories for creating object files
SUB_DIRS+= \
src \
ESF/mcu/src
OBJS+= \
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_samd21j18a.o$(QUOTE) \
$(QUOTE)ESF/mcu/src/system_samd21j18a.o$(QUOTE) \
$(QUOTE)src/main.o$(QUOTE)
# List the directories containing header files
DIR_INCLUDES += \
-I$(QUOTE)../ESF/hdi$(QUOTE) \
-I$(QUOTE)../ESF/hdi/component$(QUOTE) \
-I$(QUOTE)../ESF/hdi/instance$(QUOTE) \
-I$(QUOTE)../ESF/hdi/pio$(QUOTE) \
-I$(QUOTE)../ESF/mcu/inc$(QUOTE) \
-I$(QUOTE)../ESF/common/inc$(QUOTE) \
-I$(QUOTE)../ESF/common/inc/cmsis$(QUOTE) \
-I$(QUOTE)../inc$(QUOTE)
# List the dependency files
DEPS := $(OBJS:%.o=%.d)
DEPS_AS_ARGS := $(OBJS_AS_ARGS:%.o=%.d)
vpath %.c ../
vpath %.s ../
vpath %.S ../
.PHONY: debug clean
# All Targets
all: $(SUB_DIRS) $(PROJECT_NAME).elf \
$(PROJECT_NAME).bin \
$(PROJECT_NAME).hex \
$(PROJECT_NAME).eep \
$(PROJECT_NAME).lss
$(QUOTE)$(SIZE)$(QUOTE) $(QUOTE)$(PROJECT_NAME).elf$(QUOTE)
# Linker target
# Make ELF
$(PROJECT_NAME).elf: $(OBJS)
@echo Building target: $@
@echo Invoking: ARM/GNU Linker
$(QUOTE)$(CC)$(QUOTE) -o $@ $(OBJS_AS_ARGS) $(ELF_FLAGS)
@echo Finished building target: $@
# Make BIN
$(PROJECT_NAME).bin: $(PROJECT_NAME).elf
@echo Producing $@
$(QUOTE)$(OBJCOPY)$(QUOTE) -O binary $(QUOTE)$<$(QUOTE) $(QUOTE)$@$(QUOTE)
# Make HEX
$(PROJECT_NAME).hex: $(PROJECT_NAME).elf
@echo Producing $@
$(QUOTE)$(OBJCOPY)$(QUOTE) -O ihex $(HEX_FLAGS) $(QUOTE)$<$(QUOTE) $(QUOTE)$@$(QUOTE)
# Make EEP
$(PROJECT_NAME).eep: $(PROJECT_NAME).elf
@echo Producing $@
$(QUOTE)$(OBJCOPY)$(QUOTE) $(EEP_FLAGS) -O binary $(QUOTE)$<$(QUOTE) \
$(QUOTE)$@$(QUOTE) || exit 0
# Make LSS
$(PROJECT_NAME).lss: $(PROJECT_NAME).elf
$(QUOTE)$(OBJDUMP)$(QUOTE) -h -S $(QUOTE)$<$(QUOTE) > $(QUOTE)$@$(QUOTE)
# Compiler targets
%.o: %.c
@echo Building file: $<
@echo ARM/GNU C Compiler
$(QUOTE)$(CC)$(QUOTE) $(CFLAGS) -o $(QUOTE)$@$(QUOTE) $(QUOTE)$<$(QUOTE)
@echo Finished building: $<
%.o: %.s
@echo Building file: $<
@echo ARM/GNU Assembler
$(QUOTE)$(AS)$(QUOTE) $(CFLAGS) -o $(QUOTE)$@$(QUOTE) $(QUOTE)$<$(QUOTE)
@echo Finished building: $<
%.o: %.S
@echo Building file: $<
@echo ARM/GNU Preprocessing Assembler
$(QUOTE)$(CC)$(QUOTE) $(CFLAGS) -o $(QUOTE)$@$(QUOTE) $(QUOTE)$<$(QUOTE)
@echo Finished building: $<
$(SUB_DIRS):
$(MK_DIR) "$@"
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(DEPS)),)
-include $(DEPS)
endif
endif
clean:
rm -f $(OBJS_AS_ARGS)
rm -f $(DEPS_AS_ARGS)
rm -f $(PROJECT_NAME).a $(PROJECT_NAME).hex $(PROJECT_NAME).bin \
$(PROJECT_NAME).lss $(PROJECT_NAME).eep $(PROJECT_NAME).map \
$(PROJECT_NAME).srec $(PROJECT_NAME).elf
debug: $(PROJECT_NAME).elf
$(QUOTE)arm-none-eabi-gdb$(QUOTE) -iex $(QUOTE)target extended-remote localhost:3333$(QUOTE) $(PROJECT_NAME).elf
QUOTE := "

@ -1,63 +0,0 @@
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 \
/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
../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:
/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:

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,40 +0,0 @@
:1000000020200020FD000000F9000000F9000000A1
:1000100000000000000000000000000000000000E0
: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

@ -1,309 +0,0 @@
testdir.elf: file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000264 00000000 00000000 00010000 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
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 00010264 2**0
CONTENTS, READONLY
5 .comment 0000001e 00000000 00000000 0001028c 2**0
CONTENTS, READONLY
6 .debug_info 000007f6 00000000 00000000 000102aa 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
7 .debug_abbrev 000002a3 00000000 00000000 00010aa0 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
8 .debug_aranges 00000048 00000000 00000000 00010d43 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
9 .debug_ranges 000000f0 00000000 00000000 00010d8b 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
10 .debug_macro 00012b53 00000000 00000000 00010e7b 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
11 .debug_line 000007ad 00000000 00000000 000239ce 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
12 .debug_str 00093ff8 00000000 00000000 0002417b 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
13 .debug_frame 000000d8 00000000 00000000 000b8174 2**2
CONTENTS, READONLY, DEBUGGING, OCTETS
14 .debug_loc 0000027c 00000000 00000000 000b824c 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
Disassembly of section .text:
00000000 <exception_table>:
0: 20 20 00 20 fd 00 00 00 f9 00 00 00 f9 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 ....
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
000000d8 <frame_dummy>:
d8: 4b04 ldr r3, [pc, #16] ; (ec <frame_dummy+0x14>)
da: b510 push {r4, lr}
dc: 2b00 cmp r3, #0
de: d003 beq.n e8 <frame_dummy+0x10>
e0: 4903 ldr r1, [pc, #12] ; (f0 <frame_dummy+0x18>)
e2: 4804 ldr r0, [pc, #16] ; (f4 <frame_dummy+0x1c>)
e4: e000 b.n e8 <frame_dummy+0x10>
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
000000f8 <Dummy_Handler>:
/**
* \brief Default interrupt handler for unused IRQs.
*/
void Dummy_Handler(void)
{
while (1) {
f8: e7fe b.n f8 <Dummy_Handler>
...
000000fc <Reset_Handler>:
if (pSrc != pDest) {
fc: 4913 ldr r1, [pc, #76] ; (14c <Reset_Handler+0x50>)
fe: 4814 ldr r0, [pc, #80] ; (150 <Reset_Handler+0x54>)
{
100: b510 push {r4, lr}
if (pSrc != pDest) {
102: 4281 cmp r1, r0
104: d00a beq.n 11c <Reset_Handler+0x20>
*pDest++ = *pSrc++;
106: 4b13 ldr r3, [pc, #76] ; (154 <Reset_Handler+0x58>)
108: 1ec4 subs r4, r0, #3
10a: 2200 movs r2, #0
10c: 42a3 cmp r3, r4
10e: d303 bcc.n 118 <Reset_Handler+0x1c>
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 <Reset_Handler+0x5c>)
11a: 4798 blx r3
*pDest++ = 0;
11c: 480f ldr r0, [pc, #60] ; (15c <Reset_Handler+0x60>)
11e: 4b10 ldr r3, [pc, #64] ; (160 <Reset_Handler+0x64>)
120: 1ec1 subs r1, r0, #3
122: 2200 movs r2, #0
124: 4299 cmp r1, r3
126: d803 bhi.n 130 <Reset_Handler+0x34>
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 <Reset_Handler+0x68>)
134: 4798 blx r3
SCB->VTOR = ((uint32_t) pSrc & SCB_VTOR_TBLOFF_Msk);
136: 22ff movs r2, #255 ; 0xff
138: 4b0b ldr r3, [pc, #44] ; (168 <Reset_Handler+0x6c>)
13a: 4393 bics r3, r2
13c: 4a0b ldr r2, [pc, #44] ; (16c <Reset_Handler+0x70>)
13e: 6093 str r3, [r2, #8]
__libc_init_array();
140: 4b0b ldr r3, [pc, #44] ; (170 <Reset_Handler+0x74>)
142: 4798 blx r3
main();
144: 4b0b ldr r3, [pc, #44] ; (174 <Reset_Handler+0x78>)
146: 4798 blx r3
while (1);
148: e7fe b.n 148 <Reset_Handler+0x4c>
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
00000178 <main>:
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);
178: 4a13 ldr r2, [pc, #76] ; (1c8 <main+0x50>)
17a: 4b14 ldr r3, [pc, #80] ; (1cc <main+0x54>)
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);
17e: 2080 movs r0, #128 ; 0x80
*dir_reg |= (1 << pin);
180: 430b orrs r3, r1
*out_reg &= ~(1 << pin);
182: 2102 movs r1, #2
{
184: b530 push {r4, r5, lr}
*dir_reg |= (1 << pin);
186: 6013 str r3, [r2, #0]
*out_reg &= ~(1 << pin);
188: 4c11 ldr r4, [pc, #68] ; (1d0 <main+0x58>)
18a: 4a12 ldr r2, [pc, #72] ; (1d4 <main+0x5c>)
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]
{
19a: 2364 movs r3, #100 ; 0x64
asm volatile("nop");
19c: 46c0 nop ; (mov r8, r8)
for(i=0;i<100;i++)
19e: 3b01 subs r3, #1
1a0: 2b00 cmp r3, #0
1a2: d1fb bne.n 19c <main+0x24>
for(;n>0;n--)
1a4: 3d01 subs r5, #1
1a6: 2d00 cmp r5, #0
1a8: d1f7 bne.n 19a <main+0x22>
*out_reg |= (1 << pin);
1aa: 25fa movs r5, #250 ; 0xfa
*out_reg &= ~(1 << pin);
1ac: 6813 ldr r3, [r2, #0]
*out_reg |= (1 << pin);
1ae: 006d lsls r5, r5, #1
*out_reg &= ~(1 << pin);
1b0: 4023 ands r3, r4
*out_reg |= (1 << pin);
1b2: 430b orrs r3, r1
1b4: 6013 str r3, [r2, #0]
*out_reg &= ~(1 << pin);
1b6: 2364 movs r3, #100 ; 0x64
asm volatile("nop");
1b8: 46c0 nop ; (mov r8, r8)
for(i=0;i<100;i++)
1ba: 3b01 subs r3, #1
1bc: 2b00 cmp r3, #0
1be: d1fb bne.n 1b8 <main+0x40>
for(;n>0;n--)
1c0: 3d01 subs r5, #1
1c2: 2d00 cmp r5, #0
1c4: d1f7 bne.n 1b6 <main+0x3e>
1c6: e7e2 b.n 18e <main+0x16>
1c8: 41004480 .word 0x41004480
1cc: 40000002 .word 0x40000002
1d0: bfffffff .word 0xbfffffff
1d4: 41004490 .word 0x41004490
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
00000220 <memcpy>:
220: 2300 movs r3, #0
222: b510 push {r4, lr}
224: 429a cmp r2, r3
226: d100 bne.n 22a <memcpy+0xa>
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 <memcpy+0x4>
00000232 <memset>:
232: 0003 movs r3, r0
234: 1882 adds r2, r0, r2
236: 4293 cmp r3, r2
238: d100 bne.n 23c <memset+0xa>
23a: 4770 bx lr
23c: 7019 strb r1, [r3, #0]
23e: 3301 adds r3, #1
240: e7f9 b.n 236 <memset+0x4>
...
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
00000250 <__frame_dummy_init_array_entry>:
250: 00d9 0000 ....
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
00000260 <__do_global_dtors_aux_fini_array_entry>:
260: 00b1 0000 ....

@ -1,678 +0,0 @@
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-atexit.o)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o (atexit)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-exit.o)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o (exit)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-fini.o)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o (__libc_fini_array)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-impure.o)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-exit.o) (_global_impure_ptr)
/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_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)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-atexit.o) (__register_exitproc)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__call_atexit.o)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__atexit.o) (__call_exitprocs)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
/usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__atexit.o) (__retarget_lock_acquire_recursive)
Allocating common symbols
Common symbol size file
__lock___atexit_recursive_mutex
0x1 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
__lock___arc4random_mutex
0x1 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
__lock___env_recursive_mutex
0x1 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
__lock___sinit_recursive_mutex
0x1 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
__lock___malloc_recursive_mutex
0x1 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
__lock___at_quick_exit_mutex
0x1 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
__lock___dd_hash_mutex
0x1 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
__lock___tz_mutex 0x1 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
__lock___sfp_recursive_mutex
0x1 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
Discarded input sections
.text 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crti.o
.data 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crti.o
.bss 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crti.o
.text 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o
.data 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o
.bss 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o
.data.__dso_handle
0x0000000000000000 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o
.text 0x0000000000000000 0x74 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o
.data 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o
.bss 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o
.ARM.extab 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/crt0.o
.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_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_samd21j18a.o
.text.SystemCoreClockUpdate
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_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_samd21j18a.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
.group 0x0000000000000000 0xc src/main.o
.group 0x0000000000000000 0xc src/main.o
.group 0x0000000000000000 0xc src/main.o
.group 0x0000000000000000 0xc src/main.o
.text 0x0000000000000000 0x0 src/main.o
.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 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 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 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)
.text.atexit 0x0000000000000000 0x10 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-atexit.o)
.debug_frame 0x0000000000000000 0x28 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-atexit.o)
.ARM.attributes
0x0000000000000000 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-atexit.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-exit.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-exit.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-exit.o)
.text.exit 0x0000000000000000 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-exit.o)
.debug_frame 0x0000000000000000 0x28 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-exit.o)
.ARM.attributes
0x0000000000000000 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-exit.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-fini.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-fini.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-fini.o)
.text.__libc_fini_array
0x0000000000000000 0x28 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-fini.o)
.debug_frame 0x0000000000000000 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-fini.o)
.ARM.attributes
0x0000000000000000 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-fini.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-impure.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-impure.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-impure.o)
.data._impure_ptr
0x0000000000000000 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-impure.o)
.data.impure_data
0x0000000000000000 0x60 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-impure.o)
.rodata._global_impure_ptr
0x0000000000000000 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-impure.o)
.ARM.attributes
0x0000000000000000 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-impure.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-init.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-init.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-init.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-memcpy-stub.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-memcpy-stub.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-memcpy-stub.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-memset.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-memset.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-memset.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)
.text.__register_exitproc
0x0000000000000000 0xcc /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._global_atexit0
0x0000000000000000 0x8c /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.__atexit_dummy
0x0000000000000000 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__atexit.o)
.debug_frame 0x0000000000000000 0x30 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__atexit.o)
.ARM.attributes
0x0000000000000000 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__atexit.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-__call_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-__call_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-__call_atexit.o)
.text.__call_exitprocs
0x0000000000000000 0xb0 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__call_atexit.o)
.bss._global_atexit
0x0000000000000000 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__call_atexit.o)
.data.__atexit_recursive_mutex
0x0000000000000000 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__call_atexit.o)
.debug_frame 0x0000000000000000 0x34 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__call_atexit.o)
.ARM.attributes
0x0000000000000000 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-__call_atexit.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-lock.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-lock.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-lock.o)
.text.__retarget_lock_init
0x0000000000000000 0x2 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.text.__retarget_lock_init_recursive
0x0000000000000000 0x2 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.text.__retarget_lock_close
0x0000000000000000 0x2 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.text.__retarget_lock_close_recursive
0x0000000000000000 0x2 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.text.__retarget_lock_acquire
0x0000000000000000 0x2 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.text.__retarget_lock_acquire_recursive
0x0000000000000000 0x2 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.text.__retarget_lock_try_acquire
0x0000000000000000 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.text.__retarget_lock_try_acquire_recursive
0x0000000000000000 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.text.__retarget_lock_release
0x0000000000000000 0x2 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.text.__retarget_lock_release_recursive
0x0000000000000000 0x2 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.debug_frame 0x0000000000000000 0xb0 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.ARM.attributes
0x0000000000000000 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
COMMON 0x0000000000000000 0x9 /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-lock.o)
.text 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtend.o
.data 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtend.o
.bss 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtend.o
.eh_frame 0x0000000000000000 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtend.o
.ARM.attributes
0x0000000000000000 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtend.o
.text 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtn.o
.data 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtn.o
.bss 0x0000000000000000 0x0 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtn.o
Memory Configuration
Name Origin Length Attributes
rom 0x0000000000000000 0x0000000000040000 xr
ram 0x0000000020000000 0x0000000000008000 xrw
*default* 0x0000000000000000 0xffffffffffffffff
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_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
END GROUP
START GROUP
LOAD /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/libgcc.a
LOAD /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a
END GROUP
START GROUP
LOAD /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/libgcc.a
LOAD /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a
END GROUP
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 0x264
0x0000000000000000 . = ALIGN (0x4)
0x0000000000000000 _sfixed = .
*(.vectors .vectors.*)
.vectors 0x0000000000000000 0xb0 ESF/mcu/src/startup_samd21j18a.o
0x0000000000000000 exception_table
*(.text .text.* .gnu.linkonce.t.*)
.text.__do_global_dtors_aux
0x00000000000000b0 0x28 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o
.text.frame_dummy
0x00000000000000d8 0x20 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o
.text.Dummy_Handler
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
0x00000000000000fc 0x7c ESF/mcu/src/startup_samd21j18a.o
0x00000000000000fc Reset_Handler
.text.startup.main
0x0000000000000178 0x60 src/main.o
0x0000000000000178 main
.text.__libc_init_array
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 0x0000000000000242 0x0 linker stubs
*(.glue_7)
.glue_7 0x0000000000000242 0x0 linker stubs
*(.rodata .rodata* .gnu.linkonce.r.*)
*(.ARM.extab* .gnu.linkonce.armextab.*)
0x0000000000000244 . = ALIGN (0x4)
*fill* 0x0000000000000242 0x2
*(.init)
.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)
0x0000000000000250 __preinit_array_end = .
0x0000000000000250 . = ALIGN (0x4)
0x0000000000000250 __init_array_start = .
*(SORT_BY_NAME(.init_array.*))
*(.init_array)
.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)
0x0000000000000254 . = ALIGN (0x4)
*(.fini)
.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 0x0000000000000260 0x4 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o
*(SORT_BY_NAME(.fini_array.*))
0x0000000000000264 __fini_array_end = .
*crtbegin.o(.dtors)
*(EXCLUDE_FILE(*crtend.o) .dtors)
*(SORT_BY_NAME(.dtors.*))
*crtend.o(.dtors)
0x0000000000000264 . = ALIGN (0x4)
0x0000000000000264 _efixed = .
[!provide] PROVIDE (__exidx_start = .)
.vfp11_veneer 0x0000000000000264 0x0
.vfp11_veneer 0x0000000000000264 0x0 linker stubs
.v4_bx 0x0000000000000264 0x0
.v4_bx 0x0000000000000264 0x0 linker stubs
.iplt 0x0000000000000264 0x0
.iplt 0x0000000000000264 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 0x0000000000000264 0x0
.eh_frame 0x0000000000000264 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 = .)
0x0000000000000264 . = ALIGN (0x4)
0x0000000000000264 _etext = .
.relocate 0x0000000020000000 0x0 load address 0x0000000000000264
0x0000000020000000 . = ALIGN (0x4)
0x0000000020000000 _srelocate = .
*(.ramfunc .ramfunc.*)
*(.data .data.*)
0x0000000020000000 . = ALIGN (0x4)
0x0000000020000000 _erelocate = .
.bss 0x0000000020000000 0x1c
0x0000000020000000 . = ALIGN (0x4)
0x0000000020000000 _sbss = .
0x0000000020000000 _szero = .
*(.bss .bss.*)
.bss.completed.1
0x0000000020000000 0x1 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o
*fill* 0x0000000020000001 0x3
.bss.object.0 0x0000000020000004 0x18 /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crtbegin.o
*(COMMON)
0x000000002000001c . = ALIGN (0x4)
0x000000002000001c _ebss = .
0x000000002000001c _ezero = .
.stack 0x000000002000001c 0x2004
0x0000000020000020 . = ALIGN (0x8)
*fill* 0x000000002000001c 0x4
0x0000000020000020 _sstack = .
0x0000000020002020 . = (. + STACK_SIZE)
*fill* 0x0000000020000020 0x2000
0x0000000020002020 . = ALIGN (0x8)
0x0000000020002020 _estack = .
0x0000000020002020 . = ALIGN (0x4)
0x0000000020002020 _end = .
OUTPUT(testdir.elf elf32-littlearm)
LOAD linker stubs
.ARM.attributes
0x0000000000000000 0x28
.ARM.attributes
0x0000000000000000 0x1e /usr/lib/gcc/arm-none-eabi/10.2.0/thumb/v6-m/nofp/crti.o
.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_samd21j18a.o
.ARM.attributes
0x0000000000000076 0x2c src/main.o
.ARM.attributes
0x00000000000000a2 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)
.ARM.attributes
0x00000000000000ce 0x2c /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)
.ARM.attributes
0x00000000000000fa 0x2c /usr/lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o)
.ARM.attributes
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_samd21j18a.o
0x1f (size before relaxing)
.comment 0x000000000000001e 0x1f 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 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_samd21j18a.o
.debug_aranges
0x0000000000000028 0x20 src/main.o
.debug_ranges 0x0000000000000000 0xf0
.debug_ranges 0x0000000000000000 0x18 ESF/mcu/src/startup_samd21j18a.o
.debug_ranges 0x0000000000000018 0xd8 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 0x7ad
.debug_line 0x0000000000000000 0x34e ESF/mcu/src/startup_samd21j18a.o
.debug_line 0x000000000000034e 0x45f src/main.o
.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 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

@ -1 +0,0 @@
/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAMD21/SAMD21A/cfg/

@ -1 +0,0 @@
/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/common/

@ -1 +0,0 @@
/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAMD21/SAMD21A/ld/

@ -1 +0,0 @@
/storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAMD21/SAMD21A/mcu/

@ -1 +0,0 @@
#include <sam.h>

@ -1,78 +0,0 @@
#include "igloo.h"
#define PORT_ADDR (0x41004400)
#define PORT_GROUP_SIZE (0x80)
#define PORT_A_OFF (0x00)
#define PORT_B_OFF (0x80)
#define PORT_DIR_OFF (0x00)
#define PORT_OUT_OFF (0x10)
// LED 0: PA09
// LED 1: PB01
#define LED0_PORT (1)
#define LED0_PIN (30)
#define LED1_PORT (1)
#define LED1_PIN (1)
static void init_pin(int port, int pin);
static void set_pin(int port, int pin);
static void clr_pin(int port, int pin);
static void delay(int n)
{
int i;
for(;n>0;n--)
{
for(i=0;i<100;i++)
{
asm volatile("nop");
}
}
}
int main()
{
init_pin(LED0_PORT, LED0_PIN);
init_pin(LED1_PORT, LED1_PIN);
for(;;)
{
set_pin(LED0_PORT, LED0_PIN);
clr_pin(LED1_PORT, LED1_PIN);
delay(500);
clr_pin(LED0_PORT, LED0_PIN);
set_pin(LED1_PORT, LED1_PIN);
delay(500);
}
return 0;
}
// port 0: A
// port 1: B
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);
}
void set_pin(int port, int pin)
{
uint32_t* out_reg = (uint32_t*)((PORT_ADDR | (port * PORT_GROUP_SIZE) | PORT_OUT_OFF));
*out_reg |= (1 << pin);
}
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);
}
Loading…
Cancel
Save