Skip to main content
Associate
Apr 1, 2025 10:11 AM UTC
Solved

Linux on STM32 microcontroller ?

Dear Sir,

Please, answer

What STM32 microcontrollers allows install Linux OS ? I need microcontroller such as STM32F407VET6. 

TIA 

Vladimir Naumenkov

 

This topic has been closed for replies.
Andrew Neil
Andrew NeilBest answer
Super User
Apr 1, 2025 10:13 AM UTC

None of them - you need a micro-processor for that.

See the STM32MP range:

https://www.st.com/en/microcontrollers-microprocessors/stm32-arm-cortex-mpus.html

https://wiki.st.com/stm32mpu

 

Note that there's a separate forum section for MPU topics:

https://community.st.com/t5/stm32-mpus/ct-p/stm32-mpus

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.

7 replies

Andrew Neil
Andrew NeilBest answer
Super User
Apr 1, 2025 10:13 AM UTC

None of them - you need a micro-processor for that.

See the STM32MP range:

https://www.st.com/en/microcontrollers-microprocessors/stm32-arm-cortex-mpus.html

https://wiki.st.com/stm32mpu

 

Note that there's a separate forum section for MPU topics:

https://community.st.com/t5/stm32-mpus/ct-p/stm32-mpus

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Vo1Author
Associate
Apr 1, 2025 10:18 AM UTC

Dear Andrew,

Thank you,

Vladimir Naumenkov

Ozone
Principal
Apr 1, 2025 10:55 AM UTC

> What STM32 microcontrollers allows install Linux OS ? I need microcontroller such as STM32F407VET6. 

None, really. At least for the example MCU you have given.
The Cortex M0 ... M7 - including ST's - all lack the MMU and thus virtual memory to run a proper Linux.

ST has a range of Cortex A devices (STM32MPxxx) for that purpose.

However, there are several ucLinux variants you can try.
I had e.g. experimented successfully with NuttX on STM32s, Atmel and TI devices (mostly Cortex M4). 

Uwe Bonnes
Chief
Apr 1, 2025 1:56 PM UTC

You can run a minimal and modified linux on f427:

http://vedder.se/2012/07/get-started-with-stm32f4-on-ubuntu-linux/

Andrew Neil
Super User
Apr 1, 2025 1:58 PM UTC

@Uwe Bonnes wrote:

You can run a minimal and modified linux on f427:


NO!

That's about using Linux as the development Host - it's not about installing linux on the STM32F4 !

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Uwe Bonnes
Chief
Apr 1, 2025 2:08 PM UTC

Wrong link, use e.g. https://github.com/i25ffz/uclinux-stm32f4

 

I had once linux boot up od Disco-F42x...