mirror of
				https://github.com/meshtastic/firmware.git
				synced 2025-10-29 23:54:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			789 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			789 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // #define RADIOLIB_CUSTOM_ARDUINO 1
 | |
| // #define RADIOLIB_TONE_UNSUPPORTED 1
 | |
| // #define RADIOLIB_SOFTWARE_SERIAL_UNSUPPORTED 1
 | |
| 
 | |
| #define ARDUINO_ARCH_AVR
 | |
| 
 | |
| #define HAS_SCREEN 0
 | |
| #define HAS_GPS 0
 | |
| #undef GPS_RX_PIN
 | |
| #undef GPS_TX_PIN
 | |
| 
 | |
| #define LED_PIN 27
 | |
| 
 | |
| #define USE_SX1262
 | |
| 
 | |
| #undef LORA_SCK
 | |
| #undef LORA_MISO
 | |
| #undef LORA_MOSI
 | |
| #undef LORA_CS
 | |
| 
 | |
| #define LORA_SCK 18
 | |
| #define LORA_MISO 16
 | |
| #define LORA_MOSI 19
 | |
| #define LORA_CS 17 // NSS
 | |
| 
 | |
| #define LORA_DIO0 5
 | |
| #define LORA_RESET 24
 | |
| #define LORA_DIO1 4
 | |
| #define LORA_DIO2 23
 | |
| #define LORA_DIO3 25
 | |
| #define SX126X_RXEN 21
 | |
| #define SX126X_TXEN 20
 | |
| 
 | |
| #ifdef USE_SX1262
 | |
| #define SX126X_CS LORA_CS
 | |
| #define SX126X_DIO1 LORA_DIO0
 | |
| #define SX126X_BUSY LORA_DIO1
 | |
| #define SX126X_RESET LORA_RESET
 | |
| // #define SX126X_DIO2_AS_RF_SWITCH
 | |
| #define SX126X_DIO3_TCXO_VOLTAGE 0
 | |
| #endif
 | 
