🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    PaperS3 cannot compile demo

    Arduino
    4
    5
    769
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JNVoirol
      last edited by

      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_signals

      exit status 1

      Compilation error: exit status 1

      Where the lcd_periph_signals should be defined ?

      1 Reply Last reply Reply Quote 0
      • J
        JNVoirol
        last edited by

        I found the mistake: replace "lcd_periph_signals" by "lcd_periph_rgb_signals.

        kurikoK 1 Reply Last reply Reply Quote 0
        • kurikoK
          kuriko @JNVoirol
          last edited by

          @JNVoirol
          323085e3-ebb8-47e9-b569-a31c40a0f2f9-image.png
          Just switch the esp32 library version in the boards manager to below 3.1.0.

          Good morning, and welcome to the Black Mesa Transit System.

          1 Reply Last reply Reply Quote 0
          • J
            jjkff
            last edited by

            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)

            1 Reply Last reply Reply Quote 0
            • Q
              quentino35
              last edited by

              Hello,
              I have the same problem. Has anyone found a solution?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post