create blank ESP project

This commit is contained in:
King Kévin 2022-07-18 11:32:41 +02:00
commit 0465015e72
3 changed files with 16 additions and 0 deletions

8
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.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(main)

2
main/CMakeLists.txt Normal file
View File

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

6
main/main.c Normal file
View File

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