create blank ESP project

master
King Kévin 11 months ago
commit 0465015e72
  1. 8
      CMakeLists.txt
  2. 2
      main/CMakeLists.txt
  3. 6
      main/main.c

@ -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)

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

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