armcm_irq: Move ARM Cortex-M irq handling to new file
The irq handling in sam3x8e isn't specific to the sam3x8e proccessor - it's generic for all armcm type machines. So, move the definitions into a new file generic/armcm-irq.c Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -15,7 +15,8 @@ LDFLAGS-y += -T lib/cmsis-sam3x8e/source/gcc/sam3x8e_flash.ld
|
||||
LDFLAGS-y += --specs=nano.specs --specs=nosys.specs
|
||||
|
||||
# Add source files
|
||||
src-y += sam3x8e/main.c sam3x8e/timer.c sam3x8e/gpio.c generic/crc16_ccitt.c
|
||||
src-y += sam3x8e/main.c sam3x8e/timer.c sam3x8e/gpio.c
|
||||
src-y += generic/crc16_ccitt.c generic/armcm_irq.c
|
||||
src-y += ../lib/cmsis-sam3x8e/source/system_sam3xa.c
|
||||
src-y += ../lib/cmsis-sam3x8e/source/gcc/startup_sam3xa.c
|
||||
src-$(CONFIG_SERIAL) += sam3x8e/serial.c
|
||||
|
||||
Reference in New Issue
Block a user