starting with ESP-IDF
- initial ESP-IDF project - starting custom component (Timber) Signed-off-by: Peter Siegmund <peter@rdkr.com>
This commit is contained in:
3
ePaper-ESP-IDF/main/CMakeLists.txt
Normal file
3
ePaper-ESP-IDF/main/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
idf_component_register(SRCS "main.cpp"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES timber)
|
7
ePaper-ESP-IDF/main/Kconfig
Normal file
7
ePaper-ESP-IDF/main/Kconfig
Normal file
@@ -0,0 +1,7 @@
|
||||
menu "Tide Display"
|
||||
config USE_TOUCH
|
||||
bool "use touch screen for navigation"
|
||||
default y
|
||||
help
|
||||
Enable touch screen support for navigation.
|
||||
endmenu
|
17
ePaper-ESP-IDF/main/idf_component.yml
Normal file
17
ePaper-ESP-IDF/main/idf_component.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
## IDF Component Manager Manifest File
|
||||
dependencies:
|
||||
## Required IDF version
|
||||
idf:
|
||||
version: ">=4.1.0"
|
||||
# # Put list of dependencies here
|
||||
# # For components maintained by Espressif:
|
||||
# component: "~1.0.0"
|
||||
# # For 3rd party components:
|
||||
# username/component: ">=1.0.0,<2.0.0"
|
||||
# username2/component2:
|
||||
# version: "~1.0.0"
|
||||
# # For transient dependencies `public` flag can be set.
|
||||
# # `public` flag doesn't have an effect dependencies of the `main` component.
|
||||
# # All dependencies of `main` are public by default.
|
||||
# public: true
|
||||
lvgl/lvgl: "^8.4.0"
|
7
ePaper-ESP-IDF/main/main.cpp
Normal file
7
ePaper-ESP-IDF/main/main.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include "timber.h"
|
||||
|
||||
extern "C" void app_main(void) {
|
||||
Timber::plant(TreeESP32());
|
||||
Timber::tag("ESP32Timber");
|
||||
}
|
Reference in New Issue
Block a user