-
Notifications
You must be signed in to change notification settings - Fork 118
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
Not able do compile anymore #160
Comments
The part with In_eSPI and GPIO not declared is fixed with this MR |
Hi @Tinyu-Zhao
|
Hi @Tinyu-Zhao |
There will be no problem using M5Stack. Specific tutorials can be found here. |
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()
The text was updated successfully, but these errors were encountered: