kopia lustrzana https://github.com/meshtastic/firmware
				
				
				
			RP2040: Enable telemetry and update HW models (#2525)
							rodzic
							
								
									696afeef41
								
							
						
					
					
						commit
						e699427bfc
					
				|  | @ -2,6 +2,18 @@ | |||
| 
 | ||||
| #define ARCH_RP2040 | ||||
| 
 | ||||
| #if defined(PRIVATE_HW) | ||||
| #define HW_VENDOR meshtastic_HardwareModel_PRIVATE_HW | ||||
| #ifndef HAS_TELEMETRY | ||||
| #define HAS_TELEMETRY 1 | ||||
| #endif | ||||
| #ifndef HAS_SENSOR | ||||
| #define HAS_SENSOR 1 | ||||
| #endif | ||||
| #ifndef HAS_RADIO | ||||
| #define HAS_RADIO 1 | ||||
| #endif | ||||
| 
 | ||||
| #if defined(RPI_PICO) | ||||
| #define HW_VENDOR meshtastic_HardwareModel_RPI_PICO | ||||
| #elif defined(RAK11310) | ||||
| #define HW_VENDOR meshtastic_HardwareModel_RAK11310 | ||||
| #endif | ||||
|  | @ -5,7 +5,7 @@ upload_protocol = picotool | |||
| 
 | ||||
| # add our variants files to the include and src paths | ||||
| build_flags = ${rp2040_base.build_flags}  | ||||
|   -DPRIVATE_HW | ||||
|   -DRAK11310 | ||||
|   -Ivariants/rak11310 | ||||
|   -DDEBUG_RP2040_PORT=Serial | ||||
|   -L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus" | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ upload_protocol = picotool | |||
| 
 | ||||
| # add our variants files to the include and src paths | ||||
| build_flags = ${rp2040_base.build_flags}  | ||||
|   -DPRIVATE_HW | ||||
|   -DRPI_PICO | ||||
|   -Ivariants/rpipico | ||||
|   -DDEBUG_RP2040_PORT=Serial | ||||
|   -DHW_SPI1_DEVICE | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ upload_protocol = picotool | |||
| 
 | ||||
| # add our variants files to the include and src paths | ||||
| build_flags = ${rp2040_base.build_flags}  | ||||
|   -DPRIVATE_HW | ||||
|   -DRPI_PICO | ||||
|   -Ivariants/rpipicow | ||||
|   -DDEBUG_RP2040_PORT=Serial | ||||
|   -DHW_SPI1_DEVICE | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 GUVWAF
						GUVWAF