Search found 2 matches
- Sun Nov 08, 2020 12:47 pm
- Forum: ESP-IDF
- Topic: Adding additional components via Kconfig
- Replies: 0
- Views: 1326
Adding additional components via Kconfig
I am writing a component where I want the possibility to enable advanced features that depend on other components (in this case lvgl). The CMakeList.txt looks like this (simplified) if(CONFIG_USE_LVGL) set(priv_requires driver freertos lvgl) message("LVGL enabled") else() set(priv_requires driver fr...
- Sat Nov 16, 2019 9:56 am
- Forum: ESP-IDF
- Topic: event handler arguments changed?
- Replies: 1
- Views: 2456
event handler arguments changed?
I am writing my code in C++ and I am currently programming a class for WiFi connection. I am trying to use the event_handler_arg to pass the this pointer to my event handler which is a static private function of the class. The relevant setup code looks like this: DEBUG_LOG("This: %p", this); ret = e...