cancel
Showing results for 
Search instead for 
Did you mean: 

ARM7 and linux compatibiilty of STM32CubeIDE in 2025 (e.g. Raspberry Pi)

MF1
Visitor

I saw a post from 2020, which said NO to raspberry pi, but that was before Apple's and Microsoft's latest machines started supporting ARMv7 architecture.

Per the "STM32CubeIDE installation guide", section 1, states the following:

  • Only 64-bit OS versions are supported
  • STM32CubeIDE supports STM32 32-bit products based on the Arm® Cortex® processor

From this, it appears that ST is telling us that Raspberry Pi is supported.  I think ST should immediately update the instruction guide to fix the 32/64 bit contradiction, and it would be ideal to make a clear statement that ARMv7 is only supported for Apple and Microsoft OSs.

For another reason, I expect the instructions are wrong.  When I attempt to install the debian version on my Pi, it tells me what packages are missing.  Each one listed includes amd64 for architecture.

 

The following packages have unmet dependencies:
 st-stlink-server:amd64 : Depends: libusb-1.0-0:amd64 but it is not installable
 st-stm32cubeide-1.17.0:amd64 : Depends: st-stlink-udev-rules:amd64 but it is not installable
                                Recommends: libncurses5:amd64 but it is not installable
                                Recommends: libpython2.7:amd64 but it is not installable
                                Recommends: libwebkit2gtk-4.0-37:amd64 but it is not installable

 

Are there any modern updates to the ARM7 and linux compatibiilty of STM32CubeIDE?

3 REPLIES 3
Pavel A.
Evangelist III

 but that was before Apple's and Microsoft's latest machines started supporting ARMv7 architecture.

Nope. They support certain flavor of AArch64 (ARMv8+). They have also certain ability to run Intel/AMD binaries but it is complicated.

So: the host machine (on which the CubeIDE and other tools run) is 64 bit. The target (MCU) is 32-bit ARMv7/8, or even AArch64 (STM32MP2).

New RPi's are plain arm64 Linux boxes, the arm64 Linux version of the tools should work on these, if it existed.

ST could you update UM2563  part 1.4 to consider ARM host machines?

 

Pavel, I understand all about Apple and Microsoft running on ARM.

Regarding STM products, a Raspberry Pi 5, for example, is technically an Arm Cortex A76 64-bit CPU.  So this Pi 5 is a 64-bit machine with 64-bit host OS.  My target is an Arm MCU.  I'd like to use STM32CubeIDE on my Pi to build, load, and debug.

Your last sentence suggests this should work.  Do you have any reference or "hands on" advice for doing this?  Are you saying I should use the generic linux install instead of the debian linux installer?

Pavel A.
Evangelist III

@MF1It looks like Linux ARM64 is not properly supported yet. On Windows and Apple, some users reported that CubeIDE mainly runs (thanks to the x64 compatibility layer) but the required native USB drivers for target probes are lacking. Generic non-ST tools for Linux (openOCD, st-link software) have been ported to ARM both 32- and 64 bits.

Bottom line.... Want to advance your own work and stay focused, use a normal x64 Windows PC. Want adventures and inspiration for blogs, use anything else. Want a RPi sized x64 computer - there are plenty of these small PCs.