From 0883430bba6378cc9477346bd52cc58c47751c39 Mon Sep 17 00:00:00 2001 From: adustm Date: Fri, 27 Jan 2017 11:39:43 +0100 Subject: [PATCH] STM32F412xG folder structure update --- .../TARGET_NUCLEO_F412ZG/PeripheralNames.h | 0 .../TARGET_NUCLEO_F412ZG/PeripheralPins.c | 0 .../{ => TARGET_STM32F412xG}/TARGET_NUCLEO_F412ZG/PinNames.h | 0 .../TARGET_NUCLEO_F412ZG}/system_stm32f4xx.c | 0 .../device/TOOLCHAIN_ARM_MICRO/startup_stm32f412xx.S} | 0 .../device/TOOLCHAIN_ARM_MICRO/stm32f412xg.sct} | 0 .../device/TOOLCHAIN_ARM_STD/startup_stm32f412xx.S} | 0 .../device/TOOLCHAIN_ARM_STD/stm32f412xg.sct} | 0 .../device/TOOLCHAIN_ARM_STD/sys.cpp | 0 .../device/TOOLCHAIN_GCC_ARM/STM32F412xG.ld} | 0 .../device/TOOLCHAIN_GCC_ARM/startup_stm32f412xx.s} | 0 .../device/TOOLCHAIN_IAR/startup_stm32f412xx.S} | 0 .../device/TOOLCHAIN_IAR/stm32f412xx.icf} | 0 .../{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/device/cmsis.h | 0 .../device/cmsis_nvic.c | 0 .../device/cmsis_nvic.h | 0 .../device/hal_tick.h | 0 .../device/stm32f412zx.h | 0 .../device/stm32f4xx.h | 0 .../device/stm32f4xx_hal_conf.h | 0 .../device/system_stm32f4xx.h | 0 .../{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/objects.h | 0 targets/targets.json | 2 +- 23 files changed, 1 insertion(+), 1 deletion(-) rename targets/TARGET_STM/TARGET_STM32F4/{ => TARGET_STM32F412xG}/TARGET_NUCLEO_F412ZG/PeripheralNames.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{ => TARGET_STM32F412xG}/TARGET_NUCLEO_F412ZG/PeripheralPins.c (100%) rename targets/TARGET_STM/TARGET_STM32F4/{ => TARGET_STM32F412xG}/TARGET_NUCLEO_F412ZG/PinNames.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG/device => TARGET_STM32F412xG/TARGET_NUCLEO_F412ZG}/system_stm32f4xx.c (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_MICRO/startup_stm32f412zx.S => TARGET_STM32F412xG/device/TOOLCHAIN_ARM_MICRO/startup_stm32f412xx.S} (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_MICRO/stm32f412zg.sct => TARGET_STM32F412xG/device/TOOLCHAIN_ARM_MICRO/stm32f412xg.sct} (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_STD/startup_stm32f412zx.S => TARGET_STM32F412xG/device/TOOLCHAIN_ARM_STD/startup_stm32f412xx.S} (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_STD/stm32f412zg.sct => TARGET_STM32F412xG/device/TOOLCHAIN_ARM_STD/stm32f412xg.sct} (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/device/TOOLCHAIN_ARM_STD/sys.cpp (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_GCC_ARM/STM32F412ZG.ld => TARGET_STM32F412xG/device/TOOLCHAIN_GCC_ARM/STM32F412xG.ld} (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_GCC_ARM/startup_stm32f412zx.s => TARGET_STM32F412xG/device/TOOLCHAIN_GCC_ARM/startup_stm32f412xx.s} (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_IAR/startup_stm32f412zx.S => TARGET_STM32F412xG/device/TOOLCHAIN_IAR/startup_stm32f412xx.S} (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_IAR/stm32f412zx.icf => TARGET_STM32F412xG/device/TOOLCHAIN_IAR/stm32f412xx.icf} (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/device/cmsis.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/device/cmsis_nvic.c (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/device/cmsis_nvic.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/device/hal_tick.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/device/stm32f412zx.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/device/stm32f4xx.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/device/stm32f4xx_hal_conf.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/device/system_stm32f4xx.h (100%) rename targets/TARGET_STM/TARGET_STM32F4/{TARGET_NUCLEO_F412ZG => TARGET_STM32F412xG}/objects.h (100%) diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/TARGET_NUCLEO_F412ZG/PeripheralNames.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/TARGET_NUCLEO_F412ZG/PeripheralNames.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/TARGET_NUCLEO_F412ZG/PeripheralPins.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/TARGET_NUCLEO_F412ZG/PeripheralPins.c diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/TARGET_NUCLEO_F412ZG/PinNames.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/TARGET_NUCLEO_F412ZG/PinNames.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/system_stm32f4xx.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/TARGET_NUCLEO_F412ZG/system_stm32f4xx.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/system_stm32f4xx.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/TARGET_NUCLEO_F412ZG/system_stm32f4xx.c diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_MICRO/startup_stm32f412zx.S b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_MICRO/startup_stm32f412xx.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_MICRO/startup_stm32f412zx.S rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_MICRO/startup_stm32f412xx.S diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_MICRO/stm32f412zg.sct b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_MICRO/stm32f412xg.sct similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_MICRO/stm32f412zg.sct rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_MICRO/stm32f412xg.sct diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_STD/startup_stm32f412zx.S b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_STD/startup_stm32f412xx.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_STD/startup_stm32f412zx.S rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_STD/startup_stm32f412xx.S diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_STD/stm32f412zg.sct b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_STD/stm32f412xg.sct similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_STD/stm32f412zg.sct rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_STD/stm32f412xg.sct diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_STD/sys.cpp b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_GCC_ARM/STM32F412ZG.ld b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_GCC_ARM/STM32F412xG.ld similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_GCC_ARM/STM32F412ZG.ld rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_GCC_ARM/STM32F412xG.ld diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_GCC_ARM/startup_stm32f412zx.s b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_GCC_ARM/startup_stm32f412xx.s similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_GCC_ARM/startup_stm32f412zx.s rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_GCC_ARM/startup_stm32f412xx.s diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_IAR/startup_stm32f412zx.S b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_IAR/startup_stm32f412xx.S similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_IAR/startup_stm32f412zx.S rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_IAR/startup_stm32f412xx.S diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_IAR/stm32f412zx.icf b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_IAR/stm32f412xx.icf similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/TOOLCHAIN_IAR/stm32f412zx.icf rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/TOOLCHAIN_IAR/stm32f412xx.icf diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/cmsis.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/cmsis.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/cmsis.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/cmsis.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/cmsis_nvic.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/cmsis_nvic.c similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/cmsis_nvic.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/cmsis_nvic.c diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/cmsis_nvic.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/cmsis_nvic.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/cmsis_nvic.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/cmsis_nvic.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/hal_tick.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/hal_tick.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/hal_tick.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/hal_tick.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/stm32f412zx.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/stm32f412zx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/stm32f412zx.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/stm32f412zx.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/stm32f4xx.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/stm32f4xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/stm32f4xx.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/stm32f4xx.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/stm32f4xx_hal_conf.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/stm32f4xx_hal_conf.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/stm32f4xx_hal_conf.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/stm32f4xx_hal_conf.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/system_stm32f4xx.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/system_stm32f4xx.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/system_stm32f4xx.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/device/system_stm32f4xx.h diff --git a/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/objects.h similarity index 100% rename from targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F412xG/objects.h diff --git a/targets/targets.json b/targets/targets.json index ad0c5d99b6..cb138806fc 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -853,7 +853,7 @@ "supported_form_factors": ["ARDUINO", "MORPHO"], "core": "Cortex-M4F", "default_toolchain": "ARM", - "extra_labels": ["STM", "STM32F4", "STM32F412ZG"], + "extra_labels": ["STM", "STM32F4", "STM32F412xG", "STM32F412ZG"], "supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"], "inherits": ["Target"], "detect_code": ["0826"],