mirror of
				https://github.com/meshtastic/firmware.git
				synced 2025-10-28 23:34:03 +00:00 
			
		
		
		
	 475cfe4af2
			
		
	
	
		475cfe4af2
		
			
		
	
	
	
		
			
	
		
	
	
		
			Some checks are pending
		
		
	
	CI / setup (check) (push) Waiting to run
				
			CI / setup (esp32) (push) Waiting to run
				
			CI / setup (esp32c3) (push) Waiting to run
				
			CI / setup (esp32c6) (push) Waiting to run
				
			CI / setup (esp32s3) (push) Waiting to run
				
			CI / setup (nrf52840) (push) Waiting to run
				
			CI / setup (rp2040) (push) Waiting to run
				
			CI / setup (stm32) (push) Waiting to run
				
			CI / check (push) Blocked by required conditions
				
			CI / build-esp32 (push) Blocked by required conditions
				
			CI / build-esp32-s3 (push) Blocked by required conditions
				
			CI / build-esp32-c3 (push) Blocked by required conditions
				
			CI / build-esp32-c6 (push) Blocked by required conditions
				
			CI / build-nrf52 (push) Blocked by required conditions
				
			CI / build-rpi2040 (push) Blocked by required conditions
				
			CI / build-stm32 (push) Blocked by required conditions
				
			CI / build-debian-src (push) Waiting to run
				
			CI / package-pio-deps-native-tft (push) Waiting to run
				
			CI / test-native (push) Waiting to run
				
			CI / docker-deb-amd64 (push) Waiting to run
				
			CI / docker-deb-amd64-tft (push) Waiting to run
				
			CI / docker-alp-amd64 (push) Waiting to run
				
			CI / docker-alp-amd64-tft (push) Waiting to run
				
			CI / docker-deb-arm64 (push) Waiting to run
				
			CI / docker-deb-armv7 (push) Waiting to run
				
			CI / gather-artifacts (esp32) (push) Blocked by required conditions
				
			CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
				
			CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
				
			CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
				
			CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
				
			CI / gather-artifacts (rp2040) (push) Blocked by required conditions
				
			CI / gather-artifacts (stm32) (push) Blocked by required conditions
				
			CI / release-artifacts (push) Blocked by required conditions
				
			CI / release-firmware (esp32) (push) Blocked by required conditions
				
			CI / release-firmware (esp32c3) (push) Blocked by required conditions
				
			CI / release-firmware (esp32c6) (push) Blocked by required conditions
				
			CI / release-firmware (esp32s3) (push) Blocked by required conditions
				
			CI / release-firmware (nrf52840) (push) Blocked by required conditions
				
			CI / release-firmware (rp2040) (push) Blocked by required conditions
				
			CI / release-firmware (stm32) (push) Blocked by required conditions
				
			CI / publish-firmware (push) Blocked by required conditions
				
			
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| #define BATTERY_PIN 15
 | |
| #define ADC_CHANNEL ADC2_GPIO15_CHANNEL // ADC channel for battery voltage measurement
 | |
| #define BATTERY_SENSE_SAMPLES 30
 | |
| #define BAT_MEASURE_ADC_UNIT 2 // Use ADC2 for battery measurement
 | |
| 
 | |
| #define USE_SSD1306
 | |
| 
 | |
| #define BUTTON_PIN 0 // Button pin for this board
 | |
| #define CANCEL_BUTTON_PIN 36
 | |
| #define CANCEL_BUTTON_ACTIVE_LOW true
 | |
| #define CANCEL_BUTTON_ACTIVE_PULLUP true
 | |
| 
 | |
| #define HAS_NEOPIXEL                         // If defined, we will use the neopixel library
 | |
| #define NEOPIXEL_DATA 35                     // Neopixel pin for this board
 | |
| #define NEOPIXEL_COUNT 1                     // Number of neopixels on this board
 | |
| #define NEOPIXEL_TYPE (NEO_GRB + NEO_KHZ800) // type of neopixels in use
 | |
| 
 | |
| #define ADC_MULTIPLIER 2
 | |
| 
 | |
| #define I2C_SDA 47 // I2C pins for this board
 | |
| #define I2C_SCL 48
 | |
| 
 | |
| #define USE_SX1262
 | |
| 
 | |
| #define LORA_SCK 16
 | |
| #define LORA_MISO 33
 | |
| #define LORA_MOSI 34
 | |
| #define LORA_CS 21
 | |
| #define LORA_RESET 18
 | |
| 
 | |
| #define LORA_DIO0 12 // a No connect on the SX1262 module
 | |
| #define LORA_DIO1 13
 | |
| #define LORA_DIO2 14 // Not really used
 | |
| 
 | |
| #define LORA_TCXO_GPIO 17
 | |
| 
 | |
| #define TCXO_OPTIONAL
 | |
| 
 | |
| #define SX126X_CS LORA_CS
 | |
| #define SX126X_DIO1 LORA_DIO1
 | |
| #define SX126X_BUSY LORA_DIO2
 | |
| #define SX126X_RESET LORA_RESET
 | |
| #define SX126X_DIO2_AS_RF_SWITCH
 | |
| #define SX126X_DIO3_TCXO_VOLTAGE 1.8
 |