cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP1 no OS

Chuev.Vladimir
Associate III

Can I use STM32MP1 without an operating system?

Linux is harder for me to master than a microcontroller.

It would be convenient if the cube generated code hal for the processor

Is there a similar feature planned?

If not, is there a step-by-step instruction on how I can run custom bsp for Linux and compile it?

1 ACCEPTED SOLUTION

Accepted Solutions

Vladimir, here https://github.com/ua1arn/hftrx you can find startup, DDR3 memory initialization and some useful functions for use STM32MP1 A7 core as a bare metal.

CPU peripherials very similar to STM32H7xx CPUs line.

ps: Russian laguage comments!

View solution in original post

6 REPLIES 6
Jaroslav BECKA
ST Employee

Hello Vladimir,

if you would like to avoid Linux, why wouldn't you use a STM32H7 microcontroller?

It is based on ARM Cortex-M7 and can run up to 480 MHz.

There is even a dual core version combining ARM Cortex-M7 & ARM Cortex-M4.

https://blog.st.com/?s=STM32H7&submit=

https://www.st.com/en/microcontrollers-microprocessors/stm32h7-series.html

PatrickF
ST Employee

Hi,

We do not provide any SW for Bare-Metal support, but maybe 3rd party could provide it for STM32MP15 series (likely not for free).

For sure, the learning curve for Linux on an MPU is much higher than bare-metal on an MCU.

You could find many information in the ST MPU wiki, e.g. starting with https://wiki.st.com/stm32mpu/wiki/Category:How_to

Regards

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hello.

I need to draw an interface and display a camera image on a 720 display.

I'm not sure that SDRAM on STM32H7 is able to handle this

Thanks for the link

Vladimir, here https://github.com/ua1arn/hftrx you can find startup, DDR3 memory initialization and some useful functions for use STM32MP1 A7 core as a bare metal.

CPU peripherials very similar to STM32H7xx CPUs line.

ps: Russian laguage comments!

demo project based on mentioned repo

https://www.youtube.com/watch?v=6PXxH0p2AK0