kopia lustrzana https://github.com/meshtastic/firmware
				
				
				
			RP2040: Use Pico SDK USB stack instead of TinyUSB (#2523)
Seems to fix freeze, serial output still stops after a whilepull/2525/head
							rodzic
							
								
									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}
 | 
				
			||||||
| 
						 | 
					@ -50,6 +50,4 @@
 | 
				
			||||||
#define SX126X_RESET LORA_RESET
 | 
					#define SX126X_RESET LORA_RESET
 | 
				
			||||||
#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 =
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -51,6 +51,4 @@
 | 
				
			||||||
#define SX126X_BUSY LORA_DIO2
 | 
					#define SX126X_BUSY LORA_DIO2
 | 
				
			||||||
#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 =
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -49,6 +49,4 @@
 | 
				
			||||||
#define SX126X_BUSY LORA_DIO2
 | 
					#define SX126X_BUSY LORA_DIO2
 | 
				
			||||||
#define SX126X_RESET LORA_RESET
 | 
					#define SX126X_RESET LORA_RESET
 | 
				
			||||||
#define SX126X_E22
 | 
					#define SX126X_E22
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					 | 
				
			||||||
#include <Adafruit_TinyUSB.h>
 | 
					 | 
				
			||||||
		Ładowanie…
	
		Reference in New Issue