Skip to content

Not able do compile anymore #160

@minou65

Description

@minou65

Hi all
After I have updated arduinoIDE and all librarys I am not able to compile anymore my program. Is thre a know issue or do I have overseen a requirement?

speaker.cpp: In member function bool Speaker::InitI2SSpeakOrMic(int)

speaker.cpp: 31:31: error: 'I2S_MCLK_MULTIPLE_DEFAULT' was not declared in this scope; did you mean 'I2S_MCLK_MULTIPLE_512'?
31 | .mclk_multiple = I2S_MCLK_MULTIPLE_DEFAULT
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| I2S_MCLK_MULTIPLE_512

M5Display.h:10: In file included from
m5core2.h:12: from
m5touch.cpp:1: from
M5Display.h: In member function void M5Display::startWrite()

In_eSPI.h: 233:5: error: 'GPIO' was not declared in this scope
233 | GPIO.out_w1tc = (1 << TFT_CS)
| ^~~~
M5Display.h:54: note in expansion of macro CS_L
54 | CS_L
| ^~~~
M5Display.h: In member function void M5Display::endWrite()

In_eSPI.h: 235:14: error: 'GPIO' was not declared in this scope
235 | #define CS_H GPIO.out_w1ts = (1 << TFT_CS) \;GPIO.out_w1ts = (1 << TFT_CS)
| ^~~~

M5Display.h:66: note in expansion of macro CS_H
M5Display.h:10: In file included from
66 | CS_H
M5Core2.h:12: from
| ^~~~
m5core2.cpp:5: from
M5Display.h: In member function void M5Display::startWrite()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions