Skip to content

Commit a225776

Browse files
committed
Add opencv to the upload_component and to the test_app.
1 parent 0408f85 commit a225776

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/upload_component.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- name: Upload components to component service
1616
uses: espressif/upload-components-ci-action@v1
1717
with:
18-
directories: "bdc_motor;cbor;jsmn;led_strip;libsodium;pid_ctrl;qrcode;nghttp;sh2lib;expat;esp_encrypted_img;coap;pcap;json_generator;json_parser;usb/usb_host_cdc_acm;usb/usb_host_msc;usb/usb_host_uvc"
18+
directories: "bdc_motor;cbor;jsmn;led_strip;libsodium;pid_ctrl;qrcode;nghttp;sh2lib;expat;esp_encrypted_img;coap;pcap;json_generator;json_parser;usb/usb_host_cdc_acm;usb/usb_host_msc;usb/usb_host_uvc;opencv"
1919
namespace: "espressif"
2020
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}

test_app/CMakeLists.txt

+10
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "4.4")
1212
list(APPEND EXTRA_COMPONENT_DIRS ../pid_ctrl ../esp_encrypted_img ../pcap)
1313
endif()
1414

15+
# 2.1. Add here if the component is compatible with IDF == v4.3
16+
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_EQUAL "4.3")
17+
list(APPEND EXTRA_COMPONENT_DIRS ../opencv)
18+
endif()
19+
20+
# 2.2. Add here if the component is compatible with IDF == v4.4
21+
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_EQUAL "4.4")
22+
list(APPEND EXTRA_COMPONENT_DIRS ../opencv)
23+
endif()
24+
1525
# 3. Add here if the component is compatible with IDF >= v5.0
1626
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.0")
1727
list(APPEND EXTRA_COMPONENT_DIRS ../bdc_motor ../led_strip ../sh2lib ../nghttp)

0 commit comments

Comments
 (0)