For cmake and idf.py to work

pull/20/head
Pawel Jalocha 2020-05-13 12:13:55 +01:00
rodzic f856fce72b
commit ca95d9a41d
3 zmienionych plików z 42 dodań i 0 usunięć

7
CMakeLists.txt 100644
Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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