Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

led strip not working with linux target (IEC-226) #433

Closed
3 tasks done
MJAS1 opened this issue Oct 16, 2024 · 2 comments
Closed
3 tasks done

led strip not working with linux target (IEC-226) #433

MJAS1 opened this issue Oct 16, 2024 · 2 comments
Assignees

Comments

@MJAS1
Copy link

MJAS1 commented Oct 16, 2024

Answers checklist.

  • I have read the component documentation ESP-IDF Components and the issue is not addressed there.
  • I am using target and esp-idf version as defined in component's idf_component.yml
  • I have searched the issue tracker for a similar issue and not found any related issue.

Which component are you using? If you choose Other, provide details in More Information.

led_strip

ESP-IDF version.

v5.3.1

Development Kit.

linux

Used Component version.

2.5.5

More Information.

Trying to run unit tests with a project using led_strip in linux target causes error:

fatal error: driver/spi_master.h: No such file or directory
BUG: component_requirements.py: driver/spi_master.h found in component esp_driver_spi which is already in the requirements list of espressif__led_strip

This problem can be reproduced easily with an empty project and adding led_strip as a dependency:

idf.py create-project test
cd test
idf.py add-dependency "led_strip^2.5.5"
idf.py --preview set-target linux
idf.py build
@MJAS1 MJAS1 added the Type: Bug Bugs in components label Oct 16, 2024
@github-actions github-actions bot changed the title led strip not working with linux target led strip not working with linux target (IEC-226) Oct 16, 2024
@fhrbata
Copy link
Collaborator

fhrbata commented Oct 16, 2024

Hello @MJAS1 ,

the esp_driver_spi is not supported on linux target, please see https://github.com/espressif/esp-idf/blob/v5.3.1/components/esp_driver_spi/CMakeLists.txt#L4. The hint message(BUG) is misleading, probably because 5.3.1 is missing espressif/esp-idf@fbe8bf8. I believe this is similar issue to espressif/esp-idf#13447.

Thank you

@MJAS1
Copy link
Author

MJAS1 commented Oct 17, 2024

Alright, thanks for explaining

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants