micro-ROS / micro-ROS/micro_ros_setup
rclc_support_init is corrupting FreeRTOS Heap
Nessuno ha ancora preso questa issue.
- Lingua principale
- Shell
- Stelle
- 509
- Fork
- 183
- Merge medio
- 22h 26m
- PR unite (30g)
- 7
Descrizione
Issue template
- Hardware description: STM32L4
- RTOS: FreeRTOS
- Installation type: standard
- Version or commit hash: humble
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
Additional information
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il problema su STM32L4 con FreeRTOS utilizzando un heap da 16 kB, una Standard Task da 12.000 byte e due semafori binari. Confronta lo stato dei semafori prima e dopo rclc_support_init; il lavoro è completato quando la corruzione dell’heap è stata identificata e prevenuta senza influire sui semafori.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- embedded-iot, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100