Hi,
I am working on Arduino for several years, now I want to develop my own RTOS at Arduino UNO or Arduino Mega, etc, please guide me how to start this and tell me about helping material to develop my own RTOS
Your post was MOVED to its current location as it is more suitable.
Could you also take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.
It's really difficult to create a practical "real" RTOS for an AVR, because the minimum amount of per-task context that you must save (~37 bytes) is "large" compared to the total RAM available (2k on an Uno.)
westfw thanks for reply.
If I use SAMD (e.g arduino MKRZERO) then can I create own RTOS?
You say that you want to develop an RTOS but is your real interest in using an RTOS
yes...!
If you want to use an RTOS get yourself an ESP32 and use FreeRTOS
There are already a number of RTOS to choose from such as:-
GitHub - feilipu/Arduino_FreeRTOS_Library: A FreeRTOS Library for all Arduino AVR Devices (Uno, Leonardo, Mega, etc),
GitHub - Floessie/frt: Lightweight, easy-to-use wrapper around the Arduino_FreeRTOS_Library, GitHub - PeterVranken/RTuinOS: RTuinOS, a small Real Time Operating System (RTOS) for Arduino,
GitHub - ftrias/TeensyThreads and
GitHub - arduino/ArduinoCore-nRF528x-mbedos: [Archived] Arduino core supporting mbed-enabled boards
ESP32 uses a particular configuration of FreeRTOS The 400 page manual is here, FreeRTOS manual
Digikey has a 12 part introduction to running FreeRTOS on the ESP32.
Search for Digikey Introduction to RTOS
Drmpf thanks for the reply,
the links that you share this is helping but this link has developed RTOS, it does not help to create RTOS from scratch, I want to develop my own RTOS from scratch, I need help to develop it my own, please tell me if there is any guide, course or tutorials.
Sorry way beyond me. Suggest to have a close look a the code of the existing one.
The code in GitHub - PeterVranken/RTuinOS: RTuinOS, a small Real Time Operating System (RTOS) for Arduino might be a good place to start.
Yes, that would work much better.
Have a look at https://www.edx.org/course/real-time-bluetooth-networks-shape-the-world (which is for a TI ARM chip, but should be mostly applicable to the SAMD chips as well.)
(A "real" development tool with debugger support, like the TI LaunchPad or maybe a https://www.microchip.com/Developmenttools/ProductDetails/DM320119 would probably be a really good idea...)
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.