mirror of
				https://github.com/liberatedsystems/RNode_Firmware_CE.git
				synced 2024-07-02 14:34:13 +02:00 
			
		
		
		
	Work on ATmega2560 compatibility
This commit is contained in:
		
							parent
							
								
									a3548ca40e
								
							
						
					
					
						commit
						d060c1be33
					
				
							
								
								
									
										6
									
								
								Config.h
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Config.h
									
									
									
									
									
								
							@ -4,7 +4,7 @@
 | 
				
			|||||||
	#define CONFIG_H
 | 
						#define CONFIG_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	#define MAJ_VERS  0x01
 | 
						#define MAJ_VERS  0x01
 | 
				
			||||||
	#define MIN_VERS  0x17
 | 
						#define MIN_VERS  0x18
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	#define PLATFORM_AVR   0x90
 | 
						#define PLATFORM_AVR   0x90
 | 
				
			||||||
    #define PLATFORM_ESP32 0x80
 | 
					    #define PLATFORM_ESP32 0x80
 | 
				
			||||||
@ -63,8 +63,8 @@
 | 
				
			|||||||
		#define EEPROM_OFFSET EEPROM_SIZE-EEPROM_RESERVED
 | 
							#define EEPROM_OFFSET EEPROM_SIZE-EEPROM_RESERVED
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	#elif MCU_VARIANT == MCU_2560
 | 
						#elif MCU_VARIANT == MCU_2560
 | 
				
			||||||
		const int pin_cs = 10;
 | 
							const int pin_cs = 5;
 | 
				
			||||||
		const int pin_reset = 9;
 | 
							const int pin_reset = 4;
 | 
				
			||||||
		const int pin_dio = 2;
 | 
							const int pin_dio = 2;
 | 
				
			||||||
		const int pin_led_rx = 12;
 | 
							const int pin_led_rx = 12;
 | 
				
			||||||
		const int pin_led_tx = 13;
 | 
							const int pin_led_tx = 13;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user