Newlib with in freeRTOS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Newlib with in freeRTOS

1,617 Views
__Ettore__
Contributor I

Hi,
we are a team that is developing a product with the RT685, with the FreeRTOS.

As the File System we use LittleFS so we can't use Redlib. We selected the Newlib-nano library as advised in the SDK documentation of littleFS. We went in the wizard to search for other options but we found nothing other then Redlib and Newlib and Newlib-nano.
We found an old article about the risks of using the newlib with the FreeRTOS from Adam Nadler (https://nadler.com/embedded/NXP_newlibAndFreeRTOS.html).

There are any still risks for using the Newlib or the Newlib-nano library with the FreeRTOS?

The setup:
- MCU : MIMXRT685SFVKB
- LittleFS: version 2.5.0_rev0
- FreeRTOS: Kernel V10.5.0
- NewLib-nano version 4.3.0

All the components come from the SDK version 2.13.0 (Maniferst: 3.10.0)

Labels (1)
0 Kudos
Reply
1 Reply

1,581 Views
Sam_Gao
NXP Employee
NXP Employee

Hi

1. Please calirfy more details about your questions, where is the documentation of our SDK?

'We selected the Newlib-nano library as advised in the SDK documentation of littleFS. We went in the wizard to search for other options but we found nothing other then Redlib and Newlib and Newlib-nano.'

 

2. 'There are any still risks for using the Newlib or the Newlib-nano library with the FreeRTOS?'

Here are more details about 'thread safety'(FreeRTOS + Newlib + C++) which is beyond the discussion of NXP's SDK for your reference: https://community.nxp.com/t5/MCUXpresso-IDE/Newlib-FreeRTOS-thread-safety/m-p/1167371

 

3. About SDK: our latest version is 2.16.100 of the freeRTOS-kernel in 11.0.1 version(orignal: https://github.com/FreeRTOS/FreeRTOS-Kernel, MIT ) in nxp website.

0 Kudos
Reply