From d6a15aa5dc824016023525d308f018838e9a9a6f Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Thu, 10 Oct 2024 23:20:07 +0200 Subject: [PATCH] Temporarily disable SPI DMA for uDisplay (broken since esp-idf 5.3) (#22264) --- CHANGELOG.md | 1 + lib/lib_display/UDisplay/uDisplay.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3239fd397..a8ec7b42a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ All notable changes to this project will be documented in this file. - ESP32 Dali compile error with core 3.x (#22214) - Dali received data decoding - ESP32 Ethernet using EthClockMode 3 (#22248) +- Temporarily disable SPI DMA for uDisplay (broken since esp-idf 5.3) ### Removed - Berry Zigbee removed test code diff --git a/lib/lib_display/UDisplay/uDisplay.cpp b/lib/lib_display/UDisplay/uDisplay.cpp index fe32897cb..bbb4267bd 100755 --- a/lib/lib_display/UDisplay/uDisplay.cpp +++ b/lib/lib_display/UDisplay/uDisplay.cpp @@ -599,6 +599,10 @@ uDisplay::uDisplay(char *lp) : Renderer(800, 600) { case 'B': lvgl_param.flushlines = next_val(&lp1); lvgl_param.data = next_val(&lp1); + // temporary fix to disable DMA due to a problem in esp-idf 5.3 +#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0) + lvgl_param.use_dma = false; +#endif break; case 'M': rotmap_xmin = next_val(&lp1);