From 885515acc91bb057537b28d261c72b8e555e1a60 Mon Sep 17 00:00:00 2001 From: adustm Date: Fri, 27 Jan 2017 17:41:59 +0100 Subject: [PATCH] STM32L432xC folder structure rework --- .../TARGET_NUCLEO_L432KC/PeripheralNames.h | 0 .../TARGET_NUCLEO_L432KC/PeripheralPins.c | 0 .../{ => TARGET_STM32L432xC}/TARGET_NUCLEO_L432KC/PinNames.h | 0 .../TARGET_NUCLEO_L432KC}/system_stm32l4xx.c | 0 .../device/TOOLCHAIN_ARM_MICRO/startup_stm32l432xx.S | 0 .../device/TOOLCHAIN_ARM_MICRO/stm32l432xx.sct | 0 .../device/TOOLCHAIN_ARM_STD/startup_stm32l432xx.S | 0 .../device/TOOLCHAIN_ARM_STD/stm32l432xx.sct | 0 .../device/TOOLCHAIN_ARM_STD/sys.cpp | 0 .../device/TOOLCHAIN_GCC_ARM/STM32L432XX.ld | 0 .../device/TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S | 0 .../device/TOOLCHAIN_IAR/startup_stm32l432xx.S | 0 .../device/TOOLCHAIN_IAR/stm32l432xx.icf | 0 .../{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/cmsis.h | 0 .../device/cmsis_nvic.c | 0 .../device/cmsis_nvic.h | 0 .../device/hal_tick.h | 0 .../device/stm32l432xx.h | 0 .../device/stm32l4xx.h | 0 .../device/system_stm32l4xx.h | 0 .../{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/objects.h | 0 targets/targets.json | 2 +- 22 files changed, 1 insertion(+), 1 deletion(-) rename targets/TARGET_STM/TARGET_STM32L4/{ => TARGET_STM32L432xC}/TARGET_NUCLEO_L432KC/PeripheralNames.h (100%) rename targets/TARGET_STM/TARGET_STM32L4/{ => TARGET_STM32L432xC}/TARGET_NUCLEO_L432KC/PeripheralPins.c (100%) rename targets/TARGET_STM/TARGET_STM32L4/{ => TARGET_STM32L432xC}/TARGET_NUCLEO_L432KC/PinNames.h (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC/device => TARGET_STM32L432xC/TARGET_NUCLEO_L432KC}/system_stm32l4xx.c (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/TOOLCHAIN_ARM_MICRO/startup_stm32l432xx.S (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/TOOLCHAIN_ARM_MICRO/stm32l432xx.sct (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/TOOLCHAIN_ARM_STD/startup_stm32l432xx.S (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/TOOLCHAIN_ARM_STD/stm32l432xx.sct (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/TOOLCHAIN_ARM_STD/sys.cpp (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/TOOLCHAIN_GCC_ARM/STM32L432XX.ld (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/TOOLCHAIN_IAR/startup_stm32l432xx.S (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/TOOLCHAIN_IAR/stm32l432xx.icf (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/cmsis.h (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/cmsis_nvic.c (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/cmsis_nvic.h (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/hal_tick.h (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/stm32l432xx.h (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/stm32l4xx.h (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/device/system_stm32l4xx.h (100%) rename targets/TARGET_STM/TARGET_STM32L4/{TARGET_NUCLEO_L432KC => TARGET_STM32L432xC}/objects.h (100%) diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/TARGET_NUCLEO_L432KC/PeripheralNames.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/TARGET_NUCLEO_L432KC/PeripheralNames.h diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/TARGET_NUCLEO_L432KC/PeripheralPins.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/TARGET_NUCLEO_L432KC/PeripheralPins.c diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PinNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/TARGET_NUCLEO_L432KC/PinNames.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/TARGET_NUCLEO_L432KC/PinNames.h diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/system_stm32l4xx.c b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/TARGET_NUCLEO_L432KC/system_stm32l4xx.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/system_stm32l4xx.c rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/TARGET_NUCLEO_L432KC/system_stm32l4xx.c diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_ARM_MICRO/startup_stm32l432xx.S b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_ARM_MICRO/startup_stm32l432xx.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_ARM_MICRO/startup_stm32l432xx.S rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_ARM_MICRO/startup_stm32l432xx.S diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_ARM_MICRO/stm32l432xx.sct b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_ARM_MICRO/stm32l432xx.sct similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_ARM_MICRO/stm32l432xx.sct rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_ARM_MICRO/stm32l432xx.sct diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_ARM_STD/startup_stm32l432xx.S b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_ARM_STD/startup_stm32l432xx.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_ARM_STD/startup_stm32l432xx.S rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_ARM_STD/startup_stm32l432xx.S diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_ARM_STD/stm32l432xx.sct b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_ARM_STD/stm32l432xx.sct similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_ARM_STD/stm32l432xx.sct rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_ARM_STD/stm32l432xx.sct diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_ARM_STD/sys.cpp b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_GCC_ARM/STM32L432XX.ld b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_GCC_ARM/STM32L432XX.ld similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_GCC_ARM/STM32L432XX.ld rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_GCC_ARM/STM32L432XX.ld diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_IAR/startup_stm32l432xx.S b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_IAR/startup_stm32l432xx.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_IAR/startup_stm32l432xx.S rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_IAR/startup_stm32l432xx.S diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_IAR/stm32l432xx.icf b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_IAR/stm32l432xx.icf similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/TOOLCHAIN_IAR/stm32l432xx.icf rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/TOOLCHAIN_IAR/stm32l432xx.icf diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/cmsis.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/cmsis.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/cmsis.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/cmsis.h diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/cmsis_nvic.c b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/cmsis_nvic.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/cmsis_nvic.c rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/cmsis_nvic.c diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/cmsis_nvic.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/cmsis_nvic.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/cmsis_nvic.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/cmsis_nvic.h diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/hal_tick.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/hal_tick.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/hal_tick.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/hal_tick.h diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/stm32l432xx.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/stm32l432xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/stm32l432xx.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/stm32l432xx.h diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/stm32l4xx.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/stm32l4xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/stm32l4xx.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/stm32l4xx.h diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/system_stm32l4xx.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/system_stm32l4xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device/system_stm32l4xx.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/device/system_stm32l4xx.h diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/objects.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/objects.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/objects.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/objects.h diff --git a/targets/targets.json b/targets/targets.json index 557525ae18..2772498513 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -1053,7 +1053,7 @@ "supported_form_factors": ["ARDUINO"], "core": "Cortex-M4F", "default_toolchain": "ARM", - "extra_labels": ["STM", "STM32L4", "STM32L432KC"], + "extra_labels": ["STM", "STM32L4", "STM32L432xC", "STM32L432KC"], "supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"], "inherits": ["Target"], "detect_code": ["0770"],