mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-01 10:21:59 +00:00
feat(l2): long trails with a card copy; map follow and redraw fixes
Trail on the L2: 32768 points every 5 m, no simplification, no point spacing setting; copied to the card every minute and restored at power-on. The line keeps up with the position dot (incremental sync, pending point). Map: a tap's finger jitter no longer turns follow off; the GPS button shows when the map follows. The trail is drawn as one polyline with breaks and off-view chunks skipped (an lv_line queued a draw task per point). Fewer rebuilds: conversation bubbles patched (new messages, delivery marks), home mini-map dots reused, Nearby rows rewritten in place, history read in runs and each file opened once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,9 @@ build_flags =
|
||||
-D OTA_ASSET_SUFFIX='"-Wio-Tracker-L2-ota.bin"' ; Settings > Firmware update
|
||||
; Sized for the PSRAM (UiCore is heap-allocated, so these land there);
|
||||
; the defaults in the headers are the nRF52 boards'.
|
||||
-D TRAIL_CAPACITY=4096 ; 64 KB (+64 KB of map drawing buffers)
|
||||
-D TRAIL_CAPACITY=32768 ; 512 KB (+512 KB of map drawing buffers): ~160 km at 5 m
|
||||
-D TRAIL_SIMPLIFY=0 ; every point kept: no straight-run simplification
|
||||
-D TRAIL_FIXED_MIN_DELTA_M=5 ; a fixed GPS-jitter gate instead of the point spacing setting
|
||||
-D WAYPOINT_CAPACITY=64
|
||||
-D HIST_CH_MAX=256 ; all channels together, ~50 KB
|
||||
-D HIST_DM_MAX=128 ; all DMs together, ~27 KB
|
||||
|
||||
Reference in New Issue
Block a user