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:
GUVWAF 2023-05-28 02:22:26 +02:00 committed by GitHub
parent 94f5c04e19
commit 35ee12cb4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 12 deletions

View File

@ -8,7 +8,6 @@ build_flags = ${rp2040_base.build_flags}
-DPRIVATE_HW
-Ivariants/rak11310
-DDEBUG_RP2040_PORT=Serial
-DUSE_TINYUSB
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
lib_deps =
${rp2040_base.lib_deps}

View File

@ -51,5 +51,3 @@
#define SX126X_POWER_EN 25
#define SX126X_E22 // DIO2 controlls an antenna switch and the TCXO voltage is controlled by DIO3
#endif
#include <Adafruit_TinyUSB.h>

View File

@ -8,7 +8,6 @@ build_flags = ${rp2040_base.build_flags}
-DPRIVATE_HW
-Ivariants/rpipico
-DDEBUG_RP2040_PORT=Serial
-DUSE_TINYUSB
-DHW_SPI1_DEVICE
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
lib_deps =

View File

@ -52,5 +52,3 @@
#define SX126X_RESET LORA_RESET
#define SX126X_E22
#endif
#include <Adafruit_TinyUSB.h>

View File

@ -9,7 +9,6 @@ build_flags = ${rp2040_base.build_flags}
-DPRIVATE_HW
-Ivariants/rpipicow
-DDEBUG_RP2040_PORT=Serial
-DUSE_TINYUSB
-DHW_SPI1_DEVICE
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
lib_deps =

View File

@ -50,5 +50,3 @@
#define SX126X_RESET LORA_RESET
#define SX126X_E22
#endif
#include <Adafruit_TinyUSB.h>