I tried to build binaries with ESP32S2 target but I'm getting this error:
Compilation failed because cmd_router.c (in "cmd_router" component) includes driver/rtc_io.h, provided by driver component(s).
However, driver component(s) is not in the requirements list of "cmd_router".
To fix this, add driver to PRIV_REQUIRES list of idf_component_register call in /Users/usr/esp/esp32_nat_router-master/components/cmd_router/CMakeLists.txt.
HINT: The issue is better to resolve by replacing format specifiers to 'PRI'-family macros (include header file).
Still get the same error even when I add PRIV_REQUIRES driver to CMakeLists.txt in /cmd_router/CMakeLists.txt and/or add inttypes.h to cmd_system.c and replace format specifiers to 'PRI'-family macros
Provided binaries don't work for ESP32S2
I tried to build binaries with ESP32S2 target but I'm getting this error:
Compilation failed because cmd_router.c (in "cmd_router" component) includes driver/rtc_io.h, provided by driver component(s). However, driver component(s) is not in the requirements list of "cmd_router". To fix this, add driver to PRIV_REQUIRES list of idf_component_register call in /Users/usr/esp/esp32_nat_router-master/components/cmd_router/CMakeLists.txt. HINT: The issue is better to resolve by replacing format specifiers to 'PRI'-family macros (include header file).
Still get the same error even when I add PRIV_REQUIRES driver to CMakeLists.txt in /cmd_router/CMakeLists.txt and/or add inttypes.h to cmd_system.c and replace format specifiers to 'PRI'-family macros