diff --git a/docs/software/TODO.md b/docs/software/TODO.md index a7d85dcf..1649250d 100644 --- a/docs/software/TODO.md +++ b/docs/software/TODO.md @@ -84,10 +84,13 @@ You probably don't care about this section - skip to the next one. eink: +* DONE check email of reported issues +* DONE turn off vbus driving (in bootloader) * new battery level sensing -* measure current draw +* current draw no good * DONE: fix backlight * DONE - USB is busted because of power enable mode? +* test CPU voltage? something is bad with RAM (removing eink module does not help) * test that board leaves bootloader always * test USB - works in bootloader * test LEDs diff --git a/platformio.ini b/platformio.ini index aeab4f65..742bc6db 100644 --- a/platformio.ini +++ b/platformio.ini @@ -9,13 +9,14 @@ ; https://docs.platformio.org/page/projectconf.html [platformio] -;default_envs = tbeam +default_envs = tbeam ;default_envs = tbeam0.7 ;default_envs = heltec ;default_envs = tlora-v1 ;default_envs = tlora-v2 ;default_envs = lora-relay-v1 # nrf board -default_envs = eink +;default_envs = eink +;default_envs = nrf52840dk-geeksville ;default_envs = linux # lora-relay-v1 # nrf52840dk-geeksville # linux # or if you'd like to change the default to something like lora-relay-v1 put that here [common] @@ -33,6 +34,8 @@ default_envs = eink extra_scripts = bin/platformio-custom.py ; note: we add src to our include search path so that lmic_project_config can override +; note: TINYGPS_OPTION_NO_CUSTOM_FIELDS is VERY important. We don't use custom fields and somewhere in that pile +; of code is a heap corruption bug! ; FIXME: fix lib/BluetoothOTA dependency back on src/ so we can remove -Isrc build_flags = -Wno-missing-field-initializers -Wno-format @@ -40,7 +43,7 @@ build_flags = -Wno-missing-field-initializers -DHW_VERSION_${sysenv.COUNTRY} -DHW_VERSION=${sysenv.HW_VERSION} -DUSE_THREAD_NAMES - -DTINYGPSPLUS_OPTION_NO_CUSTOM_FIELDS + -DTINYGPS_OPTION_NO_CUSTOM_FIELDS ; leave this commented out to avoid breaking Windows ;upload_port = /dev/ttyUSB0 @@ -74,7 +77,7 @@ lib_deps = https://github.com/meshtastic/arduino-fsm.git#2f106146071fc7bc620e1e8d4b88dc4e0266ce39 https://github.com/meshtastic/SparkFun_Ublox_Arduino_Library.git#31015a55e630a2df77d9d714669c621a5bf355ad https://github.com/meshtastic/RadioLib.git#07de964e929238949035fb0d5887026a3058df1a - https://github.com/meshtastic/TinyGPSPlus.git#9c1d584d2469523381e077b0b9c1bf868d6c0206 + https://github.com/meshtastic/TinyGPSPlus.git#f0f47067ef2f67c856475933188251c1ef615e79 https://github.com/meshtastic/AXP202X_Library.git#8404abb6d4b486748636bc6ad72d2a47baaf5460 Wire ; explicitly needed here because the AXP202 library forgets to add it SPI