mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 01:42:15 +00:00
RP2040: Use Pico SDK USB stack instead of TinyUSB (#2523)
Seems to fix freeze, serial output still stops after a while
This commit is contained in:
parent
94f5c04e19
commit
35ee12cb4c
@ -8,7 +8,6 @@ build_flags = ${rp2040_base.build_flags}
|
|||||||
-DPRIVATE_HW
|
-DPRIVATE_HW
|
||||||
-Ivariants/rak11310
|
-Ivariants/rak11310
|
||||||
-DDEBUG_RP2040_PORT=Serial
|
-DDEBUG_RP2040_PORT=Serial
|
||||||
-DUSE_TINYUSB
|
|
||||||
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
|
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${rp2040_base.lib_deps}
|
${rp2040_base.lib_deps}
|
@ -51,5 +51,3 @@
|
|||||||
#define SX126X_POWER_EN 25
|
#define SX126X_POWER_EN 25
|
||||||
#define SX126X_E22 // DIO2 controlls an antenna switch and the TCXO voltage is controlled by DIO3
|
#define SX126X_E22 // DIO2 controlls an antenna switch and the TCXO voltage is controlled by DIO3
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Adafruit_TinyUSB.h>
|
|
@ -8,7 +8,6 @@ build_flags = ${rp2040_base.build_flags}
|
|||||||
-DPRIVATE_HW
|
-DPRIVATE_HW
|
||||||
-Ivariants/rpipico
|
-Ivariants/rpipico
|
||||||
-DDEBUG_RP2040_PORT=Serial
|
-DDEBUG_RP2040_PORT=Serial
|
||||||
-DUSE_TINYUSB
|
|
||||||
-DHW_SPI1_DEVICE
|
-DHW_SPI1_DEVICE
|
||||||
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
|
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
|
||||||
lib_deps =
|
lib_deps =
|
||||||
|
@ -52,5 +52,3 @@
|
|||||||
#define SX126X_RESET LORA_RESET
|
#define SX126X_RESET LORA_RESET
|
||||||
#define SX126X_E22
|
#define SX126X_E22
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Adafruit_TinyUSB.h>
|
|
@ -9,7 +9,6 @@ build_flags = ${rp2040_base.build_flags}
|
|||||||
-DPRIVATE_HW
|
-DPRIVATE_HW
|
||||||
-Ivariants/rpipicow
|
-Ivariants/rpipicow
|
||||||
-DDEBUG_RP2040_PORT=Serial
|
-DDEBUG_RP2040_PORT=Serial
|
||||||
-DUSE_TINYUSB
|
|
||||||
-DHW_SPI1_DEVICE
|
-DHW_SPI1_DEVICE
|
||||||
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
|
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
|
||||||
lib_deps =
|
lib_deps =
|
||||||
|
@ -50,5 +50,3 @@
|
|||||||
#define SX126X_RESET LORA_RESET
|
#define SX126X_RESET LORA_RESET
|
||||||
#define SX126X_E22
|
#define SX126X_E22
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Adafruit_TinyUSB.h>
|
|
Loading…
Reference in New Issue
Block a user