Hello,
I am new to ST discovery board and have been working with platformIO now for a couple of months (great work!).
So I would like to continue to work with platformIO and having difficulties to add a new ST discovery board (STM32L072Z-LRWAN1). What I tried to do is described below.
Have added the following file in boards directory (.platformio\boards)
{
“build”: {
“core”:“stm32”,
“cpu”: “cortex-m0plus”,
“f_cpu”: “32000000L”,
“mcu”: “stm32l072Z”
},
“frameworks”: [
“mbed”
],
“name”: “ST 32L072Z_LRWAN (Jeroen)”,
“upload”: {
“maximum_ram_size”: 20480,
“maximum_size”: 196608,
“protocol”: “stlink”
},
“url”: “B-L072Z-LRWAN1 - STM32L0 Discovery kit LoRa, Sigfox, low-power wireless - STMicroelectronics”,
“vendor”: “ST”
}
Platform.ini configured as follows:
[env:DISCO_L072Z_LRWAN1]
platform = ststm32
board = DISCO_L072Z_LRWAN1
framework = mbed
However when compiling I get the following error
[06/09/17 15:52:52] Processing DISCO_L072Z_LRWAN1 (platform: ststm32; board: DISCO_L072Z_LRWAN1; framework: mbed)
Verbose mode can be enabled via `-v, --verbose` option
Cannot find configuration file for your board! Please read instructions here C:\Users\Userxx\.platformio\packages\framework-mbed\platformio\README.txt
[ERROR] Took 1.00 seconds
What am I doing wrong? Thanks for support or suggestions!