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

RGB Interfaced bindings for targets with SOC_LCD_RGB_SUPPORTED #368

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

joriskleiber
Copy link
Contributor

Thank you for your contribution!

We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:

Submission Checklist 📝

  • I have updated existing examples or added new ones (if applicable).
  • I have used cargo fmt command to ensure that all changed code is formatted correctly.
  • I have used cargo clippy command to ensure that all changed code passes latest Clippy nightly lints.
  • My changes were added to the CHANGELOG.md in the proper section.

Pull Request Details 📖

Description

ESP-IDF kept supporting the RGB Interface for the ESP32-S3 after 5.3, I don't know if this is an error on the ESP-IDF side but for now I re-enabled the bindings generation for the ESP32-S3.

https://docs.espressif.com/projects/esp-idf/en/stable/esp32s3/api-reference/peripherals/lcd/rgb_lcd.html

Copy link
Collaborator

@Vollbrecht Vollbrecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this headers were defiantly removed at one point in time from a 5.3 release. Did they back-port it upstream again?

In general this imports are not target specific, so please provide upstream evidence that they are still part of the specific esp-idf versions or where reintroduced

@joriskleiber
Copy link
Contributor Author

joriskleiber commented Feb 12, 2025

As far as I can tell they where never removed just moved to a new folder in commit ad84b61 , but I could be mistaken

@Vollbrecht
Copy link
Collaborator

Ok, so it seams it is at least part of all current released versions. It seams they have a added soc capability flag specifically for "SOC_LCD_RGB_SUPPORTED". So instead of hard coding the s3 as supported we can use that flag instead in the header file( i think the p4 will also have the feature etc)

@joriskleiber joriskleiber force-pushed the fix-rgb-interface-bindings branch from a7793bc to b40ace3 Compare February 12, 2025 14:38
@joriskleiber joriskleiber changed the title RGB Interfaced bindings for ESP32-S3 RGB Interfaced bindings for targets with SOC_LCD_RGB_SUPPORTED Feb 12, 2025
Copy link
Collaborator

@Vollbrecht Vollbrecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Vollbrecht Vollbrecht merged commit e662627 into esp-rs:master Feb 12, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants