STM32 core on 64arm linux ubuntu

How to install STM32 core into the Arduino IDE, and any OS specific issues
Post Reply
jrask
Posts: 1
Joined: Thu Dec 12, 2024 12:30 pm

STM32 core on 64arm linux ubuntu

Post 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
GonzoG
Posts: 491
Joined: Wed Jan 15, 2020 11:30 am
Answers: 36
Location: Prudnik, Poland

Re: STM32 core on 64arm linux ubuntu

Post by GonzoG »

It should work on any system that can run Arduino IDE 2
fpiSTM
Posts: 1944
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 108
Location: Le Mans
Contact:

Re: STM32 core on 64arm linux ubuntu

Post 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.
ag123
Posts: 1898
Joined: Thu Dec 19, 2019 5:30 am
Answers: 30

Re: STM32 core on 64arm linux ubuntu

Post 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
Post Reply

Return to “Installation and OS related”