armcm_canboot: New file for CanBoot entry code

Rename the existing armcm_boot.c file to armcm_canboot.c .  This makes
it easier to track changes between CanBoot and Klipper as the CanBoot
entry code is notably different from the Klipper entry code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-07-27 21:57:19 -04:00 committed by Eric Callahan
parent 555e0e5631
commit 28628012bf
3 changed files with 3 additions and 3 deletions

View File

@ -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 <kevin@koconnor.net>
//

View File

@ -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

View File

@ -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