Skip to content

Commit

Permalink
fix esp-idf errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthas committed May 11, 2024
1 parent 8183749 commit 9c45f90
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,12 @@
[submodule "firmware/clockfaces/cw-cf-0x07"]
path = firmware/clockfaces/cw-cf-0x07
url = https://github.com/jnthas/cw-cf-0x07.git
shallow = true
[submodule "components/ArduinoJson"]
path = components/ArduinoJson
url = https://github.com/bblanchon/ArduinoJson
shallow = true
[submodule "components/PNGdec"]
path = components/PNGdec
url = https://github.com/bitbank2/PNGdec
shallow = true
1 change: 1 addition & 0 deletions components/ArduinoJson
Submodule ArduinoJson added at 071f71
1 change: 1 addition & 0 deletions components/PNGdec
Submodule PNGdec added at a0f4b1
6 changes: 3 additions & 3 deletions main/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
set(CLOCKFACES cw-cf-0x01 cw-cf-0x02 cw-cf-0x03 cw-cf-0x04 cw-cf-0x05 cw-cf-0x06)
set(CLOCKFACES cw-cf-0x01 cw-cf-0x02 cw-cf-0x03 cw-cf-0x04 cw-cf-0x05 cw-cf-0x06 cw-cf-0x07)

idf_component_register(
SRC_DIRS "."
INCLUDE_DIRS ${PROJECT_DIR}/firmware/src
PRIV_REQUIRES ESP32-HUB75-MatrixPanel-I2S-DMA cw-commons cw-gfx-engine WiFiManager Improv-WiFi-Library arduino Adafruit-GFX-Library ${CLOCKFACES}
PRIV_REQUIRES ESP32-HUB75-MatrixPanel-I2S-DMA cw-commons cw-gfx-engine WiFiManager Improv-WiFi-Library arduino Adafruit-GFX-Library ArduinoJson PNGdec ${CLOCKFACES}
)

target_compile_options(${COMPONENT_TARGET} PUBLIC -DCW_FW_VERSION="1.2.2" -DCW_FW_NAME="Clockwise")
target_compile_options(${COMPONENT_TARGET} PUBLIC -DCW_FW_VERSION="1.4.2" -DCW_FW_NAME="Clockwise")

0 comments on commit 9c45f90

Please sign in to comment.