fix: restore platformio.ini to use local DW1000 lib (not DW3000 git)

This commit is contained in:
Salty Bead 2026-03-30 09:23:54 -04:00
parent 5e591ab466
commit 0af5994bcf

View File

@ -1,17 +1,11 @@
; SaltyBot UWB Tag Firmware — Issue #545, Issue #698 ; SaltyBot UWB Tag Firmware
; Target: Makerfabs ESP32 UWB Pro with Display (DW3000 + SSD1306 OLED) ; Target: Makerfabs ESP32 UWB Pro with Display (DW1000 + SSD1306 OLED)
; ;
; The tag is battery-powered, worn by the person being tracked. ; v2: DW1000 data frames + BLE GPS/IMU input (replaces ESP-NOW)
; It initiates DS-TWR ranging with each anchor in round-robin, ; iPhone connects via BLE, streams GPS+IMU, tag relays via UWB to anchors.
; shows status on OLED display, and sends data via ESP-NOW.
;
; Library: Makerfabs MaUWB_DW3000
; https://github.com/Makerfabs/MaUWB_DW3000
; ;
; Flash: ; Flash:
; pio run -e tag --target upload ; pio run -e tag --target upload
; Monitor (USB debug):
; pio device monitor -b 115200
[env:tag] [env:tag]
platform = espressif32 platform = espressif32
@ -19,11 +13,12 @@ board = esp32dev
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 115200
upload_speed = 921600 upload_speed = 921600
lib_extra_dirs = ../../lib
lib_deps = lib_deps =
https://github.com/Makerfabs/MaUWB_DW3000.git
adafruit/Adafruit SSD1306@^2.5.7 adafruit/Adafruit SSD1306@^2.5.7
adafruit/Adafruit GFX Library@^1.11.5 adafruit/Adafruit GFX Library@^1.11.5
board_build.partitions = huge_app.csv
build_flags = build_flags =
-DCORE_DEBUG_LEVEL=0 -DCORE_DEBUG_LEVEL=0
-DTAG_ID=0x01 ; unique per tag (0x010xFE) -DTAG_ID=0x01
-DRANGE_INTERVAL_MS=50 ; 20 Hz round-robin across discovered anchors -Wno-error=return-type