generic: Move generic parts of sam3x8e timer.c to generic directory
Most of sam3x8e/timer.c is going to be platform agnostic for any board with standard irq handling. Move the generic code into a new file generic/timer.c. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -16,7 +16,7 @@ LDFLAGS-y += --specs=nano.specs --specs=nosys.specs
|
||||
|
||||
# Add source files
|
||||
src-y += sam3x8e/main.c sam3x8e/timer.c sam3x8e/gpio.c
|
||||
src-y += generic/crc16_ccitt.c generic/armcm_irq.c
|
||||
src-y += generic/crc16_ccitt.c generic/armcm_irq.c generic/timer.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