We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a06a578 commit 17fc226Copy full SHA for 17fc226
main/CMakeLists.txt
@@ -1,10 +1,9 @@
1
set(SOURCES tft_demo.c)
2
idf_component_register(
3
SRCS ${SOURCES}
4
- INCLUDE_DIRS
5
- ${CMAKE_CURRENT_LIST_DIR}
6
- $ENV{IDF_PATH}/components
7
REQUIRES
8
tft
9
spiffs
+ PRIV_REQUIRES
+ nvs_flash
10
)
main/tft_demo.c
@@ -24,7 +24,7 @@
24
#include "freertos/event_groups.h"
25
#include "esp_sntp.h"
26
#include "esp_log.h"
27
-#include "nvs_flash/include/nvs_flash.h"
+#include "nvs_flash.h"
28
29
#endif
30
0 commit comments