From db1523bef1c20bf61c4c8b64b31dd7b35575ad0f Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Sun, 19 May 2024 00:11:08 +0200 Subject: [PATCH] Missing defines --- platformio.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platformio.ini b/platformio.ini index e693e8a..6fd28bf 100644 --- a/platformio.ini +++ b/platformio.ini @@ -54,6 +54,7 @@ build_flags = -D NUM_SCREENS=7 -D I2C_SDA_PIN=35 -D I2C_SCK_PIN=36 + -D IS_HW_REV_A build_unflags = ${btclock_base.build_unflags} @@ -73,6 +74,7 @@ build_flags = -D HAS_FRONTLIGHT -D PCA_OE_PIN=45 -D PCA_I2C_ADDR=0x42 + -D IS_HW_REV_B lib_deps = ${btclock_base.lib_deps} robtillaart/PCA9685@^0.7.1 @@ -86,6 +88,7 @@ build_flags = ${env:lolin_s3_mini.build_flags} -D USE_QR -D VERSION_EPD_2_13 + -D HW_REV=\"REV_A_EPD_2_13\" [env:btclock_rev_b_213epd] @@ -95,6 +98,7 @@ build_flags = ${env:btclock_rev_b.build_flags} -D USE_QR -D VERSION_EPD_2_13 + -D HW_REV=\"REV_B_EPD_2_13\" [env:lolin_s3_mini_29epd] extends = env:lolin_s3_mini @@ -103,6 +107,7 @@ build_flags = ${env:lolin_s3_mini.build_flags} -D USE_QR -D VERSION_EPD_2_9 + -D HW_REV=\"REV_A_EPD_2_9\" [env:btclock_rev_b_29epd] extends = env:btclock_rev_b @@ -111,6 +116,7 @@ build_flags = ${env:btclock_rev_b.build_flags} -D USE_QR -D VERSION_EPD_2_9 + -D HW_REV=\"REV_B_EPD_2_9\" [env:btclock_s3] extends = btclock_base