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
				
			
		
			
				
	
	
		
			81 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			81 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| #define I2C_SDA 39
 | |
| #define I2C_SCL 40
 | |
| 
 | |
| // This board has a serial coprocessor for sensor readings
 | |
| #define SENSOR_RP2040_TXD 19
 | |
| #define SENSOR_RP2040_RXD 20
 | |
| #define SENSOR_PORT_NUM 2
 | |
| #define SENSOR_BAUD_RATE 115200
 | |
| 
 | |
| #define BUTTON_PIN 38
 | |
| #define BUTTON_ACTIVE_LOW true
 | |
| #define BUTTON_ACTIVE_PULLUP true
 | |
| 
 | |
| // #define BUTTON_NEED_PULLUP
 | |
| 
 | |
| // #define BATTERY_PIN 27 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
 | |
| // #define ADC_CHANNEL ADC1_GPIO27_CHANNEL
 | |
| // #define ADC_MULTIPLIER 2
 | |
| 
 | |
| // ST7701 TFT LCD
 | |
| #define ST7701_CS (4 | IO_EXPANDER)
 | |
| #define ST7701_RS -1  // DC
 | |
| #define ST7701_SDA 48 // MOSI
 | |
| #define ST7701_SCK 41
 | |
| #define ST7701_RESET (5 | IO_EXPANDER)
 | |
| #define ST7701_MISO 47
 | |
| #define ST7701_BUSY -1
 | |
| #define ST7701_BL 45
 | |
| #define ST7701_SPI_HOST SPI2_HOST
 | |
| #define ST7701_BACKLIGHT_EN 45
 | |
| #define SPI_FREQUENCY 12000000
 | |
| #define TFT_HEIGHT 480
 | |
| #define TFT_WIDTH 480
 | |
| #define TFT_OFFSET_X 0
 | |
| #define TFT_OFFSET_Y 0
 | |
| #define TFT_OFFSET_ROTATION 0
 | |
| #define TFT_BL 45
 | |
| #define SCREEN_ROTATE
 | |
| #define SCREEN_TRANSITION_FRAMERATE 5 // fps
 | |
| 
 | |
| #define HAS_TOUCHSCREEN 1
 | |
| #define SCREEN_TOUCH_INT (6 | IO_EXPANDER)
 | |
| #define SCREEN_TOUCH_RST (7 | IO_EXPANDER)
 | |
| #define TOUCH_I2C_PORT 0
 | |
| #define TOUCH_SLAVE_ADDRESS 0x48
 | |
| 
 | |
| // in future, we may want to add a buzzer and add all sensors to the indicator via a data protocol for now only GPS is supported
 | |
| // // Buzzer
 | |
| // #define PIN_BUZZER 19
 | |
| 
 | |
| #define GPS_DEFAULT_NOT_PRESENT 1
 | |
| #define GPS_RX_PIN 20
 | |
| #define GPS_TX_PIN 19
 | |
| #define HAS_GPS 1
 | |
| 
 | |
| #define USE_SX1262
 | |
| #define USE_SX1268
 | |
| 
 | |
| #define LORA_SCK 41
 | |
| #define LORA_MISO 47
 | |
| #define LORA_MOSI 48
 | |
| #define LORA_CS (0 | IO_EXPANDER)
 | |
| 
 | |
| #define LORA_DIO0 -1 // a no connect on the SX1262 module
 | |
| #define LORA_RESET (1 | IO_EXPANDER)
 | |
| #define LORA_DIO1 (3 | IO_EXPANDER) // SX1262 IRQ
 | |
| #define LORA_DIO2 (2 | IO_EXPANDER) // SX1262 BUSY
 | |
| #define LORA_DIO3
 | |
| 
 | |
| #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 TCXO_OPTIONAL // handle Indicator V1 and V2
 | |
| #define SX126X_DIO3_TCXO_VOLTAGE 2.4
 | |
| 
 | |
| #define USE_VIRTUAL_KEYBOARD 1
 | |
| #define DISPLAY_CLOCK_FRAME 1
 |