cmake: make main a component again

This commit is contained in:
Renz Bagaporo
2018-09-13 08:52:32 +08:00
parent 8e20c13348
commit 7edf2bf66c
241 changed files with 1492 additions and 623 deletions

View File

@@ -2,11 +2,5 @@
# 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(bt_ble_coex)

View File

@@ -0,0 +1,6 @@
set(COMPONENT_SRCS "bt_app_av.c"
"bt_app_core.c"
"main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -2,11 +2,5 @@
# 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)

View File

@@ -0,0 +1,6 @@
set(COMPONENT_SRCS "bt_app_av.c"
"bt_app_core.c"
"main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -2,10 +2,5 @@
# 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)

View File

@@ -0,0 +1,5 @@
set(COMPONENT_SRCS "bt_app_core.c"
"main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -2,9 +2,5 @@
# 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)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "app_bt.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/esp_eddystone_api.c main/esp_eddystone_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(ble_eddystone_demo)

View File

@@ -0,0 +1,5 @@
set(COMPONENT_SRCS "esp_eddystone_api.c"
"esp_eddystone_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS "")
register_component()

View File

@@ -1,11 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/ble_hidd_demo_main.c
main/hid_dev.c
main/hid_device_le_prf.c
main/esp_hidd_prf_api.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(hidd_demos)

View File

@@ -0,0 +1,7 @@
set(COMPONENT_SRCS "ble_hidd_demo_main.c"
"esp_hidd_prf_api.c"
"hid_dev.c"
"hid_device_le_prf.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/ibeacon_demo.c main/esp_ibeacon_api.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(ble_ibeacon_demo)

View File

@@ -0,0 +1,5 @@
set(COMPONENT_SRCS "esp_ibeacon_api.c"
"ibeacon_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/spp_client_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(spp_client_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "spp_client_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/ble_spp_server_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(ble_spp_server_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "ble_spp_server_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -2,9 +2,5 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(MAIN_SRCS
main/example_ble_client_throughput.c
)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(throughput_client_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "example_ble_client_throughput.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -2,9 +2,5 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(MAIN_SRCS
main/example_ble_server_throughput.c
)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(throughput_server_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "example_ble_server_throughput.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/blufi_security.c main/blufi_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(blufi_demo)

View File

@@ -0,0 +1,5 @@
set(COMPONENT_SRCS "blufi_example_main.c"
"blufi_security.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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_discovery.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(bt_discovery)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "bt_discovery.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/example_spp_acceptor_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(bt_spp_acceptor_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "example_spp_acceptor_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/example_spp_initiator_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(bt_spp_initiator_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "example_spp_initiator_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,10 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/example_spp_vfs_acceptor_demo.c
main/spp_task.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(bt_spp_vfs_acceptor_demo)

View File

@@ -0,0 +1,5 @@
set(COMPONENT_SRCS "example_spp_vfs_acceptor_demo.c"
"spp_task.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,10 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/example_spp_vfs_initiator_demo.c
main/spp_task.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(bt_spp_vfs_initiator_demo)

View File

@@ -0,0 +1,5 @@
set(COMPONENT_SRCS "example_spp_vfs_initiator_demo.c"
"spp_task.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/controller_hci_uart_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(controller_hci_uart)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "controller_hci_uart_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/gattc_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(gatt_client_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "gattc_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/example_ble_sec_gattc_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(sec_gattc_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "example_ble_sec_gattc_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/example_ble_sec_gatts_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(sec_gatts_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "example_ble_sec_gatts_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/gatts_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(gatt_server_demos)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "gatts_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/gatts_table_creat_demo.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(gatt_server_service_table_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "gatts_table_creat_demo.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/gattc_multi_connect.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(gatt_multi_connect)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "gattc_multi_connect.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/ethernet_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(ethernet_demo)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "ethernet_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -2,7 +2,5 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(MAIN_SRCS main/blink.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(blink)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "blink.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -2,7 +2,5 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(MAIN_SRCS main/hello_world_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(hello-world)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "hello_world_main.c")
set(COMPONENT_ADD_INCLUDEDIRS "")
register_component()

View File

@@ -2,10 +2,5 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(MAIN_SRCS main/mesh_light.c main/mesh_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(internal_transceiver)
include_directories(main/include)

View File

@@ -0,0 +1,5 @@
set(COMPONENT_SRCS "mesh_light.c"
"mesh_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ". include")
register_component()

View File

@@ -2,10 +2,5 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(MAIN_SRCS main/mesh_light.c main/mesh_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(internal_transceiver)
include_directories(main/include)

View File

@@ -0,0 +1,5 @@
set(COMPONENT_SRCS "mesh_light.c"
"mesh_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ". include")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/adc1_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(adc)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "adc1_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/adc2_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(adc2)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "adc2_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/gpio_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(gpio)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "gpio_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/i2c_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(i2c)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "i2c_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/i2s_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(esp32-i2s-driver-example)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "i2s_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(i2s-adc-dac)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "app_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/ledc_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(ledc)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "ledc_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/mcpwm_basic_config_example.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(mcpwm_basic_config)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "mcpwm_basic_config_example.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/mcpwm_bldc_control_hall_sensor_example.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(mcpwm_bldc_control_hall_sensor)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "mcpwm_bldc_control_hall_sensor_example.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/mcpwm_brushed_dc_control_example.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(mcpwm_brushed_dc_control)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "mcpwm_brushed_dc_control_example.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/mcpwm_servo_control_example.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(mcpwm_servo_control)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "mcpwm_servo_control_example.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/pcnt_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(pcnt)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "pcnt_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/infrared_nec_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(infrared_nec)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "infrared_nec_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/rmt_tx_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(rmt_tx)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "rmt_tx_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/sigmadelta_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(sigmadelta)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "sigmadelta_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,17 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/spi_master_example_main.c
main/pretty_effect.c
main/decode_image.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(spi_master)
# Embed the image into the final binary
#
# (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
target_add_binary_data(spi_master.elf
"main/image.jpg" BINARY)

View File

@@ -0,0 +1,9 @@
set(COMPONENT_SRCS "decode_image.c"
"pretty_effect.c"
"spi_master_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
set(COMPONENT_EMBED_FILES image.jpg)
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(spi-slave-receiver)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "app_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(spi-slave-sender)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "app_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/timer_group_example_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(timer_group)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "timer_group_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/tp_interrupt_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(touch_pad_interrupt)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "tp_interrupt_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

@@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# 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/tp_read_main.c)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(touch_pad_read)

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "tp_read_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

Some files were not shown because too many files have changed in this diff Show More