-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Error compiling for board Arduino MKRZERO #93
Comments
One more thing. Can you try the latest library code from master branch? |
Thanks for looking into this! This is what the latest library (Master branch) gives: BTW: The latest board package for the SAMD board is 1.8.13: https://github.com/arduino/ArduinoCore-samd/releases |
In the screenshot SAMD MKRZERO is captured. Still no issues with the compilation on my side. |
#if defined(CONFIG_ESP32_SPI_AVAILABLE) && defined(CONFIG_ESP32_SPI_ENABLE) For some reaon, this condition is true in your case. Those constants are defined in src/lcd_hal/esp/io.h, which is used only when you have ESP32 boards: #elif defined(__XTENSA__) && !defined(ARDUINO)
#include "esp/io.h" You can try to debug in that direction. |
I finally have found a workaround: |
Describe the bug
Compiling with lcdgfx versions 1.1.2 and 1.1.4 terminates with the following error:
"In file included from /Users/xx/Documents/Arduino/libraries/lcdgfx/src/lcd_hal/io.h:55:0,
Multiple libraries were found for "Ethernet.h"
Used: /Users/xx/Documents/Arduino/libraries/Ethernet
Not used: /Applications/Arduino.app/Contents/Java/libraries/Ethernet
from /Users/xx/Documents/Arduino/libraries/lcdgfx/src/nano_gfx_types.h:31,
from /Users/xx/Documents/Arduino/libraries/lcdgfx/src/lcdgfx.h:30,
from /Users/xx/Documents/Arduino/TA-Regulator-dev55/OledDisplay.ino:3:
/Users/xx/Documents/Arduino/libraries/lcdgfx/src/lcd_hal/esp/esp32_spi.h:34:10: fatal error: driver/spi_master.h: No such file or directory
#include "driver/spi_master.h"
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Arduino MKRZERO."
>> Note: With version lcdgfx 1.1.1 all works OK.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No compiling error occurs and sketch should complete compilation without error.
Please complete the following information:
Appreciate this library a lot, and hope also the updated version (1.1.4) can be made to work with MKRZERO!
The text was updated successfully, but these errors were encountered: