platformio-core icon indicating copy to clipboard operation
platformio-core copied to clipboard

Support popular RTOS projects: ChibiOS/RT & NuttX

Open beriberikix opened this issue 10 years ago • 12 comments

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.

beriberikix avatar Apr 07 '15 00:04 beriberikix

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.

ivankravets avatar Apr 08 '15 19:04 ivankravets

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?

beriberikix avatar May 05 '15 13:05 beriberikix

We can implement @ChibiOS within PlatformIO like a framework. @ChibiOS supports different development platforms which are supported by PlatformIO too.

  1. We should fix all issues for the new 1.5.0 release.
  2. 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

ivankravets avatar May 05 '15 14:05 ivankravets

I'll add support for ChibiOS, if finish the work on PlatformIO 2.0

valeros avatar May 05 '15 15:05 valeros

:+1:

beriberikix avatar May 05 '15 15:05 beriberikix

Is the work for 2.0 complete? Would love to migrate my current chibi project to use PlatfromIO :)

beriberikix avatar Jun 02 '15 00:06 beriberikix

@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.

ivankravets avatar Jun 02 '15 08:06 ivankravets

Any chance of including this in an upcoming milestone?

beriberikix avatar Oct 11 '15 22:10 beriberikix

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:

ivankravets avatar Oct 13 '15 18:10 ivankravets

Fair enough. Thanks for all the support thus far.

beriberikix avatar Oct 14 '15 16:10 beriberikix

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 🤓

TA1DB avatar Nov 01 '20 10:11 TA1DB

Regarding ChibiOS: there is a library for PlatformIO which enables using ChibiOS/RT alongside with Arduino: https://platformio.org/lib/show/2986/ChRt

me21 avatar Mar 09 '21 07:03 me21