Skip to content

Commit

Permalink
bsp: New generic BSP (spiffs, sdcard, i2c, buttons).
Browse files Browse the repository at this point in the history
  • Loading branch information
espzav committed Sep 13, 2023
1 parent 191e7fd commit 0957bf9
Show file tree
Hide file tree
Showing 9 changed files with 1,190 additions and 0 deletions.
14 changes: 14 additions & 0 deletions esp_bsp_generic/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#IDF version is less than IDF5.0
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_LESS "5.0")
#set(SRC_VER "esp_bsp_generic_idf4.c")
else()
#set(SRC_VER "esp_bsp_generic_idf5.c")
endif()

idf_component_register(
SRCS "esp_bsp_generic.c" ${SRC_VER}
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "priv_include"
REQUIRES driver spiffs fatfs
PRIV_REQUIRES esp_lcd
)
Loading

0 comments on commit 0957bf9

Please sign in to comment.