FreeRTOS vs. Zephyr: Which is Better for ARM Cortex-M in Terms of Performance, Memory, and Support?

Good PM guys, I'm building an embedded system with an ARM Cortex-M processor and considering open-source RTOS options. FreeRTOS is popular, but I've also come across Zephyr. How do these two RTOSes compare in terms of real-time performance, memory footprint, and community support? Any experiences or recommendations for choosing between them for an ARM Cortex-M project? @Middleware & OS
Solution:
Real Time performance comes down to your implementation, Memory footprint you can get almost similar sizes with both of them. Reaslistically 8Kb has been observed but Zephyr docs say we can get to 2Kb. Community support Zephyr has a large open community working on it and supporting it sort of easier to get into due to the larger industry players. Nordic has an academy that can take you from 0 to 100. FreeRTOS due to its age also has lots of information available. Zephyr feels like embedded linux, thimk KConfigs and DTS stuff while freeRTOS feels baremetal but you can still use quite a few HALs with it. Both can achieve a result, to really recomend either one would need context on your team , implementation details and such....
Jump to solution
3 Replies
Joseph Ogbonna
FreeRTOS has fewer features and less processing capabilities than Zephyr, so while it can potentially be used to run more than one application, it’s still best suited for use cases where the IoT device only has a single application.
Joseph Ogbonna
Carsten Gregersen
Nabto
A Complete Guide to Zephyr vs. FreeRTOS in IoT
With all the various RTOS options and vendors out there, it can be hard to choose for your IoT use case. Learn the differences between Zephyr vs. FreeRTOS.
Solution
ZacckOsiemo
ZacckOsiemo2w ago
Real Time performance comes down to your implementation, Memory footprint you can get almost similar sizes with both of them. Reaslistically 8Kb has been observed but Zephyr docs say we can get to 2Kb. Community support Zephyr has a large open community working on it and supporting it sort of easier to get into due to the larger industry players. Nordic has an academy that can take you from 0 to 100. FreeRTOS due to its age also has lots of information available. Zephyr feels like embedded linux, thimk KConfigs and DTS stuff while freeRTOS feels baremetal but you can still use quite a few HALs with it. Both can achieve a result, to really recomend either one would need context on your team , implementation details and such. I hope this answers a bit but please ask for more if you need specifics.
Want results from more Discord servers?
Add your server
More Posts
Are there any known issues with FreeRTOS+Sockets API and the latest STM32CubeMX HAL for the H7 serie@Middleware & OS I'm encountering random lockups, while using the FreeRTOS+Sockets API with the laHow different is programming with an RTOS compared to traditional bare-metal coding on an AVR?Hey guys, I'm getting comfortable with basic AVR projects using I/O pins. I recently came across thHow can I create a binary file that can run in an empty VM?Good day guys, I wrote a simple program for FreeRTOS that implements a timer. I want to run this proAny guides on what exactly I can try to retain my ip?@Middleware & OS Hey guys, am trying to retain and Configure a static IP address on Embedded Linux what is the most accurate way in FreeRTOS to convert tick counts to milliseconds?hey guys, I'm working on an embedded system running FreeRTOS on an ARM Cortex-M4 microcontroller cloI would like a guide or documentation on how can i install the flipper zero project into Rpi 3Hey guys am trying to install the flipper zero project into an embedded Linux system (Raspberry pi 3Is a CRC check on the decrypted firmware sufficient for validating its integrity?Hey guys @Middleware & OS I’m developing firmware for an embedded system with a bootloader that uI'm looking for a simple, programmable module to control APA102 LED strips remotely.@Middleware & OS Hi Devs, I'm looking for a simple, programmable module to control APA102 LED stCan you give me good snippet of code for AT commands resender?Hello, Can you give me good snippet of code for AT commands resender? Like I am sending to my UART iCan you give me good snippet of code for AT commands resender?Hello, Can you give me good snippet of code for AT commands resender? Like I am sending to my UART i