STM32 B-U585I-IOT02A
View API Documentation View API documentation generated by Doxygen.
View on GitHub View this source code on GitHub.
Support for the STM32 B-U585I-IOT02A
Support for the STM32 B-U585I-IOT02A
Flashing the device
The ST B-U585I-IOT02A board includes an on-board ST-LINK programmer and can be flashed using OpenOCD. Note: The latest release (v0.11) of OpenOCD doesn’t contain yet support for this board, so the source code version from upstream master must be cloned and built:
git clone https://git.code.sf.net/p/openocd/code openocdcd openocd./bootstrap./configure --prefix=<installation directory>make -jsudo make installOnce the patched OpenOCD is built and installed, you can flash the board simply by typing
BOARD=b-u585i-iot02a make flashand debug via GDB by simply typing
BOARD=b-u585i-iot02a make debugImportant notice: With GCC 10, the tests/sys/malloc application doesn’t work.
To use malloc, prefer GCC 9 which seems to work better.