cmake: Add CMakeLists.txt files for all examples

Generating using convert_to_cmake.py, with some minor cleanup
This commit is contained in:
Angus Gratton
2018-02-27 17:44:31 +11:00
committed by Angus Gratton
parent 9d88d13f77
commit 800bffb8b0
74 changed files with 615 additions and 27 deletions

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)

View File

@@ -0,0 +1,8 @@
# 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)