Hello,
Let me first start by saying what a fantastic job you guys have done. PlatformIO literally replaced every other IDE I have been using so far.
I am having a peculiar problem while trying to add a custom board in platformIO.
I am using OSX to develop.
I am trying to add the STM32F030 discovery board and use the libopenCM3 framework to develop on.
As I understand from the documentation, it should be as simple as creating a boards folder under the “.platformio” folder and creating a custom json file with the necessary parameters.
I have created my custom json file and used another “disco” board as a template and replaced the appropriate parameters from the “ST nucleo F030” file. (Just the processor, protocols). The custom board is successfully added and is showing up in the list of boards but PlatformIO is unable to initialize a new project based on the custom board.
Can you guys point what am I doing wrong??
Here is the custom json file.
disco_f030r8.json
{"disco_f030r8": { "build": { "f_cpu": "48000000L", "cpu": "cortex-m0", "mcu": "stm32f030r8t6" }, "frameworks": ["libopencm3","mbed","cmsis","spl"], "name": "disco_f030r8", "platform": "ststm32", "upload": { "maximum_ram_size": 8192, "maximum_size": 65536, "protocol": "stlink" }, "vendor": "ST" } }
And this is the error I am seeing while trying to initialize a new project or build with the same settings.
Error Screenshot
I apologize for pasting a screenshot. I tried copying the terminal output but it simple was not copying it!