From 3aa1ce51268264acf242ab2277ba2e57a82cb0f7 Mon Sep 17 00:00:00 2001 From: mverch67 Date: Mon, 18 Mar 2024 18:11:22 +0100 Subject: [PATCH 1/3] fix WLAN crash --- boards/t-deck.json | 2 +- variants/t-deck/platformio.ini | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/boards/t-deck.json b/boards/t-deck.json index d62ec48e65..ff5126771d 100644 --- a/boards/t-deck.json +++ b/boards/t-deck.json @@ -8,7 +8,7 @@ "extra_flags": [ "-DBOARD_HAS_PSRAM", "-DARDUINO_USB_CDC_ON_BOOT=1", - "-DARDUINO_USB_MODE=0", + "-DARDUINO_USB_MODE=1", "-DARDUINO_RUNNING_CORE=1", "-DARDUINO_EVENT_RUNNING_CORE=0" ], diff --git a/variants/t-deck/platformio.ini b/variants/t-deck/platformio.ini index cb60333005..593fdae5e9 100644 --- a/variants/t-deck/platformio.ini +++ b/variants/t-deck/platformio.ini @@ -8,6 +8,7 @@ upload_protocol = esptool build_flags = ${esp32_base.build_flags} -DT_DECK -DBOARD_HAS_PSRAM + -DMAX_THREADS=40 -DGPS_POWER_TOGGLE -Ivariants/t-deck From 017703aa61561f30807b60f23e2c9d0b90441a51 Mon Sep 17 00:00:00 2001 From: mverch67 Date: Mon, 18 Mar 2024 18:20:06 +0100 Subject: [PATCH 2/3] link to commit in arduinothread --- platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index c511587a62..2c373ab00f 100644 --- a/platformio.ini +++ b/platformio.ini @@ -79,7 +79,7 @@ lib_deps = mathertel/OneButton@^2.5.0 ; OneButton library for non-blocking button debounce https://github.com/meshtastic/arduino-fsm.git#7db3702bf0cfe97b783d6c72595e3f38e0b19159 https://github.com/meshtastic/TinyGPSPlus.git#f9f4fef2183514aa52be91d714c1455dd6f26e45 - https://github.com/meshtastic/ArduinoThread.git#72921ac222eed6f526ba1682023cee290d9aa1b3 + https://github.com/meshtastic/ArduinoThread.git#1ae8778c85d0a2a729f989e0b1e7d7c4dc84eef0 nanopb/Nanopb@^0.4.7 erriez/ErriezCRC32@^1.0.1 From b7845195704ef0c3de8dc93b14cf33258c47f98f Mon Sep 17 00:00:00 2001 From: mverch67 Date: Mon, 18 Mar 2024 21:22:21 +0100 Subject: [PATCH 3/3] revert usb mode --- boards/t-deck.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/t-deck.json b/boards/t-deck.json index ff5126771d..d62ec48e65 100644 --- a/boards/t-deck.json +++ b/boards/t-deck.json @@ -8,7 +8,7 @@ "extra_flags": [ "-DBOARD_HAS_PSRAM", "-DARDUINO_USB_CDC_ON_BOOT=1", - "-DARDUINO_USB_MODE=1", + "-DARDUINO_USB_MODE=0", "-DARDUINO_RUNNING_CORE=1", "-DARDUINO_EVENT_RUNNING_CORE=0" ],