-
Notifications
You must be signed in to change notification settings - Fork 177
incorporating relevant changes from led_strip v3.0.0 (BSP-574) #423
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
Conversation
|
I think we also need to add a version constraint on led_strip somewhere, or possibly have ifdefs for led_strip v2 and v3. |
We'd better to set a proper dependency in here |
|
True, led_indicator component should also change the way the dependency is set. However, since esp_bsp_generic also uses led_strip API directly, it should specify the dependency and not rely on the version set in led_indicator. Besides, I think it's better to allow both versions of led_strip, if possible. If we force led_strip>=3, we have to make a new major release of the BSP component. If we force led_strip<3, users won't be able to use esp_bsp_generic with led_strip>=3. The best option would have probably been to not make a breaking change and a major release in led_strip in the first place :) |
Yes, we can. Just remove the configuration of |
Lzw655
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @suda-morris, LGTM. Please also update the version of the esp32-c3-lcdkit BSP. I tested the LED functionality using the compatible development board, and everything works fine.
c3-lcdkit already has a contraint to the led_strip: led_strip:
version: "^2"
public: trueSo this PR actually didn't do any bugfix for that BSP, it's just a refactor. |
ESP-BSP Pull Request checklist
Change description
Recently a new version (v3.0.0) of led_strip was pushed. This changed the
led_strip_config_tstruct in thefile.
Please check the latest change of led_strip repository here
Closes #420