From 067923a3ebaa08da7b3fa164d9a96ef200fd3678 Mon Sep 17 00:00:00 2001 From: Avi B <474746+abrender@users.noreply.github.com> Date: Mon, 10 Oct 2022 15:02:04 -0400 Subject: [PATCH 1/2] Update CMakeLists.txt This pull request updates the src files to their new locations. The files were moved in https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA/commit/7628be00c2a99f7189d2498f36e0e7857a371440 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c216185..bac04f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.5) -idf_component_register(SRCS "esp32_i2s_parallel_dma.c" "ESP32-HUB75-MatrixPanel-I2S-DMA.cpp" "ESP32-HUB75-MatrixPanel-leddrivers.cpp" +idf_component_register(SRCS "src/platforms/esp32/esp32_i2s_parallel_dma.cpp" "src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp" "src/ESP32-HUB75-MatrixPanel-leddrivers.cpp" INCLUDE_DIRS "." REQUIRES arduino Adafruit-GFX-Library) From 062154b4d8ba1de239d60515becd2b62df83e231 Mon Sep 17 00:00:00 2001 From: Avi B <474746+abrender@users.noreply.github.com> Date: Mon, 10 Oct 2022 22:37:38 -0400 Subject: [PATCH 2/2] Fix missing variable in ESP_LOGI call This log line was broken in https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA/commit/7628be00c2a99f7189d2498f36e0e7857a371440 and causes a build error for esp-idf. --- src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp index 816f993..db6dbc5 100644 --- a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp +++ b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp @@ -177,7 +177,7 @@ void MatrixPanel_I2S_DMA::configureDMA(const HUB75_I2S_CFG& _cfg) } // end frame rows - ESP_LOGI(TAG, "%d DMA descriptors linked to buffer data."); + ESP_LOGI(TAG, "%d DMA descriptors linked to buffer data.", current_dmadescriptor_offset); // // Setup DMA and Output to GPIO