mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
ci: add build test for custom console UART pins
This commit is contained in:
parent
f69f05ecd7
commit
1cbb2287be
6
tools/test_apps/system/build_test/CMakeLists.txt
Normal file
6
tools/test_apps/system/build_test/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# 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)
|
||||||
|
|
||||||
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
|
project(test_build)
|
6
tools/test_apps/system/build_test/README.txt
Normal file
6
tools/test_apps/system/build_test/README.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
This project is for testing if the application can be built with a particular sdkconfig setting.
|
||||||
|
|
||||||
|
To add new configuration, create one more sdkconfig.ci.NAME file in this directory.
|
||||||
|
To make the configuration target-specific, add a CONFIG_IDF_TARGET="name" line.
|
||||||
|
|
||||||
|
If you need to test for anything other than building, create another test project.
|
2
tools/test_apps/system/build_test/main/CMakeLists.txt
Normal file
2
tools/test_apps/system/build_test/main/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
idf_component_register(SRCS "test_main.c"
|
||||||
|
INCLUDE_DIRS ".")
|
3
tools/test_apps/system/build_test/main/test_main.c
Normal file
3
tools/test_apps/system/build_test/main/test_main.c
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
void app_main(void)
|
||||||
|
{
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
CONFIG_ESP_CONSOLE_UART_CUSTOM=y
|
Loading…
Reference in New Issue
Block a user