build_app: make multi target support readable

This commit is contained in:
Fu Hanxi
2020-04-09 16:40:57 +08:00
committed by Ivan Grokhotkov
parent 2e14149bff
commit 5b2fa1a5ad
164 changed files with 295 additions and 95 deletions

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(adc)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# ADC1 Example
(See the README.md file in the upper level 'examples' directory for more information about examples.)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(adc2)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# ADC2 Example
(See the README.md file in the upper level 'examples' directory for more information about examples.)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(can_alert_and_recovery_example)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# CAN Alert and Recovery Example
## Overview

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# CAN Network Example
## Overview

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(can_network_listen_only)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(can_network_master)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(can_network_slave)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(can_self_test_example)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# CAN Self Test Example
## Overview

View File

@@ -4,6 +4,5 @@ cmake_minimum_required(VERSION 3.5)
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/system/console/components)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(i2c-tools)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# I2C Tools Example
(See the README.md file in the upper level 'examples' directory for more information about examples.)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(esp32-i2s-driver-example)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# I2S Example
(See the README.md file in the upper level 'examples' directory for more information about examples.)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(i2s-adc-dac)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# I2S Built-in ADC/DAC Example
(See the README.md file in the upper level 'examples' directory for more information about examples.)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(mcpwm_basic_config)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# MCPWM basic config Example
This example will show you how to use each submodule of MCPWM unit

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(mcpwm_bldc_control_hall_sensor)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# MCPWM BLDC motor control(hall sensor feedback) Example
This example will show you how to use MCPWM module to control bldc motor with hall sensor feedback

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(mcpwm_brushed_dc_control)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# MCPWM brushed dc motor control Example
This example will show you how to use MCPWM module to control brushed dc motor, you need to make connection between ESP32 and motor driver

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(mcpwm_servo_control)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# MCPWM servo motor control Example
This example will show you how to use MCPWM module to control servo motor

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(pcnt)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# PCNT Example
(See the README.md file in the upper level 'examples' directory for more information about examples.)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
### SDIO Example
## Introduction

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(sdio_host)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(sdio_slave)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(timer_group)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# Example: timer_group
This example uses the timer group driver to generate timer interrupts at two specified alarm intervals.

View File

@@ -3,5 +3,4 @@
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(SUPPORTED_TARGETS esp32s2)
project(tusb_sample_descriptor)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32-S2 |
| ----------------- | -------- |
# TinyUSB Sample Descriptor
(See the README.md file in the upper level 'examples' directory for more information about examples.)

View File

@@ -2,6 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(wave_gen)

View File

@@ -1,3 +1,6 @@
| Supported Targets | ESP32 |
| ----------------- | ----- |
# Wave generator Example
(See the README.md file in the upper level 'examples' directory for more information about examples.)