diff --git a/port/esp32/create_examples.py b/port/esp32/create_examples.py index 94dbc51c2..c5163403c 100755 --- a/port/esp32/create_examples.py +++ b/port/esp32/create_examples.py @@ -47,7 +47,7 @@ project(EXAMPLE) main_cmake_template = ''' idf_component_register( - SRCS "EXAMPLE.c" + SRCS "EXAMPLE.c" "main.c" INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}") '''