lcdgfx icon indicating copy to clipboard operation
lcdgfx copied to clipboard

Error compiling for board Arduino MKRZERO

Open stealth-ultd opened this issue 1 year ago • 6 comments

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:

  1. update from lcdgfx version 1.1.1 to 1.1.2 or 1.1.4
  2. compile > gives error, compiler exits
  3. downgrade to 1.1.1
  4. compile > no error, all = OK

Expected behavior No compiling error occurs and sketch should complete compilation without error.

Please complete the following information:

  • version > 1.1.1
  • SSD1327 Oled 128 x 128
  • MacOS
  • SAMD21 with Boards Package 1.8.13
  • IDE 1.8.16

Appreciate this library a lot, and hope also the updated version (1.1.4) can be made to work with MKRZERO!

stealth-ultd avatar Sep 30 '22 13:09 stealth-ultd