-set(COMPONENT_SRCDIRS ".")
+set(COMPONENT_SRCDIRS "." "gcov")
set(COMPONENT_ADD_INCLUDEDIRS "include")
+if (CONFIG_SYSVIEW_ENABLE)
+ list(APPEND COMPONENT_ADD_INCLUDEDIRS
+ sys_view/Config
+ sys_view/SEGGER
+ sys_view/Sample/OS)
+
+ list(APPEND COMPONENT_SRCDIRS
+ "sys_view/SEGGER"
+ "sys_view/Sample/OS"
+ "sys_view/Sample/Config"
+ "sys_view/esp32")
+endif()
+
register_component()
+
+# disable --coverage for this component, as it is used as transport
+# for gcov
+component_compile_options("-fno-profile-arcs" "-fno-test-coverage")
set(COMPONENT_SRCDIRS .)
set(COMPONENT_ADD_INCLUDEDIRS include)
-target_link_libraries("-L ${CMAKE_CURRENT_LIST_DIR}/lib")
-target_link_libraries(bt btdm_app)
-
if(CONFIG_BLUEDROID_ENABLED)
- set(COMPONENT_ADD_INCLUDEDIRS ${COMPONENT_ADD_INCLUDEDIRS}
+ list(APPEND COMPONENT_ADD_INCLUDEDIRS
bluedroid/bta/include
bluedroid/bta/sys/include
bluedroid/btcore/include
bluedroid/device/include
- bluedroid/gki/include
bluedroid/hci/include
bluedroid/osi/include
- bluedroid/utils/include
bluedroid/external/sbc/decoder/include
- bluedroid/btc/core/include
+ bluedroid/external/sbc/encoder/include
bluedroid/btc/profile/esp/blufi/include
bluedroid/btc/profile/esp/include
- bluedroid/btc/profile/std/gatt/include
- bluedroid/btc/profile/std/gap/include
bluedroid/btc/profile/std/a2dp/include
bluedroid/btc/profile/std/include
bluedroid/btc/include
- bluedroid/btif/include
- bluedroid/stack/btm/include
- bluedroid/stack/btu/include
bluedroid/stack/gap/include
bluedroid/stack/gatt/include
- bluedroid/stack/hcic/include
bluedroid/stack/l2cap/include
bluedroid/stack/sdp/include
bluedroid/stack/smp/include
bluedroid/stack/a2dp/include
bluedroid/stack/rfcomm/include
bluedroid/stack/include
- bluedroid/utils/include
bluedroid/api/include
bluedroid/include)
- set(COMPONENT_SRCDIRS ${COMPONENT_SRCDIRS}
+ list(APPEND COMPONENT_SRCDIRS
bluedroid/bta/dm
bluedroid/bta/gatt
bluedroid/bta/hh
bluedroid/bta/ar
bluedroid/bta/sys
bluedroid/bta/jv
- bluedroid/bta
bluedroid/btcore
bluedroid/btif
bluedroid/device
- bluedroid/gki
bluedroid/hci
bluedroid/main
bluedroid/osi
bluedroid/external/sbc/decoder/srce
+ bluedroid/external/sbc/encoder/srce
bluedroid/btc/core
bluedroid/btc/profile/esp/blufi
bluedroid/btc/profile/std/gap
bluedroid/btc/profile/std/a2dp
bluedroid/btc/profile/std/avrc
bluedroid/btc/profile/std/spp
- bluedroid/btc/profile
bluedroid/stack/btm
bluedroid/stack/btu
bluedroid/stack/gap
bluedroid/stack/gatt
bluedroid/stack/hcic
- bluedroid/stack/include
bluedroid/stack/l2cap
bluedroid/stack/sdp
bluedroid/stack/smp
bluedroid/stack/avdt
bluedroid/stack/a2dp
bluedroid/stack/rfcomm
- bluedroid/stack
- bluedroid/utils
bluedroid/api
- bluedroid)
+ )
endif()
register_component()
+
+target_link_libraries(bt "-L${CMAKE_CURRENT_LIST_DIR}/lib")
+target_link_libraries(bt btdm_app)
--- /dev/null
+# The following lines of boilerplate have to be in your project's
+# CMakeLists in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS
+ main/bt_app_av.c
+ main/bt_app_core.c
+ main/main.c
+ )
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(a2dp_sink)
--- /dev/null
+# The following lines of boilerplate have to be in your project's
+# CMakeLists in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS
+ main/bt_app_core.c
+ main/main.c
+ )
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(a2dp_source)
--- /dev/null
+# The following lines of boilerplate have to be in your project's
+# CMakeLists in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS
+ main/app_bt.c
+ )
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(ble_adv)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/esp_eddystone_api.c main/esp_eddystone_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(ble_eddystone_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/ibeacon_demo.c main/esp_ibeacon_api.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(ble_ibeacon_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/spp_client_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(spp_client_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/ble_spp_server_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(ble_spp_server_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/blufi_security.c main/blufi_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(blufi_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/bt_discovery.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(bt_discovery)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/example_spp_acceptor_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(bt_spp_acceptor_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/example_spp_initiator_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(bt_spp_initiator_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/controller_hci_uart_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(controller_hci_uart)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/gattc_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(gatt_client_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/example_ble_sec_gattc_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(sec_gattc_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/example_ble_sec_gatts_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(sec_gatts_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/gatts_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(gatt_server_demos)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/gatts_table_creat_demo.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(gatt_server_service_table_demo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/gattc_multi_connect.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(gatt_multi_connect)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/ethernet_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(ethernet_demo)
-# The following five lines of boilerplate have to be in your project's
+# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/adc1_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(adc)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/adc2_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(adc2)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/gpio_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(gpio)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/i2c_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(i2c)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/i2s_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(esp32-i2s-driver-example)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/app_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(i2s-adc-dac)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/ledc_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(ledc)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/pcnt_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(pcnt)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/infrared_nec_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(infrared_nec)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/rmt_tx_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(rmt_tx)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/sigmadelta_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(sigmadelta)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/spi_master_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(spi_master)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/timer_group_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(timer_group)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/tp_interrupt_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(touch_pad_interrupt)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/tp_read_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(touch_pad_read)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/uart_async_rxtxtasks_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(uart_async_rxtxtasks)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/uart_echo_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(uart_echo)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/uart_events_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(uart_events)
# The following four lines of boilerplate have to be in your project's CMakeLists
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
-set(CMAKE_TOOLCHAIN_FILE $ENV{IDF_PATH}/toolchain.cmake)
-
-project(subscribe_publish ASM C CXX)
set(MAIN_SRCS main/subscribe_publish_sample.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(subscribe_publish)
# Embed the certificate data directly in the built binary
target_add_binary_data(subscribe_publish.elf main/certs/aws-root-ca.pem TEXT)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/thing_shadow_sample.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(thing_shadow)
+
+# Embed the certificate data directly in the built binary
+target_add_binary_data(thing_shadow.elf main/certs/aws-root-ca.pem TEXT)
+target_add_binary_data(thing_shadow.elf main/certs/certificate.pem.crt TEXT)
+target_add_binary_data(thing_shadow.elf main/certs/private.pem.key TEXT)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/coap_client_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(coap_client)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/coap_server_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(coap_server)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/http2_request_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(http2-request)
--- /dev/null
+set(COMPONENT_ADD_INCLUDEDIRS .)
+
+set(COMPONENT_SRCDIRS .)
+
+register_component()
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/http_request_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(http-request)
--- /dev/null
+# The following five lines of boilerplate have to be in your project's
+# CMakeLists in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/https_request_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(https_request)
+
+# Embed the server root certificate into the final binary
+#
+# (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
+target_add_binary_data(https_request.elf
+ "main/server_root_cert.pem" TEXT)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/mdns_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(mdns-test)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/openssl_client_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(openssl_client)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/openssl_server_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(openssl_server)
+
+# Embed the certificate & key data directly in the built binary
+target_add_binary_data(openssl_server.elf main/cacert.pem TEXT)
+target_add_binary_data(openssl_server.elf main/prvtkey.pem TEXT)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/pppos_client_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(pppos_client)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/sntp_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(sntp)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/udp_multicast_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(udp-multicast)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/nvs_blob_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(nvs-rw-blob)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/nvs_value_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(nvs-rw-value)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/sd_card_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(sd_card)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/spiffs_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(spiffs)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/wear_levelling_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(wear_levelling_example)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/app_trace_to_host_test.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(app_trace_to_host_test)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/base_mac_address_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(base_mac_address)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/cmd_wifi.c main/console_example_main.c main/cmd_system.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(console)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/deep_sleep_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(deep_sleep)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/gcov_example_func.c main/gcov_example.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(gcov_example)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/ota_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(ota)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/task_watchdog_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(task_watchdog)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/espnow_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(espnow_example)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/cmd_wifi.c main/main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(iperf)
--- /dev/null
+set(COMPONENT_ADD_INCLUDEDIRS .)
+
+set(COMPONENT_SRCDIRS .)
+
+register_component()
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/power_save.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(power_save)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/scan.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(scan)
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/smartconfig_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(smart_config)
--- /dev/null
+
+# (Automatically converted from project Makefile by convert_to_cmake.py.)
+
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/wpa2_enterprise_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(wpa2-enterprise)
+
+# Embed CA, certificate & key directly into binary
+target_add_binary_data(wpa2-enterprise.elf main/wpa2_ca.pem TEXT)
+target_add_binary_data(wpa2-enterprise.elf main/wpa2_client.crt TEXT)
+target_add_binary_data(wpa2-enterprise.elf main/wpa2_client.key TEXT)
+
--- /dev/null
+# The following four lines of boilerplate have to be in your project's CMakeLists
+# in this exact order for cmake to work correctly
+cmake_minimum_required(VERSION 3.5)
+
+set(MAIN_SRCS main/wps.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(wps_example)