Is there a way to add a conditional REQUIRES statement in a idf_components_register statement in CMakeLists.txt using a configuration declaration.
in CMakeLists.txt the following statement exists
idf_component_register(SRCS "LedManager.c"
REQUIRES LibGpio LibTypes CommandLineInterface
INCLUDE ...
Search found 2 matches
- Sat Nov 22, 2025 7:33 pm
- Forum: ESP-IDF
- Topic: idf_component register conditionals
- Replies: 2
- Views: 844
- Fri Sep 19, 2025 2:13 pm
- Forum: ESP-IDF
- Topic: Error on strtok_r
- Replies: 1
- Views: 505
Error on strtok_r
I have a software module that parses incoming commands and tokenizes the command buffer into arguments. I get the following error when it attempts to parse the buffer
I (184388) CTLASCCMD:: Event Received 0
Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 ...
I (184388) CTLASCCMD:: Event Received 0
Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 ...