esp32: add example main.c to CMakeLists.txt

This commit is contained in:
Matthias Ringwald 2020-06-02 15:43:02 +02:00
parent c029e2d6c9
commit 4525a7feac

View File

@ -47,7 +47,7 @@ project(EXAMPLE)
main_cmake_template = ''' main_cmake_template = '''
idf_component_register( idf_component_register(
SRCS "EXAMPLE.c" SRCS "EXAMPLE.c" "main.c"
INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}") INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}")
''' '''