The first thing you will need to do is to download the latest release of the Arduino IDE. You will need to be using version 1.8 or higher for this guide
Thankfully the Adafruit board support is now supported directly from STM32duino so you can simply install it:
Find the Additional Board Manager URLs text box.
If it's empty add the text
https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
or, if its not empty, add a comma at the end of the current text, and then add the line above
Search for STM32 and click Install - make sure you have the latest version, at least 1.8.0 selected and installed!
Quit and restart the Arduino IDE
Under USB Support select CDC supercedes USART so that Serial points to the USB port not the hardware serial
These are your Tool menu selections to verify!
Activate the Bootloader
At this time, you must manually put the board into bootloader mode every time you want to upload.
There's work in progress to have STM32 auto-reload, hopefully that will make it into a release soon!
STM32duino Notes
- Hardware Serial UART is on Serial3 not Serial1 as is usually called
- Yes NeoPixel library has support for STM32F4!
- The SDIO SD card is supported by this library
Page last edited March 20, 2024
Text editor powered by tinymce.