Add changes to make factory_demo example compatible with ESP-IDF 5.x

This commit is contained in:
Mahavir Jain
2022-09-29 13:56:33 +08:00
committed by marcus_xu
parent 9ddbf76bae
commit 2c3fe7c8d6
7 changed files with 21 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ endif(DEFINED ENV{RMAKER_PATH})
set(EXTRA_COMPONENT_DIRS
../../components
$ENV{IDF_PATH}/examples/common_components/led_strip
$ENV{IDF_PATH}/examples/common_components
${RMAKER_PATH}/components
)
@@ -14,6 +14,8 @@ idf_component_register(
"app"
"rmaker")
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
target_compile_definitions(${COMPONENT_TARGET} PRIVATE "-D RMAKER_DEMO_PROJECT_NAME=\"${CMAKE_PROJECT_NAME}\"")
spiffs_create_partition_image(storage ../spiffs FLASH_IN_PROJECT)
@@ -1,5 +1,9 @@
## IDF Component Manager Manifest File
dependencies:
espressif/led_strip:
version: "~2.0.0"
rules:
- if: "idf_version >=5.0"
chmorgan/esp-libhelix-mp3: "1.0.1"
chmorgan/esp-file-iterator: "1.0.0"
chmorgan/esp-audio-player: "1.0.2"