CMake: Use new component registration function See merge request espressif/esp-idf!8068
Configuration and management of memory, interrupts, WDT (watchdog timer), OTA (over the air updates), deep sleep logging, and event loops.
See the README.md file in the upper level examples directory for more information about examples.