Added support for the Arduino Leonardo board. Swap Olimex 32U4 RX/TX LED masks so that it lines up with the Arduino boards.
This commit is contained in:
		
							parent
							
								
									ffbb30e0f8
								
							
						
					
					
						commit
						f0e5425208
					
				
					 8 changed files with 186 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -44,8 +44,8 @@
 | 
			
		|||
 *
 | 
			
		||||
 *  <table>
 | 
			
		||||
 *    <tr><th>Name</th><th>Color</th><th>Info</th><th>Active Level</th><th>Port Pin</th></tr>
 | 
			
		||||
 *    <tr><td>LEDS_LED1</td><td>Green</td><td>TX</td><td>High</td><td>PORTD.5</td></tr>
 | 
			
		||||
 *    <tr><td>LEDS_LED2</td><td>Yellow</td><td>RX</td><td>High</td><td>PORTB.0</td></tr>
 | 
			
		||||
 *    <tr><td>LEDS_LED1</td><td>Yellow</td><td>RX</td><td>High</td><td>PORTB.0</td></tr>
 | 
			
		||||
 *    <tr><td>LEDS_LED2</td><td>Green</td><td>TX</td><td>High</td><td>PORTD.5</td></tr>
 | 
			
		||||
 *    <tr><td>LEDS_LED3</td><td>N/A</td><td>General Indicator (Not Mounted)</td><td>High</td><td>PORTE.6</td></tr>
 | 
			
		||||
 *  </table>
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			@ -71,8 +71,8 @@
 | 
			
		|||
	/* Private Interface - For use in library only: */
 | 
			
		||||
	#if !defined(__DOXYGEN__)
 | 
			
		||||
		/* Macros: */
 | 
			
		||||
			#define LEDS_PORTB_LEDS       (LEDS_LED2)
 | 
			
		||||
			#define LEDS_PORTD_LEDS       (LEDS_LED1)
 | 
			
		||||
			#define LEDS_PORTB_LEDS       (LEDS_LED1)
 | 
			
		||||
			#define LEDS_PORTD_LEDS       (LEDS_LED2)
 | 
			
		||||
			#define LEDS_PORTE_LEDS       (LEDS_LED3)
 | 
			
		||||
	#endif
 | 
			
		||||
	
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue