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

EK79007 driver chained designators not compatible with C++ (AEGHB-956) #458

Open
3 tasks done
sssata opened this issue Jan 15, 2025 · 1 comment
Open
3 tasks done

Comments

@sssata
Copy link

sssata commented Jan 15, 2025

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.3.1

Espressif SoC revision.

ESP32-P4

Operating System used.

macOS

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

Development Kit.

ESP32-P4-Function-EV-Board

Steps to reproduce.

  1. Create project from example
  2. Change project main file to .cpp
  3. Include the espressif/esp_lcd_ek79007 idf dependancy
  4. Add code from the example in the dependancy
  5. Build

The build fails when invoking EK79007_1024_600_PANEL_60HZ_CONFIG(). Should be fixable by un-nesting this line.

Build Logs.

No response

More Information.

No response

@github-actions github-actions bot changed the title EK79007 driver chained designators not compatible with C++ EK79007 driver chained designators not compatible with C++ (AEGHB-956) Jan 15, 2025
@YanKE01
Copy link
Contributor

YanKE01 commented Jan 23, 2025

Hi, @sssata . C++ does not fully support this C-specific initialisation syntax. You can follow follow this EK79007_1024_600_PANEL_60HZ_CONFIG to expand initialise each item in esp_lcd_dpi_panel_config_t separately.

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