Page 1 of 1

STM32 core on 64arm linux ubuntu

Posted: Thu Dec 12, 2024 1:06 pm
by jrask
Is it not possible to use the STM32 Core on a raspberry pi 4 running linux ubuntu 20.04 LTS? I would like to install the board package for the STM32F411RE Nucleo 64

Re: STM32 core on 64arm linux ubuntu

Posted: Thu Dec 12, 2024 4:12 pm
by GonzoG
It should work on any system that can run Arduino IDE 2

Re: STM32 core on 64arm linux ubuntu

Posted: Thu Dec 12, 2024 4:19 pm
by fpiSTM
Not exactly, see https://github.com/stm32duino/Arduino_C ... issues/708

The gcc and openocd packages are now provided for arm but the missing package is the STM32 tools.

Re: STM32 core on 64arm linux ubuntu

Posted: Sun Dec 22, 2024 6:21 am
by ag123
it isn't difficult to flash the binary manually

from the Arduino menu -> export compiled binary, that'd leave the bin file in your project folder.

then use tools like st-link
https://github.com/stlink-org/stlink
or for serial uart1 boot loader (uses boot0 pin)
https://github.com/search?q=stm32loader ... positories
https://github.com/jsnyder/stm32loader
https://github.com/copterust/stm32loader
and for those soc that can do USB DFU (uses boot0 pin)
it is even easier
https://dfu-util.sourceforge.net/

Code: Select all

dfu-util -a 0 -s 0x8000000 sketch.bin
to flash the binary