; SaltyBot UWB Anchor Firmware — Issue #544
; Target: Makerfabs ESP32 UWB Pro (DW3000 chip)
;
; Library: Makerfabs MaUWB_DW3000
;   https://github.com/Makerfabs/MaUWB_DW3000
;
; Flash:
;   pio run -e anchor0 --target upload   (port-side anchor)
;   pio run -e anchor1 --target upload   (starboard anchor)
; Monitor:
;   pio device monitor -e anchor0 -b 115200

[common]
platform     = espressif32
board        = esp32dev
framework    = arduino
monitor_speed = 115200
upload_speed  = 921600
lib_deps =
    https://github.com/Makerfabs/MaUWB_DW3000.git
build_flags =
    -DCORE_DEBUG_LEVEL=0

[env:anchor0]
extends     = common
build_flags = ${common.build_flags} -DANCHOR_ID=0

[env:anchor1]
extends     = common
build_flags = ${common.build_flags} -DANCHOR_ID=1
