Missing defines

This commit is contained in:
Djuri Baars 2024-05-19 00:11:08 +02:00
parent 18139a9907
commit db1523bef1

View file

@ -54,6 +54,7 @@ build_flags =
-D NUM_SCREENS=7 -D NUM_SCREENS=7
-D I2C_SDA_PIN=35 -D I2C_SDA_PIN=35
-D I2C_SCK_PIN=36 -D I2C_SCK_PIN=36
-D IS_HW_REV_A
build_unflags = build_unflags =
${btclock_base.build_unflags} ${btclock_base.build_unflags}
@ -73,6 +74,7 @@ build_flags =
-D HAS_FRONTLIGHT -D HAS_FRONTLIGHT
-D PCA_OE_PIN=45 -D PCA_OE_PIN=45
-D PCA_I2C_ADDR=0x42 -D PCA_I2C_ADDR=0x42
-D IS_HW_REV_B
lib_deps = lib_deps =
${btclock_base.lib_deps} ${btclock_base.lib_deps}
robtillaart/PCA9685@^0.7.1 robtillaart/PCA9685@^0.7.1
@ -86,6 +88,7 @@ build_flags =
${env:lolin_s3_mini.build_flags} ${env:lolin_s3_mini.build_flags}
-D USE_QR -D USE_QR
-D VERSION_EPD_2_13 -D VERSION_EPD_2_13
-D HW_REV=\"REV_A_EPD_2_13\"
[env:btclock_rev_b_213epd] [env:btclock_rev_b_213epd]
@ -95,6 +98,7 @@ build_flags =
${env:btclock_rev_b.build_flags} ${env:btclock_rev_b.build_flags}
-D USE_QR -D USE_QR
-D VERSION_EPD_2_13 -D VERSION_EPD_2_13
-D HW_REV=\"REV_B_EPD_2_13\"
[env:lolin_s3_mini_29epd] [env:lolin_s3_mini_29epd]
extends = env:lolin_s3_mini extends = env:lolin_s3_mini
@ -103,6 +107,7 @@ build_flags =
${env:lolin_s3_mini.build_flags} ${env:lolin_s3_mini.build_flags}
-D USE_QR -D USE_QR
-D VERSION_EPD_2_9 -D VERSION_EPD_2_9
-D HW_REV=\"REV_A_EPD_2_9\"
[env:btclock_rev_b_29epd] [env:btclock_rev_b_29epd]
extends = env:btclock_rev_b extends = env:btclock_rev_b
@ -111,6 +116,7 @@ build_flags =
${env:btclock_rev_b.build_flags} ${env:btclock_rev_b.build_flags}
-D USE_QR -D USE_QR
-D VERSION_EPD_2_9 -D VERSION_EPD_2_9
-D HW_REV=\"REV_B_EPD_2_9\"
[env:btclock_s3] [env:btclock_s3]
extends = btclock_base extends = btclock_base