diff --git a/src/generic/armcm_boot.c b/src/generic/armcm_canboot.c similarity index 97% rename from src/generic/armcm_boot.c rename to src/generic/armcm_canboot.c index 83a3de7..46a0fb6 100644 --- a/src/generic/armcm_boot.c +++ b/src/generic/armcm_canboot.c @@ -1,4 +1,4 @@ -// ARM Cortex-M vector table and initial bootup handling +// CanBoot specific entry code for ARM Cortex-M vector table and bootup // // Copyright (C) 2019 Kevin O'Connor // diff --git a/src/lpc176x/Makefile b/src/lpc176x/Makefile index 5a071aa..45e9fcc 100644 --- a/src/lpc176x/Makefile +++ b/src/lpc176x/Makefile @@ -13,7 +13,7 @@ $(OUT)canboot.elf: $(OUT)src/generic/armcm_link.ld # Add source files src-y += lpc176x/main.c lpc176x/gpio.c lpc176x/flash.c -src-y += generic/armcm_boot.c generic/armcm_irq.c +src-y += generic/armcm_canboot.c generic/armcm_irq.c src-y += generic/armcm_timer.c generic/crc16_ccitt.c src-y += ../lib/lpc176x/device/system_LPC17xx.c diff --git a/src/stm32/Makefile b/src/stm32/Makefile index 7d2fb4f..37dd8a5 100644 --- a/src/stm32/Makefile +++ b/src/stm32/Makefile @@ -26,7 +26,7 @@ $(OUT)canboot.elf: $(OUT)src/generic/armcm_link.ld # Add source files src-y += stm32/gpio.c stm32/flash.c stm32/clockline.c -src-y += generic/armcm_boot.c generic/armcm_irq.c generic/crc16_ccitt.c +src-y += generic/armcm_canboot.c generic/armcm_irq.c generic/crc16_ccitt.c src-$(CONFIG_MACH_STM32F0) += ../lib/stm32f0/system_stm32f0xx.c src-$(CONFIG_MACH_STM32F0) += stm32/stm32f0.c stm32/stm32f0_timer.c src-$(CONFIG_MACH_STM32F0) += stm32/gpioperiph.c