From ee55574d3baf3010db60e3ae32c6a67722e42ce6 Mon Sep 17 00:00:00 2001 From: adustm Date: Fri, 27 Jan 2017 19:42:02 +0100 Subject: [PATCH] STM32F302x8 folder struct --- .../TARGET_NUCLEO_F302R8/PeripheralNames.h | 0 .../TARGET_NUCLEO_F302R8/PeripheralPins.c | 0 .../{ => TARGET_STM32F302x8}/TARGET_NUCLEO_F302R8/PinNames.h | 0 .../TARGET_NUCLEO_F302R8}/system_stm32f3xx.c | 0 .../device/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S | 0 .../device/TOOLCHAIN_ARM_MICRO/stm32f302x8.sct | 0 .../device/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S | 0 .../device/TOOLCHAIN_ARM_STD/stm32f302x8.sct | 0 .../device/TOOLCHAIN_ARM_STD/sys.cpp | 0 .../device/TOOLCHAIN_GCC_ARM/STM32F302X8.ld | 0 .../device/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S | 0 .../device/TOOLCHAIN_IAR/startup_stm32f302x8.S | 0 .../device/TOOLCHAIN_IAR/stm32f302x8.icf | 0 .../{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/cmsis.h | 0 .../device/cmsis_nvic.c | 0 .../device/cmsis_nvic.h | 0 .../device/hal_tick.h | 0 .../device/stm32f302x8.h | 0 .../device/stm32f3xx.h | 0 .../device/system_stm32f3xx.h | 0 .../{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/objects.h | 0 targets/targets.json | 2 +- 22 files changed, 1 insertion(+), 1 deletion(-) rename targets/TARGET_STM/TARGET_STM32F3/{ => TARGET_STM32F302x8}/TARGET_NUCLEO_F302R8/PeripheralNames.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{ => TARGET_STM32F302x8}/TARGET_NUCLEO_F302R8/PeripheralPins.c (100%) rename targets/TARGET_STM/TARGET_STM32F3/{ => TARGET_STM32F302x8}/TARGET_NUCLEO_F302R8/PinNames.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8/device => TARGET_STM32F302x8/TARGET_NUCLEO_F302R8}/system_stm32f3xx.c (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/TOOLCHAIN_ARM_MICRO/stm32f302x8.sct (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/TOOLCHAIN_ARM_STD/stm32f302x8.sct (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/TOOLCHAIN_ARM_STD/sys.cpp (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/TOOLCHAIN_GCC_ARM/STM32F302X8.ld (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/TOOLCHAIN_IAR/startup_stm32f302x8.S (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/TOOLCHAIN_IAR/stm32f302x8.icf (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/cmsis.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/cmsis_nvic.c (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/cmsis_nvic.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/hal_tick.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/stm32f302x8.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/stm32f3xx.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/device/system_stm32f3xx.h (100%) rename targets/TARGET_STM/TARGET_STM32F3/{TARGET_NUCLEO_F302R8 => TARGET_STM32F302x8}/objects.h (100%) diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/TARGET_NUCLEO_F302R8/PeripheralNames.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/TARGET_NUCLEO_F302R8/PeripheralNames.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/TARGET_NUCLEO_F302R8/PeripheralPins.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/TARGET_NUCLEO_F302R8/PeripheralPins.c diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PinNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/TARGET_NUCLEO_F302R8/PinNames.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/TARGET_NUCLEO_F302R8/PinNames.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/system_stm32f3xx.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/TARGET_NUCLEO_F302R8/system_stm32f3xx.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/system_stm32f3xx.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/TARGET_NUCLEO_F302R8/system_stm32f3xx.c diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_ARM_MICRO/stm32f302x8.sct b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_MICRO/stm32f302x8.sct similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_ARM_MICRO/stm32f302x8.sct rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_MICRO/stm32f302x8.sct diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_ARM_STD/stm32f302x8.sct b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_STD/stm32f302x8.sct similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_ARM_STD/stm32f302x8.sct rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_STD/stm32f302x8.sct diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_ARM_STD/sys.cpp b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_GCC_ARM/STM32F302X8.ld b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_GCC_ARM/STM32F302X8.ld similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_GCC_ARM/STM32F302X8.ld rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_GCC_ARM/STM32F302X8.ld diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_IAR/startup_stm32f302x8.S b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_IAR/startup_stm32f302x8.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_IAR/startup_stm32f302x8.S rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_IAR/startup_stm32f302x8.S diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_IAR/stm32f302x8.icf b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_IAR/stm32f302x8.icf similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/TOOLCHAIN_IAR/stm32f302x8.icf rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_IAR/stm32f302x8.icf diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/cmsis.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/cmsis.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/cmsis.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/cmsis.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/cmsis_nvic.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/cmsis_nvic.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/cmsis_nvic.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/cmsis_nvic.c diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/cmsis_nvic.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/cmsis_nvic.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/cmsis_nvic.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/cmsis_nvic.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/hal_tick.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/hal_tick.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/hal_tick.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/hal_tick.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/stm32f302x8.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/stm32f302x8.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/stm32f302x8.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/stm32f302x8.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/stm32f3xx.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/stm32f3xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/stm32f3xx.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/stm32f3xx.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/system_stm32f3xx.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/system_stm32f3xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device/system_stm32f3xx.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/system_stm32f3xx.h diff --git a/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/objects.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/objects.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/objects.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/objects.h diff --git a/targets/targets.json b/targets/targets.json index 8a0e87cec5..1df619c480 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -746,7 +746,7 @@ "supported_form_factors": ["ARDUINO", "MORPHO"], "core": "Cortex-M4F", "default_toolchain": "ARM", - "extra_labels": ["STM", "STM32F3", "STM32F302R8"], + "extra_labels": ["STM", "STM32F3", "STM32F302x8", "STM32F302R8"], "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "detect_code": ["0705"],