| 
									
										
										
										
											2025-02-20 09:56:34 +00:00
										 |  |  | [env:pico2w] | 
					
						
							|  |  |  | extends = rp2350_base | 
					
						
							|  |  |  | board = rpipico2w | 
					
						
							|  |  |  | upload_protocol = jlink | 
					
						
							|  |  |  | # debug settings for external openocd with RP2040 support (custom build) | 
					
						
							|  |  |  | debug_tool = custom | 
					
						
							|  |  |  | debug_init_cmds = | 
					
						
							|  |  |  |   target extended-remote localhost:3333 | 
					
						
							|  |  |  |   $INIT_BREAK | 
					
						
							|  |  |  |   monitor reset halt | 
					
						
							|  |  |  |   $LOAD_CMDS | 
					
						
							|  |  |  |   monitor init | 
					
						
							|  |  |  |   monitor reset halt | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # add our variants files to the include and src paths | 
					
						
							|  |  |  | build_flags = ${rp2350_base.build_flags}  | 
					
						
							|  |  |  |   -DRPI_PICO2 | 
					
						
							|  |  |  |   -Ivariants/rpipico2w | 
					
						
							|  |  |  | #  -DDEBUG_RP2040_PORT=Serial | 
					
						
							|  |  |  |   -DHW_SPI1_DEVICE | 
					
						
							|  |  |  |   -DARDUINO_RASPBERRY_PI_PICO_2W | 
					
						
							|  |  |  |   -DARDUINO_ARCH_RP2040 | 
					
						
							|  |  |  |   -DHAS_WIFI=1 | 
					
						
							|  |  |  |   -fexceptions  # for exception handling in MQTT | 
					
						
							| 
									
										
										
										
											2025-03-20 13:49:28 +00:00
										 |  |  |   -DHAS_UDP_MULTICAST=1 | 
					
						
							| 
									
										
										
										
											2025-02-20 09:56:34 +00:00
										 |  |  | build_src_filter = ${rp2350_base.build_src_filter} +<mesh/wifi/> | 
					
						
							|  |  |  | lib_deps = | 
					
						
							|  |  |  |   ${rp2350_base.lib_deps} | 
					
						
							|  |  |  |   ${networking_base.lib_deps} | 
					
						
							| 
									
										
										
										
											2025-03-20 13:49:28 +00:00
										 |  |  | debug_build_flags = ${rp2350_base.build_flags}, -g |