Trying to set up a simple project for the NUCLEO-F413AH board with Platformio and Deviot plugin for sublime text. I’m wanting to use the STM32Cube framework, which https://docs.platformio.org/en/latest/boards/ststm32/nucleo_f413zh.html indicates would be supported. I change the “framework” setting in the platformio.ini file for my project to “STM32Cube” and when I build I get
I’m not certain what I did, but now I’m fine. I did start by creating a new project in CubeMX and generating code into a new directory. After, I created the platformio project and symbolically linked the project root include and src directories to the Core/Inc and Core/Src directories that CubeMX created. Now I can compile, but I’m having issues uploading.
I’m using the Tools->build with-> PlatformIO:Upload and it is failing with
Either OpenOCD can’t find the ST-Link adapter (because of no drivers installed e.g., or you did not install the udev rules on Linux) or the on-board ST-Link isn’t connected properly to the microcontroller (there are certain jumpers on the board, explained in the Nucleo User manual, that need to be closed).
Does it work when you download and use STM32CubeProg to connect to the chip?