mirror of
https://github.com/m5stack/CoreS3-Box.git
synced 2026-05-20 10:59:43 -07:00
Add changes to make factory_demo example compatible with ESP-IDF 5.x
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user