You may recall that I used the SDM32 MCU range quite a lot and also the "Blue Pill" board for a lot of my projects.
Recently the board support package that I was using in Arduino has become depreciated and I wanted to document how I now use the boards with the Arduino IDE.
Firstly, in board manager I have added this to the "additional URL's" section:
https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
This is the official board support file from the manufacturer.
Once that is complete, then you also need to install the STMCubeProgrammer, also from the manufacturer.
Once done, there are a number of options to upload from the IDE to the board, most require messing about with the boot jumpers, but there is a HID bootloader we can instal on the board for permanent conenctivity between the IDE and the board. Note the boot jumper settings below:
No comments:
Post a Comment