Skip to content

Commit ae02cf8

Browse files
modify the component file to make it universal
1 parent 330f7d9 commit ae02cf8

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

ports/esp32/main/idf_component.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,27 @@
11
## IDF Component Manager Manifest File
22
dependencies:
33
espressif/mdns: "~1.1.0"
4-
54
espressif/esp_new_jpeg: "~0.6.1"
6-
75
espressif/esp_tinyusb: "^1.3.1"
8-
#espressif/esp_video: "=0.8.0~3"
9-
#espressif/esp_h264: "^1.0.4"
10-
#esp32_p4_function_ev_board: ^3
116
espressif/esp_cam_sensor: ">=0.5.*"
12-
rules:
13-
- if: "target in [esp32p4]"
147
sensor_init:
158
path: ${IDF_PATH}/examples/peripherals/camera/common_components/sensor_init
16-
rules:
17-
- if: "target in [esp32p4]"
18-
espressif/esp_hosted:
9+
espressif/esp_hosted:
1910
version: 1.4.0
20-
rules:
21-
- if: "target in [esp32p4]"
22-
espressif/esp_wifi_remote:
11+
espressif/esp_wifi_remote:
2312
version: 0.8.5
24-
rules:
25-
- if: "target in [esp32p4]"
2613
espressif/lan867x:
2714
version: "~1.0.0"
28-
rules:
29-
- if: "target == esp32"
30-
- if: "idf_version >=5.3"
31-
3215
idf:
3316
version: ">=5.2.0"
17+
18+
rules:
19+
- if: "target in [esp32p4]"
20+
then:
21+
- espressif/esp_cam_sensor
22+
- sensor_init
23+
- espressif/esp_hosted
24+
- espressif/esp_wifi_remote
25+
- if: "target == esp32 and idf_version >=5.3"
26+
then:
27+
- espressif/lan867x

0 commit comments

Comments
 (0)