Skip to content

Commit

Permalink
Lock ESP32-S2 targets to Arduino v2.0.6
Browse files Browse the repository at this point in the history
Arduino versions past v2.0.6 are based on ESP-IDF v4.4.4 which
introduces a bug in the IIC implementation causing delays in every write
to IIC LCDs. Reverting to v2.0.6 eliminates this bug.
  • Loading branch information
thorrak committed Jun 23, 2023
1 parent fe236db commit d26f452
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ monitor_filters = esp8266_exception_decoder, default
platform = espressif32
board = lolin_s2_mini
framework = ${common.framework}
; v4.4.4 of esp-idf introduces a bug in the IIC implementation that causes MASSIVE delays
; in the IIC bus on the S2 (meaning that writes to the LCD grind the controller to a halt).
; This is a workaround until the bug is fixed.
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.6
; For esp32_s2_wifi we want to enable LCD support, IIC support, and WiFi support
; There is no Bluetooth support on this chip.
build_flags =
Expand Down Expand Up @@ -238,6 +243,11 @@ monitor_filters =
platform = espressif32
board = lolin_s2_mini
framework = ${common.framework}
; v4.4.4 of esp-idf introduces a bug in the IIC implementation that causes MASSIVE delays
; in the IIC bus on the S2 (meaning that writes to the LCD grind the controller to a halt).
; This is a workaround until the bug is fixed.
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.6
; For esp32_s2_serial we want to enable LCD support, IIC support, and Serial support
; There is no Bluetooth support on this chip.
build_flags =
Expand Down

0 comments on commit d26f452

Please sign in to comment.