platformio / platformio/platformio-core
Allow to enable the OpenOCD -rtos flag from platformio.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9.5k
- Forks
- 905
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 2
Description
Description of problem
Per the discussion in the thread below , in order to enable paltformio debugger's thread awareness, the flag -rtos auto or -rtos FreeRTOS, need to be patched manually in a file that is managed by platformio.
Please provide a way to inject this flag from platformio.ini, or from small configuration file or script in the project area.
This flag is discussed in this OpenOCD's documentation https://www.openocd.org/doc-release/pdf/openocd.pdf
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked community discussion and OpenOCD documentation to understand the -rtos options and expected behavior. Then trace how debugger settings from platformio.ini are handled, and verify that a project-level configuration or script can enable -rtos auto or -rtos FreeRTOS without manually patching PlatformIO-managed files.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, embedded-iot, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100