micro-ROS / micro_ros_setup

Support macros for building micro-ROS-based firmware.
Apache License 2.0
336 stars 128 forks source link

rclc_support_init is corrupting FreeRTOS Heap #657

Open DrMarkusKrug opened 11 months ago

DrMarkusKrug commented 11 months ago

Issue template

Steps to reproduce the issue

I created a FreeRTOS heap with 16kByte and a 'Standard Task' with 12000 Bytes. Additionally I created 2 binary Semaphores.

Expected behavior

Semaphores stay as they are, completely independent of the micro ROS function cals

Actual behavior

in the function call rclc_support_init it seems that the FreeRTOS Heap gets corrupted and the semaphores get affected. Maybe other FreeRTOS elements as well beforeCorruption

Additional information

DrMarkusKrug commented 11 months ago

afterCorruption