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
				
			
		
			
				
	
	
		
			91 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			91 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| #define I2C_SDA 15
 | |
| #define I2C_SCL 16
 | |
| 
 | |
| #if CROW_SELECT == 1
 | |
| #define WAKE_ON_TOUCH
 | |
| #define SCREEN_TOUCH_INT 47
 | |
| #define USE_POWERSAVE
 | |
| #define SLEEP_TIME 180
 | |
| #endif
 | |
| 
 | |
| #if CROW_SELECT == 1
 | |
| // dac / amp
 | |
| // #define HAS_I2S // didn't get I2S sound working
 | |
| #define PIN_BUZZER 8 // using pwm buzzer instead (nobody will notice, lol)
 | |
| #define DAC_I2S_BCK 13
 | |
| #define DAC_I2S_WS 11
 | |
| #define DAC_I2S_DOUT 12
 | |
| #define DAC_I2S_MCLK 8 // don't use GPIO0 because it's assigned to LoRa or button
 | |
| #else
 | |
| #define PIN_BUZZER 8
 | |
| #endif
 | |
| 
 | |
| // GPS via UART1 connector
 | |
| #define GPS_DEFAULT_NOT_PRESENT 1
 | |
| #define HAS_GPS 1
 | |
| #if CROW_SELECT == 1
 | |
| #define GPS_RX_PIN 18
 | |
| #define GPS_TX_PIN 17
 | |
| #else
 | |
| // GPIOs shared with LoRa or MIC module
 | |
| #define GPS_RX_PIN 19
 | |
| #define GPS_TX_PIN 20
 | |
| #endif
 | |
| 
 | |
| // Extension Slot Layout, viewed from above (2.4-3.5)
 | |
| // DIO1/IO1 o   o IO2/NRESET
 | |
| // SCK/IO10 o   o IO16/NC
 | |
| // MISO/IO9 o   o IO15/NC
 | |
| // MOSI/IO3 o   o NC/DIO2
 | |
| //      3V3 o   o IO46/BUSY
 | |
| //      GND o   o IO0/NSS
 | |
| //    5V/NC o   o NC/DIO3
 | |
| //         J9   J8
 | |
| 
 | |
| // Extension Slot Layout, viewed from above (4.3-7.0)
 | |
| // !! DIO1/IO20 o   o IO19/NRESET !!
 | |
| // !!   SCK/IO5 o   o IO16/NC
 | |
| // !!  MISO/IO4 o   o IO15/NC
 | |
| // !!  MOSI/IO6 o   o NC/DIO2
 | |
| //          3V3 o   o IO2/BUSY !!
 | |
| //          GND o   o IO0/NSS
 | |
| //        5V/NC o   o NC/DIO3
 | |
| //             J9   J8
 | |
| 
 | |
| // LoRa
 | |
| #define USE_SX1262
 | |
| 
 | |
| #if CROW_SELECT == 1
 | |
| // 2.4", 2.8, 3.5"""
 | |
| #define HW_SPI1_DEVICE
 | |
| #define LORA_CS 0
 | |
| #define LORA_SCK 10
 | |
| #define LORA_MISO 9
 | |
| #define LORA_MOSI 3
 | |
| 
 | |
| #define LORA_RESET 2
 | |
| #define LORA_DIO1 1  // SX1262 IRQ
 | |
| #define LORA_DIO2 46 // SX1262 BUSY
 | |
| 
 | |
| // need to pull IO45 low to enable LORA and disable Microphone on 24 28 35
 | |
| #define SENSOR_POWER_CTRL_PIN 45
 | |
| #define SENSOR_POWER_ON LOW
 | |
| #else
 | |
| // 4.3", 5.0", 7.0"
 | |
| #define LORA_CS 0
 | |
| #define LORA_SCK 5
 | |
| #define LORA_MISO 4
 | |
| #define LORA_MOSI 6
 | |
| 
 | |
| #define LORA_RESET 19
 | |
| #define LORA_DIO1 20 // SX1262 IRQ
 | |
| #define LORA_DIO2 2  // SX1262 BUSY
 | |
| #endif
 | |
| 
 | |
| #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 3.3
 |