From 6970de6df7115ab2a29283d2e3f8c1fe835bcb77 Mon Sep 17 00:00:00 2001 From: adustm Date: Fri, 27 Jan 2017 19:27:24 +0100 Subject: [PATCH] STM32F303x8 folder struct --- .../TARGET_NUCLEO_F303K8/PeripheralNames.h | 0 .../TARGET_NUCLEO_F303K8/PeripheralPins.c | 0 .../{ => TARGET_STM32F303x8}/TARGET_NUCLEO_F303K8/PinNames.h | 0 .../device/TOOLCHAIN_ARM_MICRO/startup_stm32f303x8.S | 0 .../device/TOOLCHAIN_ARM_MICRO/stm32f303x8.sct | 0 .../device/TOOLCHAIN_ARM_STD/startup_stm32f303x8.S | 0 .../device/TOOLCHAIN_ARM_STD/stm32f303x8.sct | 0 .../device/TOOLCHAIN_ARM_STD/sys.cpp | 0 .../device/TOOLCHAIN_GCC_ARM/STM32F303X8.ld | 0 .../device/TOOLCHAIN_GCC_ARM/startup_stm32f303x8.S | 0 .../device/TOOLCHAIN_IAR/startup_stm32f303x8.S | 0 .../device/TOOLCHAIN_IAR/stm32f303x8.icf | 0 .../{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/cmsis.h | 0 .../device/cmsis_nvic.c | 0 .../device/cmsis_nvic.h | 0 .../device/hal_tick.h | 0 .../device/stm32f303x8.h | 0 .../device/stm32f3xx.h | 0 .../device/system_stm32f3xx.c | 0 .../device/system_stm32f3xx.h | 0 .../{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/objects.h | 0 targets/targets.json | 2 +- 22 files changed, 1 insertion(+), 1 deletion(-) rename targets/TARGET_STM/TARGET_STM32F3/{ => TARGET_STM32F303x8}/TARGET_NUCLEO_F303K8/PeripheralNames.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{ => TARGET_STM32F303x8}/TARGET_NUCLEO_F303K8/PeripheralPins.c (100%) rename targets/TARGET_STM/TARGET_STM32F3/{ => TARGET_STM32F303x8}/TARGET_NUCLEO_F303K8/PinNames.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/TOOLCHAIN_ARM_MICRO/startup_stm32f303x8.S (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/TOOLCHAIN_ARM_MICRO/stm32f303x8.sct (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/TOOLCHAIN_ARM_STD/startup_stm32f303x8.S (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/TOOLCHAIN_ARM_STD/stm32f303x8.sct (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/TOOLCHAIN_ARM_STD/sys.cpp (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/TOOLCHAIN_GCC_ARM/STM32F303X8.ld (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/TOOLCHAIN_GCC_ARM/startup_stm32f303x8.S (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/TOOLCHAIN_IAR/startup_stm32f303x8.S (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/TOOLCHAIN_IAR/stm32f303x8.icf (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/cmsis.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/cmsis_nvic.c (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/cmsis_nvic.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/hal_tick.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/stm32f303x8.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/stm32f3xx.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/system_stm32f3xx.c (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/device/system_stm32f3xx.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F303K8 => TARGET_STM32F303x8}/objects.h (100%) diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/TARGET_NUCLEO_F303K8/PeripheralNames.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/TARGET_NUCLEO_F303K8/PeripheralNames.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/TARGET_NUCLEO_F303K8/PeripheralPins.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/TARGET_NUCLEO_F303K8/PeripheralPins.c diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PinNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/TARGET_NUCLEO_F303K8/PinNames.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/TARGET_NUCLEO_F303K8/PinNames.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_ARM_MICRO/startup_stm32f303x8.S b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_ARM_MICRO/startup_stm32f303x8.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_ARM_MICRO/startup_stm32f303x8.S rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_ARM_MICRO/startup_stm32f303x8.S diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_ARM_MICRO/stm32f303x8.sct b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_ARM_MICRO/stm32f303x8.sct similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_ARM_MICRO/stm32f303x8.sct rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_ARM_MICRO/stm32f303x8.sct diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_ARM_STD/startup_stm32f303x8.S b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_ARM_STD/startup_stm32f303x8.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_ARM_STD/startup_stm32f303x8.S rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_ARM_STD/startup_stm32f303x8.S diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_ARM_STD/stm32f303x8.sct b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_ARM_STD/stm32f303x8.sct similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_ARM_STD/stm32f303x8.sct rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_ARM_STD/stm32f303x8.sct diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_ARM_STD/sys.cpp b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_GCC_ARM/STM32F303X8.ld b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_GCC_ARM/STM32F303X8.ld similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_GCC_ARM/STM32F303X8.ld rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_GCC_ARM/STM32F303X8.ld diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_GCC_ARM/startup_stm32f303x8.S b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_GCC_ARM/startup_stm32f303x8.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_GCC_ARM/startup_stm32f303x8.S rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_GCC_ARM/startup_stm32f303x8.S diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_IAR/startup_stm32f303x8.S b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_IAR/startup_stm32f303x8.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_IAR/startup_stm32f303x8.S rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_IAR/startup_stm32f303x8.S diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_IAR/stm32f303x8.icf b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_IAR/stm32f303x8.icf similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/TOOLCHAIN_IAR/stm32f303x8.icf rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/TOOLCHAIN_IAR/stm32f303x8.icf diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/cmsis.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/cmsis.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/cmsis.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/cmsis.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/cmsis_nvic.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/cmsis_nvic.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/cmsis_nvic.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/cmsis_nvic.c diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/cmsis_nvic.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/cmsis_nvic.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/cmsis_nvic.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/cmsis_nvic.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/hal_tick.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/hal_tick.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/hal_tick.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/hal_tick.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/stm32f303x8.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/stm32f303x8.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/stm32f303x8.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/stm32f303x8.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/stm32f3xx.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/stm32f3xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/stm32f3xx.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/stm32f3xx.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/system_stm32f3xx.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/system_stm32f3xx.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/system_stm32f3xx.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/system_stm32f3xx.c diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/system_stm32f3xx.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/system_stm32f3xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device/system_stm32f3xx.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/device/system_stm32f3xx.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/objects.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/objects.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/objects.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F303x8/objects.h diff --git a/targets/targets.json b/targets/targets.json index 0c83b031a5..64f4beffe8 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -760,7 +760,7 @@ "supported_form_factors": ["ARDUINO"], "core": "Cortex-M4F", "default_toolchain": "ARM", - "extra_labels": ["STM", "STM32F3", "STM32F303K8"], + "extra_labels": ["STM", "STM32F3", "STM32F303x8", "STM32F303K8"], "macros": ["RTC_LSI=1", "TRANSACTION_QUEUE_SIZE_SPI=2"], "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"],