Hi *,
(Newbie here !)
We are using an ARM Cortex-7 board from ROBOTIS named OpenCR 1.0. This board is fully supported through specific OpenCR Arduino framework within Arduino IDE.
As Arduino IDE lacks many modern IDE features, I’m trying to program the OpenCR board using PlatformIO IDE (+VS code).
So far I’ve tried to use Nucleo_f746zg board environment but I’m facing several problems:
1/ Nucleo board is obviously not the same as OpenCR (pins, embedded functions such as IMU)…
2/ nucleo_f746gz does not support arduino framework (only mbed and stm32cube)
3/ Tool to upload firmware is specific to OpenCR board (tool ‘opencr_ld.exe’ available in arduino framework)
I’ve managed to succesfully compile basic source code (a main.c file that blink on of the available leds), and to upload it (manually) to the board but that does not work : binary gets uploaded to the board, but does not seem to work and afterwards the OpenCR boar needs to be put in ‘recovery mode’ in order to properly accept the blink example from Arduino IDE…
I’d like to “migrate” hardware package / tools from the arduino environment to PlatformIO in order to create a new board within arduino_stm32 framework, but my attempts lead me nowhere so far…
Is there some kind of detailed tutorial or howto document that would complement (by actual examples) the platformio documentation on how to add a custom board ?
Ref:
- doc of OpenCR board is here : OpenCR 1.0
- JSON Arduino manifest for the board : https://raw.githubusercontent.com/ROBOTIS-GIT/OpenCR/master/arduino/opencr_release/package_opencr_index.json
Thanx in advance
Jose.