From 04726fd871733485259587eb15f1e9d509587fee Mon Sep 17 00:00:00 2001 From: Valeriy Koval Date: Mon, 19 Jan 2015 19:28:37 +0200 Subject: [PATCH] Add support for stm32 boards --- platformio/boards/stm32.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 platformio/boards/stm32.json diff --git a/platformio/boards/stm32.json b/platformio/boards/stm32.json new file mode 100644 index 00000000..6981498e --- /dev/null +++ b/platformio/boards/stm32.json @@ -0,0 +1,32 @@ +{ + "STM32F4DISCOVERY": { + "build": { + "core": "STM32F4", + "f_cpu": "1680000000L", + "ldscript": "STM32F407VGT6.ld", + "mcu": "cortex-m4", + "variant": "STM32F407VGT6" + }, + "name": "STM32F4DISCOVERY (168 MHz)", + "platform": "stm32", + "upload": { + "maximum_ram_size": 131071, + "maximum_size": 1048575 + } + }, + "STM32VLDISCOVERY": { + "build": { + "core": "STM32F1", + "f_cpu": "240000000L", + "ldscript": "STM32F100RBT6.ld", + "mcu": "cortex-m3", + "variant": "STM32F100RBT6" + }, + "name": "STM32VLDISCOVERY (24 MHz)", + "platform": "stm32", + "upload": { + "maximum_ram_size": 8192, + "maximum_size": 131072 + } + } +} \ No newline at end of file