PaperS3 cannot compile demo
-
Hello,
I just got My M5PaperS3 and I try to compiler the demo as shown in the tutorial Adruino M5PaperS3 but if get the following error:c:\Users{user}\Documents\Arduino\libraries\epdiy\src\output_lcd\lcd_driver.c: In function 'init_bus_gpio':
c:\Users{user}\Documents\Arduino\libraries\epdiy\src\output_lcd\lcd_driver.c:339:28: error: 'lcd_periph_signals' undeclared (first use in this function); did you mean 'rmt_periph_signals'?
339 | DATA_LINES[i], lcd_periph_signals.panels[0].data_sigs[i], false, false
| ^~~~~~~~~~~~~~~~~~
| rmt_periph_signals
c:\Users{user}\Documents\Arduino\libraries\epdiy\src\output_lcd\lcd_driver.c:339:28: note: each undeclared identifier is reported only once for each function it appears in
c:\Users{user}\Documents\Arduino\libraries\epdiy\src\output_lcd\lcd_driver.c: In function 'init_lcd_peripheral':
c:\Users{user}\Documents\Arduino\libraries\epdiy\src\output_lcd\lcd_driver.c:487:26: error: 'lcd_periph_signals' undeclared (first use in this function); did you mean 'rmt_periph_signals'?
487 | periph_module_enable(lcd_periph_signals.panels[0].module);
| ^~~~~~~~~~~~~~~~~~
| rmt_periph_signals
c:\Users{user}\Documents\Arduino\libraries\epdiy\src\output_lcd\lcd_driver.c: In function 'deinit_lcd_peripheral':
c:\Users{user}\Documents\Arduino\libraries\epdiy\src\output_lcd\lcd_driver.c:562:25: error: 'lcd_periph_signals' undeclared (first use in this function); did you mean 'rmt_periph_signals'?
562 | periph_module_reset(lcd_periph_signals.panels[0].module);
| ^~~~~~~~~~~~~~~~~~
| rmt_periph_signalsexit status 1
Compilation error: exit status 1
Where the lcd_periph_signals should be defined ?
-
I found the mistake: replace "lcd_periph_signals" by "lcd_periph_rgb_signals.
-
@JNVoirol

Just switch the esp32 library version in the boards manager to below 3.1.0. -
I have a similar Probelm:
Following the tutorial and using M5GFX 0.2.3 (same with 0.2.2), and epdiy 2.0.0 installed, i get multiple errors in compiler as soon as i switch to PSRAM= OPI PSRAM
/Documents/Arduino/libraries/M5GFX/src/M5GFX.cpp:84:16 (repeating until /Users/jank/Documents/Arduino/libraries/M5GFX/src/M5GFX.cpp:91:16)
"error: 'struct lcd_bus_config_t' has no member named 'data'; did you mean 'data_0'?
90 | lcd_config.data[6] = D6;
| ^~~~
| data_0"- the same with D0-D7
if i dont use PSRAM, it compiles, but wont display anything.
Setup:
Arduino IDE 2.3.2
Board: ESP32S3 DEV
Lib: esp32 (espresserif) 3.0.4 (same with 3.0.7)
M5Core1.0,
M5Unified 0.2.2
Epdiy 2.0.0 (same with 7.0) -
Hello,
I have the same problem. Has anyone found a solution?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login