diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-12-26 15:41:37 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-01-07 19:33:26 -0500 |
commit | 70bbdf93347c814ae39b1cd04d04fd66706a8b7e (patch) | |
tree | 4b5139f17c15256c8be843e50602590575a0cde7 /src | |
parent | e70b70fb75bb9b6017df3f5ff2d900b897ad3a8c (diff) | |
download | kutter-70bbdf93347c814ae39b1cd04d04fd66706a8b7e.tar.gz kutter-70bbdf93347c814ae39b1cd04d04fd66706a8b7e.tar.xz kutter-70bbdf93347c814ae39b1cd04d04fd66706a8b7e.zip |
sam3: Rename src/sam3x8e to src/sam3
This is in preparation for merging sam3 and sam4 code into one
directory.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/Kconfig | 2 | ||||
-rw-r--r-- | src/sam3/Kconfig (renamed from src/sam3x8e/Kconfig) | 4 | ||||
-rw-r--r-- | src/sam3/Makefile (renamed from src/sam3x8e/Makefile) | 10 | ||||
-rw-r--r-- | src/sam3/adc.c (renamed from src/sam3x8e/adc.c) | 0 | ||||
-rw-r--r-- | src/sam3/gpio.c (renamed from src/sam3x8e/gpio.c) | 0 | ||||
-rw-r--r-- | src/sam3/gpio.h (renamed from src/sam3x8e/gpio.h) | 4 | ||||
-rw-r--r-- | src/sam3/internal.h (renamed from src/sam3x8e/internal.h) | 0 | ||||
-rw-r--r-- | src/sam3/main.c (renamed from src/sam3x8e/main.c) | 0 | ||||
-rw-r--r-- | src/sam3/serial.c (renamed from src/sam3x8e/serial.c) | 0 | ||||
-rw-r--r-- | src/sam3/spi.c (renamed from src/sam3x8e/spi.c) | 0 | ||||
-rw-r--r-- | src/sam3/timer.c (renamed from src/sam3x8e/timer.c) | 0 |
11 files changed, 10 insertions, 10 deletions
diff --git a/src/Kconfig b/src/Kconfig index cb3d3602..69768a4e 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -25,7 +25,7 @@ choice endchoice source "src/avr/Kconfig" -source "src/sam3x8e/Kconfig" +source "src/sam3/Kconfig" source "src/samd21/Kconfig" source "src/sam4e8e/Kconfig" source "src/lpc176x/Kconfig" diff --git a/src/sam3x8e/Kconfig b/src/sam3/Kconfig index 9a254351..03bdac8a 100644 --- a/src/sam3x8e/Kconfig +++ b/src/sam3/Kconfig @@ -1,4 +1,4 @@ -# Kconfig settings for SAM3x8e processors +# Kconfig settings for SAM3 processors if MACH_SAM3X8E @@ -12,7 +12,7 @@ config SAM_SELECT config BOARD_DIRECTORY string - default "sam3x8e" + default "sam3" config CLOCK_FREQ int diff --git a/src/sam3x8e/Makefile b/src/sam3/Makefile index a06b3c46..98809cdd 100644 --- a/src/sam3x8e/Makefile +++ b/src/sam3/Makefile @@ -1,9 +1,9 @@ -# Additional sam3x8e build rules +# Additional SAM3 build rules # Setup the toolchain CROSS_PREFIX=arm-none-eabi- -dirs-y += src/sam3x8e src/generic +dirs-y += src/sam3 src/generic dirs-y += lib/sam3x/gcc/gcc CFLAGS += -mthumb -mcpu=cortex-m3 -falign-loops=16 @@ -15,13 +15,13 @@ CFLAGS_klipper.elf += -T lib/sam3x/gcc/gcc/sam3x8e_flash.ld CFLAGS_klipper.elf += --specs=nano.specs --specs=nosys.specs # Add source files -src-y += sam3x8e/main.c sam3x8e/timer.c -src-y += sam3x8e/gpio.c sam3x8e/adc.c sam3x8e/spi.c +src-y += sam3/main.c sam3/timer.c +src-y += sam3/gpio.c sam3/adc.c sam3/spi.c src-y += generic/crc16_ccitt.c generic/alloc.c src-y += generic/armcm_irq.c generic/timer_irq.c src-y += ../lib/sam3x/gcc/system_sam3xa.c src-y += ../lib/sam3x/gcc/gcc/startup_sam3xa.c -src-$(CONFIG_SERIAL) += sam3x8e/serial.c generic/serial_irq.c +src-$(CONFIG_SERIAL) += sam3/serial.c generic/serial_irq.c # Build the additional hex output file target-y += $(OUT)klipper.bin diff --git a/src/sam3x8e/adc.c b/src/sam3/adc.c index 4a4d2cf0..4a4d2cf0 100644 --- a/src/sam3x8e/adc.c +++ b/src/sam3/adc.c diff --git a/src/sam3x8e/gpio.c b/src/sam3/gpio.c index f48c5f0d..f48c5f0d 100644 --- a/src/sam3x8e/gpio.c +++ b/src/sam3/gpio.c diff --git a/src/sam3x8e/gpio.h b/src/sam3/gpio.h index be9d41c0..1c412d8d 100644 --- a/src/sam3x8e/gpio.h +++ b/src/sam3/gpio.h @@ -1,5 +1,5 @@ -#ifndef __SAM3X8E_GPIO_H -#define __SAM3X8E_GPIO_H +#ifndef __SAM3_GPIO_H +#define __SAM3_GPIO_H #include <stdint.h> // uint32_t diff --git a/src/sam3x8e/internal.h b/src/sam3/internal.h index 8246d7a4..8246d7a4 100644 --- a/src/sam3x8e/internal.h +++ b/src/sam3/internal.h diff --git a/src/sam3x8e/main.c b/src/sam3/main.c index dd8445ac..dd8445ac 100644 --- a/src/sam3x8e/main.c +++ b/src/sam3/main.c diff --git a/src/sam3x8e/serial.c b/src/sam3/serial.c index 1fe55751..1fe55751 100644 --- a/src/sam3x8e/serial.c +++ b/src/sam3/serial.c diff --git a/src/sam3x8e/spi.c b/src/sam3/spi.c index 91b28e34..91b28e34 100644 --- a/src/sam3x8e/spi.c +++ b/src/sam3/spi.c diff --git a/src/sam3x8e/timer.c b/src/sam3/timer.c index f7698c65..f7698c65 100644 --- a/src/sam3x8e/timer.c +++ b/src/sam3/timer.c |