Add: esp-idf project skeleton

main
rkcf 2023-02-09 15:26:32 -06:00
parent 07017b0c9d
commit 97d5df858e
3 changed files with 16 additions and 0 deletions

8
src/CMakeLists.txt Normal file
View File

@ -0,0 +1,8 @@
# For more information about build system see
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
# The following five 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.16)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(s151_clock)

2
src/main/CMakeLists.txt Normal file
View File

@ -0,0 +1,2 @@
idf_component_register(SRCS "s151_clock.c"
INCLUDE_DIRS ".")

6
src/main/s151_clock.c Normal file
View File

@ -0,0 +1,6 @@
#include <stdio.h>
void app_main(void)
{
}