Skip to content

Commit 56606d9

Browse files
committed
fix(idf): Switch to require through the component yaml
1 parent 4728611 commit 56606d9

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ endforeach()
287287
set(includedirs variants/${CONFIG_ARDUINO_VARIANT}/ cores/esp32/ ${ARDUINO_LIBRARIES_INCLUDEDIRS})
288288
set(srcs ${CORE_SRCS} ${ARDUINO_LIBRARIES_SRCS})
289289
set(priv_includes cores/esp32/libb64)
290-
set(requires spi_flash esp_partition mbedtls wifi_provisioning wpa_supplicant esp_adc esp_eth http_parser espressif__mdns)
290+
set(requires spi_flash esp_partition mbedtls wifi_provisioning wpa_supplicant esp_adc esp_eth http_parser)
291291
set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support bt esp_hid usb ${ARDUINO_LIBRARIES_REQUIRES})
292292

293293
idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires})

Diff for: idf_component.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ files:
4444
dependencies:
4545
idf: ">=5.1,<5.2"
4646
# mdns 1.2.1 is necessary to build H2 with no WiFi
47-
mdns: "^1.2.3"
48-
espressif/esp_modem: "^1.1.0"
49-
chmorgan/esp-libhelix-mp3:
50-
version: "1.0.3"
47+
espressif/mdns:
48+
version: "^1.2.3"
5149
require: public
50+
espressif/esp_modem:
51+
version: "^1.1.0"
5252
espressif/esp-zboss-lib:
5353
version: "^1.0.1"
5454
rules:
@@ -57,7 +57,7 @@ dependencies:
5757
version: "^1.0.1"
5858
rules:
5959
- if: "target != esp32c2"
60-
esp-dsp:
60+
espressif/esp-dsp:
6161
version: "^1.3.4"
6262
rules:
6363
- if: "target != esp32c2"
@@ -77,10 +77,14 @@ dependencies:
7777
version: "^0.1.0~1"
7878
rules:
7979
- if: "target != esp32c2"
80-
joltwallet/littlefs: "^1.10.2"
8180
espressif/esp-sr:
8281
version: "^1.4.2"
8382
rules:
8483
- if: "target in [esp32s3]"
84+
joltwallet/littlefs:
85+
version: "^1.10.2"
86+
chmorgan/esp-libhelix-mp3:
87+
version: "1.0.3"
88+
require: public
8589
examples:
8690
- path: ./idf_component_examples/Hello_world

0 commit comments

Comments
 (0)