-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bsp: Added support for IDF v4.4 into esp32_s3_korvo_2
- Loading branch information
Showing
10 changed files
with
439 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
examples: | ||
disable: | ||
- if: IDF_VERSION_MAJOR < 5 and CONFIG_NAME not in ["esp-box", "esp-box-lite"] | ||
- if: IDF_VERSION_MAJOR < 5 and CONFIG_NAME not in ["esp-box", "esp-box-lite", "esp32_s3_korvo_2"] | ||
reason: Example depends on BSP, which is supported only for IDF >= 5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
#IDF version is less than IDF5.0 | ||
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_LESS "5.0") | ||
set(SRC_VER "esp32_s3_korvo_2_idf4.c") | ||
set(PRV_REQ fatfs esp_lcd spiffs) | ||
else() | ||
set(SRC_VER "esp32_s3_korvo_2_idf5.c") | ||
set(PRV_REQ fatfs esp_lcd esp_adc spiffs) | ||
endif() | ||
|
||
idf_component_register( | ||
SRCS "esp32_s3_korvo_2.c" | ||
SRCS "esp32_s3_korvo_2.c" ${SRC_VER} | ||
INCLUDE_DIRS "include" | ||
PRIV_INCLUDE_DIRS "priv_include" | ||
REQUIRES driver | ||
PRIV_REQUIRES fatfs esp_lcd esp_adc spiffs | ||
PRIV_REQUIRES ${PRV_REQ} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.