arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.2k stars 4.81k forks source link

Compilation fails on 10.1+ when using ST7789 display driver #14754

Closed jvitkauskas closed 2 years ago

jvitkauskas commented 2 years ago

PROBLEM DESCRIPTION

Compilation fails on 10.1+ when using ST7789 display driver

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
  Rules output here:
- [ ] Set `weblog` to 4 and then, when you experience your issue, provide the output of the Console log:
```lua
  Console output here:

TO REPRODUCE

Compile with #define USE_DISPLAY_ST7789 and get this compiler error:

/tmp/Tasmota/tasmota/xdsp_12_ST7789.ino: In function 'void ST7789_InitDriver()':
/tmp/Tasmota/tasmota/xdsp_12_ST7789.ino:121:37: error: call of overloaded 'begin(int, int, int)' is ambiguous
     Wire1.begin(SDA_2, SCL_2, 400000);

EXPECTED BEHAVIOUR

Compilation finishes successfully

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

ADDITIONAL CONTEXT

Add any other context about the problem here.

(Please, remember to close the issue when the problem has been addressed)

arendst commented 2 years ago

Thx.

Caused by bad library https://github.com/espressif/arduino-esp32/issues/6180

I will add the suggested workaround.