From 2c5ea03b7447d2fdb608ba866eb44f1d4bd4bba6 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Thu, 1 Apr 2021 20:32:12 +0800 Subject: [PATCH] fix VFS creation bug in native. fix heap corruption in Fsm free --- bin/native-gdbserver.sh | 2 +- bin/native-run.sh | 2 +- docs/software/TODO.md | 7 +++++-- platformio.ini | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/bin/native-gdbserver.sh b/bin/native-gdbserver.sh index 535260b6f..cbcbae4f9 100755 --- a/bin/native-gdbserver.sh +++ b/bin/native-gdbserver.sh @@ -1,3 +1,3 @@ set -e pio run --environment native -gdbserver --once localhost:2345 .pio/build/native/program +gdbserver --once localhost:2345 .pio/build/native/program "$@" diff --git a/bin/native-run.sh b/bin/native-run.sh index 2a3677b07..64d44df52 100755 --- a/bin/native-run.sh +++ b/bin/native-run.sh @@ -1,3 +1,3 @@ set -e pio run --environment native -.pio/build/native/program +.pio/build/native/program "$@" diff --git a/docs/software/TODO.md b/docs/software/TODO.md index dca789af7..527c680b6 100644 --- a/docs/software/TODO.md +++ b/docs/software/TODO.md @@ -4,9 +4,11 @@ You probably don't care about this section - skip to the next one. ## before next release -* test github actions locally on linux +* remote admin busted? https://github.com/meshtastic/Meshtastic-device/issues/772 +* ABANDONED test github actions locally on linux * DONE fix github actions per sasha tip * @havealoha comments about odd sleep behavior +* tell ttgo to preinstall new bins * fix heltec battery scaling * DONE sendtext busted in portduino, due to bytetime calculations * remove linux dependency in native build @@ -17,6 +19,7 @@ You probably don't care about this section - skip to the next one. * add license to portduino and make announcement * DONE naks are being dropped (though enqueuedLocal) sometimes before phone/PC gets them * DONE have android fill in if local GPS has poor signal +* optionally restrict position sends to a named channel * release to beta and amazon * add reference counting to mesh packets * allow multiple simultanteous phoneapi connections @@ -135,7 +138,7 @@ You probably don't care about this section - skip to the next one. * DONE make all subpackets different versions of data * DONE move routing control into a data packet * have phoneapi done via plugin (will allow multiple simultaneous API clients - stop disabling BLE while using phone API) -* use reference counting and dynamic sizing for meshpackets. +* use reference counting and dynamic sizing for meshpackets. - use https://docs.microsoft.com/en-us/cpp/cpp/how-to-create-and-use-shared-ptr-instances?view=msvc-160 (already used in arduino) * let multiple PhoneAPI endpoints work at once * allow multiple simultaneous bluetooth connections (create the bluetooth phoneapi instance dynamically based on client id) * DONE figure out how to add micro_delta to position, make it so that phone apps don't need to understand it? diff --git a/platformio.ini b/platformio.ini index ff7169508..12f901121 100644 --- a/platformio.ini +++ b/platformio.ini @@ -68,7 +68,7 @@ lib_deps = https://github.com/meshtastic/esp8266-oled-ssd1306.git#35d796226b853b0c0ff818b2f1aa3d35e7296a96 ; ESP8266_SSD1306 https://github.com/geeksville/OneButton.git ; OneButton library for non-blocking button debounce 1202 ; CRC32, explicitly needed because dependency is missing in the ble ota update lib - https://github.com/meshtastic/arduino-fsm.git#55c47b6cded91645aff05a27b6e5821d8d0f64be + https://github.com/meshtastic/arduino-fsm.git#829e967b8a95c094f73c60ef8dacfe66eae38940 https://github.com/meshtastic/SparkFun_Ublox_Arduino_Library.git#31015a55e630a2df77d9d714669c621a5bf355ad https://github.com/meshtastic/RadioLib.git#07de964e929238949035fb0d5887026a3058df1a https://github.com/meshtastic/TinyGPSPlus.git#f0f47067ef2f67c856475933188251c1ef615e79