cancel
Showing results for 
Search instead for 
Did you mean: 

we are try to run ROS in STM32 cortex M. Is that possible to run ROS in cortex M? Can we run CMSIS NN and CMSIS FreeRTOS at the same time? Could we install Linux in SMT32 Cortex M? Thanks

zzeng.1
Associate II
 
9 REPLIES 9
Miguel CASTRO
ST Employee

Hi, by ROS do you mean "Robot Operating System"?

Regarding your question about CMSIS NN if you have a look at our https://www.st.com/en/embedded-software/x-cube-ai.html (pluging of STM32CubeMx) you will see our own optimised implementation of CMSIS NN (And more) capable to run independently of the RTOS but to answer your question,yes, you can run Neural Networks and freeRTOS at the sametime

zzeng.1
Associate II

Yes. By ROS I meam "Robot Operating System".

How about the linux system in Cortex M? Is it possible to install Linux in Cortex M? We want to run ROS in Cortex M, for that reason we need to first install Linux in Cortex M.

Thanks a lot for your help.

Miguel CASTRO
ST Employee

Thanks for your confirmation about ROS.

Linux OS will be supported by devices embedded Cortex-A type of architectures. Microprocessors such as https://www.st.com/en/microcontrollers-microprocessors/stm32mp1-series.html.

Did you had a look at it?

fauvarque.daniel
ST Employee

To be able to run a linux you need to use the STM32MP series (STM32 MPU).

On the STM32 MCUs there is no linux but we provide Real Time OS in the embedded firmware package (FreeRTOS or AzureRTOS)

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.
zzeng.1
Associate II

Yes. We know that cortex M does not have MMC and may not be able to run Linux. But we have done a lots of work with cortex M and if we can run Linux and ROS in cortex M, it would be really great. That is the reason we want to check the possbilities to run Linux and ROS in cortex M. If we can not, then we need to switch to cortex A. But before we swith, we want to have an answer for that as clear as possbile. Thanks a lot.

Miguel CASTRO
ST Employee

Definitively we will have a look at it!

It seems possible as there is initiatives you can find on arduino or even here : https://micro.ros.org/

zzeng.1
Associate II

Thanks a lot. That is micro ros. The information that we have is that Micro-ROS currently supports three different RTOS, namely NuttX, FreeRTOS, and Zephyr, which can be ran in Cortex M. That is not enough for us. We want to know if it is possble to install ubuntu and ROS Foxy Fitzroy in Cortex M. For Cortex A we know that installing ubuntu and ROS Foxy Fitzroy in Jetson nano is possbile. But how about Cortex. Is there any posibilities we can do that?

SofLit
ST Employee

If you want to run "Linux" on Cortex-M (MCU) you have to use ucLinux not Linux..

Something like this: https://www.emcraft.com/stm32f7-discovery-board

For Linux you have to use Cortex-A (STM32MPx) ..

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.
zzeng.1
Associate II

thanks a lot for your help