New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver).
Spell-check code/comments in the Webserver/AVRISP-MKII projects.
This commit is contained in:
		
							parent
							
								
									f4f44f9fc1
								
							
						
					
					
						commit
						15f84bb8f5
					
				
					 87 changed files with 123 additions and 103 deletions
				
			
		| 
						 | 
				
			
			@ -89,6 +89,18 @@
 | 
			
		|||
 | 
			
		||||
			/** Selects the EVK527 specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */
 | 
			
		||||
			#define BOARD_EVK527        9
 | 
			
		||||
			
 | 
			
		||||
			/** Disables board drivers when operation will not be adversely affected (e.g. LEDs) - use of board drivers
 | 
			
		||||
			 *  such as the Joystick driver, where the removal would adversely affect the code's operation is still disallowed. */
 | 
			
		||||
			#define BOARD_NONE          10
 | 
			
		||||
			
 | 
			
		||||
			#if !defined(__DOXYGEN__)
 | 
			
		||||
				#define BOARD_          BOARD_NONE
 | 
			
		||||
				
 | 
			
		||||
				#if !defined(BOARD)
 | 
			
		||||
					#define BOARD       BOARD_NONE
 | 
			
		||||
				#endif
 | 
			
		||||
			#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue