mirror of
				https://github.com/meshtastic/firmware.git
				synced 2025-10-28 15:22:55 +00:00 
			
		
		
		
	 473ef1bc03
			
		
	
	
		473ef1bc03
		
			
		
	
	
	
	
		
			
			* First addition of __has_include for sensor support * Add __has_include blocks for sensors * Put BMP and BME back in the right sensors * Make TelemetrySensor::setup() a pure virtual finction * Split environmental_base to environmental_extra, to compile the working sensor libs for Native * Remove hard-coded checks for ARCH_PORTDUINO * Un-clobber bmx160 * Move BusIO to environmental_extra due to Armv7 compile error * Move to forked BusIO for the moment * Enable HAS_SENSOR for Portduino * Move back to Adafruit BusIO after patch
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ; Common settings for rp2040 Processor based targets
 | |
| [rp2040_base]
 | |
| platform =
 | |
|   # TODO renovate
 | |
|   https://github.com/maxgerhardt/platform-raspberrypi#76ecf3c7e9dd4503af0331154c4ca1cddc4b03e5
 | |
|   ; For arduino-pico >= 4.4.3
 | |
| extends = arduino_base
 | |
| platform_packages =
 | |
|   # TODO renovate
 | |
|   framework-arduinopico@https://github.com/earlephilhower/arduino-pico#4.4.3
 | |
| 
 | |
| board_build.core = earlephilhower
 | |
| board_build.filesystem_size = 0.5m
 | |
| build_flags = 
 | |
|   ${arduino_base.build_flags} -Wno-unused-variable -Wcast-align
 | |
|   -Isrc/platform/rp2xx0
 | |
|   -Isrc/platform/rp2xx0/hardware_rosc/include
 | |
|   -Isrc/platform/rp2xx0/pico_sleep/include
 | |
|   -D__PLAT_RP2040__
 | |
| #  -D _POSIX_THREADS
 | |
| build_src_filter = 
 | |
|   ${arduino_base.build_src_filter} -<platform/esp32/> -<nimble/> -<modules/esp32> -<platform/nrf52/> -<platform/stm32wl> -<mesh/eth/> -<mesh/wifi/> -<mesh/http/> -<mesh/raspihttp>
 | |
| 
 | |
| lib_ignore =
 | |
|   BluetoothOTA
 | |
|   lvgl
 | |
| 
 | |
| lib_deps =
 | |
|   ${arduino_base.lib_deps}
 | |
|   ${environmental_base.lib_deps}
 | |
|   ${environmental_extra.lib_deps}
 | |
|   ${radiolib_base.lib_deps}
 | |
|   # renovate: datasource=custom.pio depName=rweather/Crypto packageName=rweather/library/Crypto
 | |
|   rweather/Crypto@0.4.0
 |