diff --git a/os/common/startup/ARM/compilers/GCC/mk/startup_sama5d2.mk b/os/common/startup/ARM/compilers/GCC/mk/startup_sama5d2.mk index 9b91abab2..cbc14536c 100755 --- a/os/common/startup/ARM/compilers/GCC/mk/startup_sama5d2.mk +++ b/os/common/startup/ARM/compilers/GCC/mk/startup_sama5d2.mk @@ -1,5 +1,6 @@ # List of the ChibiOS generic SAMA5D2 file. -STARTUPSRC = $(CHIBIOS)/os/common/startup/ARM/compilers/GCC/crt1.c +STARTUPSRC = $(CHIBIOS)/os/common/startup/ARM/compilers/GCC/crt1.c \ + $(CHIBIOS)/os/common/startup/ARMCAx-TZ/devices/SAMA5D2/mmu.c STARTUPASM = $(CHIBIOS)/os/common/startup/ARM/devices/SAMA5D2/boot.S \ $(CHIBIOS)/os/common/startup/ARM/compilers/GCC/vectors.S \ @@ -7,7 +8,8 @@ STARTUPASM = $(CHIBIOS)/os/common/startup/ARM/devices/SAMA5D2/boot.S \ STARTUPINC = $(CHIBIOS)/os/common/portability/GCC \ ${CHIBIOS}/os/common/startup/ARM/devices/SAMA5D2 \ - $(CHIBIOS)/os/common/ext/ARM/CMSIS/Core_A/Include + $(CHIBIOS)/os/common/ext/ARM/CMSIS/Core_A/Include \ + $(CHIBIOS)/os/common/portability/GCC STARTUPLD = ${CHIBIOS}/os/common/startup/ARM/compilers/GCC/ld