diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..640d5cf --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,7 @@ +# 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) +set (EXTRA_COMPONENT_DIRS "${PROJECT_DIR}/components/tft") +project(app-template ) \ No newline at end of file diff --git a/components/tft/CMakeLists.txt b/components/tft/CMakeLists.txt new file mode 100644 index 0000000..2f074ed --- /dev/null +++ b/components/tft/CMakeLists.txt @@ -0,0 +1,10 @@ +idf_component_register(SRCS "comic24.c" + "def_small.c" + "DefaultFont.c" + "DejaVuSans18.c" + "DejaVuSans24.c" + "minya24.c" + "SmallFont.c" + "tooney32.c" + "Ubuntu16.c" + INCLUDE_DIRS ".") diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt new file mode 100644 index 0000000..8ab6263 --- /dev/null +++ b/main/CMakeLists.txt @@ -0,0 +1,25 @@ +idf_component_register(SRCS "main.cpp" + "aero.cpp" + "atmosphere.cpp" + "bitcount.cpp" + "ctrl.cpp" + "disp.cpp" + "disp_lcd.cpp" + "disp_oled.cpp" + "format.cpp" + "gps.cpp" + "hal.cpp" + "intmath.cpp" + "ldpc.cpp" + "log.cpp" + "main.cpp" + "nmea.cpp" + "ognconv.cpp" + "proc.cpp" + "rf.cpp" + "sens.cpp" + "st7789.cpp" + "timesync.cpp" + EMBED_FILES "OGN_logo_240x240.jpg" + INCLUDE_DIRS "." + INCLUDE_DIRS "../components")