espressif / idf-component-manager

Tool for installing ESP-IDF components
https://components.espressif.com/
Apache License 2.0
42 stars 15 forks source link

Unknown targets error if component declare targets include esp32c6 and dependencies idf: ">=4.4" (PACMAN-644) #35

Closed leeebo closed 1 year ago

leeebo commented 1 year ago

The Component Manager version

v1.2.3

ESP-IDF Version

v4.4

python Version

3.8

Operating System

Ubuntu

Browser (for https://components.espressif.com Issues)

No response

Description

We developed a component that needed to support both esp32, and esp32c6, and was required to support IDF 4.4 and IDF 5.0. When the user selects IDF5.0, the esp32 and esp32c6 builds will pass. But we also expect the esp32 compile to pass when the user selects IDF4.4, rather than reporting Unknown targets: esp32c6

To Reproduce

Add yml file with:

targets:
  - esp32
  - esp32c6
dependencies:
  idf: ">=4.4"

then build under IDF 4.4

Expected behaviour

target esp32 can be built under IDF 4.4 without any CMake errors

Additional info

No response

I have checked existing issues and online Documentation

kumekay commented 1 year ago

@leeebo This is fixed in https://github.com/espressif/idf-component-manager/releases/tag/v1.3.0