cancel
Showing results for 
Search instead for 
Did you mean: 

POSIX support in STM32

selracelosuarg
Associate II

Hello,
As far as I know,
STM32 does not support the POSIX abstraction layer for FreeRTOS.

That means I can not use functions like:

  • Interact with tasks through: 'pthread_create', 'pthread_join'..
  • Use POSIX glue elements like: 'pthread_mutex'...
  • Etc

If I am porting a big FreeRTOS project that is using POSIX to STM32:  what I need to do? Is there a way of achieving it painlessly?

Thanks,

Carles

1 REPLY 1
mƎALLEm
ST Employee

Hello,

I don't think POSIX-FreeRTOS is supported natively by STM32 but I think you need to do it yourself. See https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/03-FreeRTOS-plus-POSIX/00-FreeRTOS-Plus-POSIX

https://github.com/FreeRTOS/Lab-Project-FreeRTOS-POSIX

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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.