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
				
			
		
			
				
	
	
		
			66 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| #undef GPS_RX_PIN
 | |
| #undef GPS_TX_PIN
 | |
| 
 | |
| #define BUTTON_PIN 0
 | |
| 
 | |
| #define PIN_BUZZER 43
 | |
| 
 | |
| #define HAS_WIRE 0
 | |
| 
 | |
| #define BATTERY_PIN ADC1_CHANNEL_1_GPIO_NUM // 2
 | |
| // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
 | |
| // ratio of voltage divider = 3.0 (R11=200k, R7=100k)
 | |
| #define ADC_MULTIPLIER 3.1 // 3.0 with correction of display undervoltage.
 | |
| #define ADC_CHANNEL ADC1_GPIO2_CHANNEL
 | |
| 
 | |
| #define USE_RF95 // RFM95/SX127x
 | |
| 
 | |
| #define LORA_SCK SCK   // 21
 | |
| #define LORA_MISO MISO // 39
 | |
| #define LORA_MOSI MOSI // 38
 | |
| #define LORA_CS SS     // 40
 | |
| #define LORA_RESET RADIOLIB_NC
 | |
| 
 | |
| // per SX1276_Receive_Interrupt/utilities.h
 | |
| #define LORA_DIO0 10
 | |
| #define LORA_DIO1 RADIOLIB_NC
 | |
| #define LORA_DIO2 RADIOLIB_NC
 | |
| 
 | |
| // Default SPI1 will be mapped to the display
 | |
| #define ST7789_SDA 4
 | |
| #define ST7789_SCK 3
 | |
| #define ST7789_CS 6
 | |
| #define ST7789_RS 1
 | |
| #define ST7789_BL 5
 | |
| 
 | |
| #define ST7789_RESET -1
 | |
| #define ST7789_MISO -1
 | |
| #define ST7789_BUSY -1
 | |
| #define ST7789_SPI_HOST SPI3_HOST
 | |
| #define TFT_BL 5
 | |
| #define SPI_FREQUENCY 40000000
 | |
| #define SPI_READ_FREQUENCY 16000000
 | |
| #define TFT_HEIGHT 320
 | |
| #define TFT_WIDTH 240
 | |
| #define TFT_OFFSET_X 0
 | |
| #define TFT_OFFSET_Y 0
 | |
| #define TFT_OFFSET_ROTATION 0
 | |
| #define SCREEN_ROTATE
 | |
| #define SCREEN_TRANSITION_FRAMERATE 5
 | |
| 
 | |
| // Picomputer gets a white on black display
 | |
| #define TFT_MESH_OVERRIDE COLOR565(255, 255, 255)
 | |
| 
 | |
| #define CANNED_MESSAGE_MODULE_ENABLE 1
 | |
| 
 | |
| #define INPUTBROKER_MATRIX_TYPE 1
 | |
| 
 | |
| #define KEYS_COLS                                                                                                                \
 | |
|     {                                                                                                                            \
 | |
|         44, 47, 17, 15, 13, 41                                                                                                   \
 | |
|     }
 | |
| #define KEYS_ROWS                                                                                                                \
 | |
|     {                                                                                                                            \
 | |
|         12, 16, 42, 18, 14, 7                                                                                                    \
 | |
|     }
 |