Move to variants

This commit is contained in:
whywilson 2025-07-27 06:22:42 +08:00
parent 90e3820616
commit d2f7c59843
3 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
extends = nrf52840_base
board = meshtiny
board_check = true
build_flags = ${nrf52840_base.build_flags} -Ivariants/meshtiny -D MESHTINY
build_flags = ${nrf52840_base.build_flags} -Ivariants/nrf52840/meshtiny -D MESHTINY
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
-DRADIOLIB_EXCLUDE_SX128X=1
-DRADIOLIB_EXCLUDE_SX127X=1
@ -13,6 +13,6 @@ build_flags = ${nrf52840_base.build_flags} -Ivariants/meshtiny -D MESHTINY
-D INPUTDRIVER_ENCODER_DOWN=26
-D INPUTDRIVER_ENCODER_BTN=28
-D USE_PIN_BUZZER=PIN_BUZZER
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/meshtiny>
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/meshtiny>
lib_deps =
${nrf52840_base.lib_deps}