From 00f80b0abee8162e85d42e8f871af5c5e3ae105a Mon Sep 17 00:00:00 2001 From: adustm Date: Fri, 27 Jan 2017 15:17:53 +0100 Subject: [PATCH] STM32F401xE folder structure update --- .../TARGET_NUCLEO_F401RE/PeripheralNames.h | 0 .../TARGET_NUCLEO_F401RE/PeripheralPins.c | 0 .../{ => TARGET_STM32F401xE}/TARGET_NUCLEO_F401RE/PinNames.h | 0 .../TARGET_NUCLEO_F401RE}/system_stm32f4xx.c | 0 .../device/TOOLCHAIN_ARM_MICRO/startup_stm32f401xe.S | 0 .../device/TOOLCHAIN_ARM_MICRO/stm32f401xe.sct | 0 .../device/TOOLCHAIN_ARM_STD/startup_stm32f401xe.S | 0 .../device/TOOLCHAIN_ARM_STD/stm32f401xe.sct | 0 .../device/TOOLCHAIN_ARM_STD/sys.cpp | 0 .../device/TOOLCHAIN_GCC_ARM/STM32F401XE.ld | 0 .../device/TOOLCHAIN_GCC_ARM/startup_stm32f401xe.S | 0 .../device/TOOLCHAIN_IAR/startup_stm32f401xe.S | 0 .../device/TOOLCHAIN_IAR/stm32f401xe.icf | 0 .../{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/cmsis.h | 0 .../device/cmsis_nvic.c | 0 .../device/cmsis_nvic.h | 0 .../device/hal_tick.h | 0 .../device/stm32f401xe.h | 0 .../device/stm32f4xx.h | 0 .../device/system_stm32f4xx.h | 0 .../{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/objects.h | 0 targets/targets.json | 2 +- 22 files changed, 1 insertion(+), 1 deletion(-) rename targets/TARGET_STM/TARGET_STM32F4/{ => TARGET_STM32F401xE}/TARGET_NUCLEO_F401RE/PeripheralNames.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{ => TARGET_STM32F401xE}/TARGET_NUCLEO_F401RE/PeripheralPins.c (100%) rename targets/TARGET_STM/TARGET_STM32F4/{ => TARGET_STM32F401xE}/TARGET_NUCLEO_F401RE/PinNames.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE/device => TARGET_STM32F401xE/TARGET_NUCLEO_F401RE}/system_stm32f4xx.c (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/TOOLCHAIN_ARM_MICRO/startup_stm32f401xe.S (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/TOOLCHAIN_ARM_MICRO/stm32f401xe.sct (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/TOOLCHAIN_ARM_STD/startup_stm32f401xe.S (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/TOOLCHAIN_ARM_STD/stm32f401xe.sct (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/TOOLCHAIN_ARM_STD/sys.cpp (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/TOOLCHAIN_GCC_ARM/STM32F401XE.ld (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/TOOLCHAIN_GCC_ARM/startup_stm32f401xe.S (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/TOOLCHAIN_IAR/startup_stm32f401xe.S (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/TOOLCHAIN_IAR/stm32f401xe.icf (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/cmsis.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/cmsis_nvic.c (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/cmsis_nvic.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/hal_tick.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/stm32f401xe.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/stm32f4xx.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/device/system_stm32f4xx.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F401RE => TARGET_STM32F401xE}/objects.h (100%) diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/TARGET_NUCLEO_F401RE/PeripheralNames.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/TARGET_NUCLEO_F401RE/PeripheralNames.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/TARGET_NUCLEO_F401RE/PeripheralPins.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/TARGET_NUCLEO_F401RE/PeripheralPins.c diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/TARGET_NUCLEO_F401RE/PinNames.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/TARGET_NUCLEO_F401RE/PinNames.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/system_stm32f4xx.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/TARGET_NUCLEO_F401RE/system_stm32f4xx.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/system_stm32f4xx.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/TARGET_NUCLEO_F401RE/system_stm32f4xx.c diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_ARM_MICRO/startup_stm32f401xe.S b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_ARM_MICRO/startup_stm32f401xe.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_ARM_MICRO/startup_stm32f401xe.S rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_ARM_MICRO/startup_stm32f401xe.S diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_ARM_MICRO/stm32f401xe.sct b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_ARM_MICRO/stm32f401xe.sct similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_ARM_MICRO/stm32f401xe.sct rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_ARM_MICRO/stm32f401xe.sct diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_ARM_STD/startup_stm32f401xe.S b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_ARM_STD/startup_stm32f401xe.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_ARM_STD/startup_stm32f401xe.S rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_ARM_STD/startup_stm32f401xe.S diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_ARM_STD/stm32f401xe.sct b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_ARM_STD/stm32f401xe.sct similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_ARM_STD/stm32f401xe.sct rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_ARM_STD/stm32f401xe.sct diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_ARM_STD/sys.cpp b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_GCC_ARM/STM32F401XE.ld b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_GCC_ARM/STM32F401XE.ld similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_GCC_ARM/STM32F401XE.ld rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_GCC_ARM/STM32F401XE.ld diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_GCC_ARM/startup_stm32f401xe.S b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_GCC_ARM/startup_stm32f401xe.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_GCC_ARM/startup_stm32f401xe.S rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_GCC_ARM/startup_stm32f401xe.S diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_IAR/startup_stm32f401xe.S b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_IAR/startup_stm32f401xe.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_IAR/startup_stm32f401xe.S rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_IAR/startup_stm32f401xe.S diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_IAR/stm32f401xe.icf b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_IAR/stm32f401xe.icf similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/TOOLCHAIN_IAR/stm32f401xe.icf rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/TOOLCHAIN_IAR/stm32f401xe.icf diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/cmsis.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/cmsis.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/cmsis.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/cmsis.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/cmsis_nvic.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/cmsis_nvic.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/cmsis_nvic.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/cmsis_nvic.c diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/cmsis_nvic.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/cmsis_nvic.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/cmsis_nvic.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/cmsis_nvic.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/hal_tick.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/hal_tick.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/hal_tick.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/hal_tick.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/stm32f401xe.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/stm32f401xe.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/stm32f401xe.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/stm32f401xe.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/stm32f4xx.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/stm32f4xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/stm32f4xx.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/stm32f4xx.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/system_stm32f4xx.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/system_stm32f4xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device/system_stm32f4xx.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/device/system_stm32f4xx.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/objects.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/objects.h diff --git a/targets/targets.json b/targets/targets.json index 2d0622d146..1c1323d6b6 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -814,7 +814,7 @@ "supported_form_factors": ["ARDUINO", "MORPHO"], "core": "Cortex-M4F", "default_toolchain": "ARM", - "extra_labels": ["STM", "STM32F4", "STM32F401RE"], + "extra_labels": ["STM", "STM32F4", "STM32F401xE", "STM32F401RE"], "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "inherits": ["Target"], "detect_code": ["0720"],