Support popular RTOS projects: ChibiOS/RT & NuttX
Is there anything preventing PlatformIO from supporting popular RTOS projects like ChibiOS/RT, FreeRTOS & NuttX?* A quick search on the web UI returned 0 results.
*there are many, many more RTOS projects out there.
Is there anything preventing PlatformIO from supporting popular RTOS projects
Yes, shortage of free time and human resource :weary:
PlatformIO is open source project, I would be thankful if someone contribute with pull requests. However, we will add support for the popular RTOS projects as soon as possible.
What would be involved in adding one? I'm playing around with @ChibiOS and it has 2 main parts - the RTOS and the HAL. Is the HAL considered a Framework while the RTOS is a library? Or is the RTOS a Platform?
We can implement @ChibiOS within PlatformIO like a framework. @ChibiOS supports different development platforms which are supported by PlatformIO too.
- We should fix all issues for the new 1.5.0 release.
- Need to finish work on PlatformIO 2.0.
@valeros How much efforts you need to add support for @ChibiOS? Will it be 1.6.0 or 2.1.0 release?
P.S: See build logic https://github.com/ChibiOS/ChibiOS/blob/master/os/common/ports/ARM/compilers/GCC/rules.mk
I'll add support for ChibiOS, if finish the work on PlatformIO 2.0
:+1:
Is the work for 2.0 complete? Would love to migrate my current chibi project to use PlatfromIO :)
@beriberikix yes, 2.0 is released, but we are working on polishing (improvements/bug fixes) :blush:
See our milestones https://github.com/platformio/platformio/milestones.
Any chance of including this in an upcoming milestone?
Dear @beriberikix,
We are working on our separate project @SmartAnthill and @valeros don't have time for @PlatformIO at the moment.
I propose you to make similar issue on the RTOS project forums etc:
- http://forum.chibios.org/phpbb/index.php
- http://www.freertos.org/FreeRTOS_Support_Forum_Archive/freertos_support_forum_archive_index.html
We can provide counselling help totally for free. The implementation of RTOS can be achieved via framework's script. See examples: https://github.com/platformio/platformio/tree/develop/platformio/builder/scripts/frameworks
Sorry for that :cry:
Fair enough. Thanks for all the support thus far.
After a long hiatus of decades, I have started working on embedded systems again for the last 5 years. Two of the greatest projects I've seen during this time are Platformio and Nuttx. Unfortunately when I start a nuttx work, I move away from platformio and partially forget some of its features. Besides, when I import a Pio project into Eclipse, for example, I can easily see and compile all options of Makefile, I can easily debug; this would be a great feature and value for Nuttx !. It would be really great when Nuttx will be supported on pio! Thanks in advance @ivankravets 🤓
Regarding ChibiOS: there is a library for PlatformIO which enables using ChibiOS/RT alongside with Arduino: https://platformio.org/lib/show/2986/ChRt