micro-ROS / micro-ROS/micro_ros_setup

How to get microros thread support for freeRTOS

Open
#668 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
509
Forks
183
Avg merge
22h 26m
Merged PRs (30d)
7

Description

## Issue template

- Hardware description: generic
- RTOS: freeRTOS
- Installation type: static lib
- Version or commit hash: iron

I have generated firmware by using "ros2 run micro_ros_setup create_firmware_ws.sh generate_lib". Then I enabled the the option by using "Enable multithread support ON" in the CMakeLists.txt file. When generating the static lib I get the "#error XRCE multithreading not supported for this platform".

Is there a way to get microros thread support for platform generic running on freeRTOS?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CMakeLists.txt setting for "Enable multithread support ON" and reproduce the failure using ros2 run micro_ros_setup create_firmware_ws.sh generate_lib. Trace the reported "XRCE multithreading not supported for this platform" condition for the generic FreeRTOS platform. Done means the support question is resolved and static-library generation works with multithreading enabled, or the platform limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.