feat(examples): Add cmake compiler script for examples

This commit is contained in:
dongheng
2019-05-07 14:46:24 +08:00
parent cca13e0f99
commit 268e9d5846
72 changed files with 315 additions and 7 deletions

View File

@ -0,0 +1,6 @@
# 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)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(adc)

View File

@ -0,0 +1,3 @@
set(COMPONENT_SRCS "adc_example_main.c")
register_component()