You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8525841
Browse filesBrowse the repository at this point in the historyBrowse files
FreeRTOS is distributed under the MIT license. It is know particularly for is simplicity and the extension a:FreeRTOS provided by Amazon. For micro-ROS, we make use of the [POSIX extension](https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_POSIX/).
9
+
10
+
## Links
11
+
12
+
* Main website: [https://www.freertos.org/](https://www.freertos.org/)
NuttX emphasizes its compliance with standards - including POSIX - and small footprint. It can be fit on 8- to 32-bit microcontrollers. The use of POSIX and ANSI standards, together with the mimic it does to UNIX APIs, makes it friendly to the developers that are used to Linux. NuttX is licensed under BSD license and makes use of the GNU toolchain.
9
+
10
+
## Links
11
+
12
+
* Main website: [https://nuttx.apache.org/](https://nuttx.apache.org/)
Check [supported board](/docs/overview/hardware/) section for more information about the boards we are currently using.
19
+
20
+
## Getting started with NuttX and micro-ROS
21
+
22
+
In order to obtain more information about how to get started using this RTOS, please check our [tutorials section](/docs/tutorials/basic/getting_started/).
Zephyr is a fairly new open-source RTOS, developed in a Linux Foundation Project. The members of this project include several renowned semiconductor companies. Zephyr [strives for a functional safety certification](https://www.zephyrproject.org/zephyr-project-rtos-first-functional-safety-certification-submission-for-an-open-source-real-time-operating-system/), which would make it the first open-source RTOS with such a certification.
9
+
10
+
## Links
11
+
12
+
* Main website: [https://www.zephyrproject.org/](https://www.zephyrproject.org/)
The use of Real-Time Operating Systems (RTOS) is a general practice in nowadays embedded systems. These embedded devices typically consist of a resource-constrained microcontroller that executes an application where the interaction with external components is performed. In many cases, this application contains a time-critical task where a time-deadline or deterministic response is required.
6
+
The use of Real-Time Operating Systems (RTOS) is a general practice in nowadays embedded systems. These embedded devices typically consist of a resource-constrained microcontroller that executes an application where the interaction with external components is performed. In many cases, this application contains a time-critical task where a deadline or deterministic response is required.
7
7
8
8
Bare-metal applications are also used nowadays, but it requires a very low-level programming skills and lacks of hardware abstraction layers that RTOSes offers. On the other hand, RTOSes typically uses hardware abstraction layers (HAL) that eases the use of hardware resources, such us timers and communication buses, making easier the development and allowing the reuse of code. In addition, they offer thread and tasks entities that, together with the use of schedulers, provides the necessary tools to implement determinism in the applications. The scheduling normally consists of different algorithms where the user can choose from. Another feature that RTOSes normally offers is the stack management, helping in the correct memory usage of the MCU, a valuable resource in embedded-systems.
9
9
@@ -15,22 +15,10 @@ As the Operating Systems (OS) that are available for computers, the RTOSes also
15
15
16
16
Notice that the RTOS call are made by several top layers in the micro-ROS stack. The main one using the RTOS primitives is the middleware. The middleware requires accessing to the transport resources of the RTOS (serial, UDP or 6LOWPAN communications for example), it also requires of the time resources of the RTOS to operate properly. In addition, it is expected that the micro-ROS client library could have access to RTOS resources to have control of mechanisms such as scheduling or power management, so the developer could optimize the application in many domains.
17
17
18
-
Unfortunately, these resources normally are not POSIX compliant, so the use of abstraction layers at RTOS level is required. These layers will allow to abstract the RTOSes in use and provide unified calls to control aforementioned resources.
18
+
By now, micro-ROS supports three RTOSes, which all come with (basic) POSIX implementations:
[NuttX](http://www.nuttx.org/) is a RTOS that emphasizes its compliance with standards (such us POSIX) and small footprint, it can be fit in 8 to 32 bit microcontrollers. The use of POSIX and ANSI standards, together with the mimic it does to UNIX APIs, makes it friendly to the developers that are used to Linux. The RTOS is licensed under BSD license and makes use of GNU toolchain. In order to obtain more information, please visit [NuttX overview page](https://cwiki.apache.org/confluence/display/NUTTX/NuttX+Overview).
27
-
28
-
<br/><br/>
29
-
30
-
## Supported development boards
31
-
32
-
Check [supported board](/docs/overview/hardware/) section for more information about the boards we are currently using.
33
-
34
-
## Getting started with NuttX and micro-ROS
35
-
36
-
In order to obtain more information about how to get started using this RTOS, please check our [tutorials section](/docs/tutorials/basic/getting_started/).
24
+
Most important, we [integrated these RTOSes with the ROS meta build system colcon](integration_with_colcon/).
In order to streamline the use of different RTOSes with micro-ROS, we integrated the build systems of [FreeRTOS](../FreeRTOS/), [NuttX](../NuttX/), and [Zephyr](../Zephyr/) with the ROS 2 meta-build tool [colcon](https://colcon.readthedocs.io/) using [cmake](https://cmake.org/).
7
+
8
+
To learn more, please see [https://github.com/micro-ROS/micro-ros-build](https://github.com/micro-ROS/micro-ros-build).
0 commit comments