AppConfigHeaders: Update several user projects to use configuration header files, rather than makefile defines.
This commit is contained in:
		
							parent
							
								
									74fb2d895e
								
							
						
					
					
						commit
						926a83bbc1
					
				
					 30 changed files with 705 additions and 118 deletions
				
			
		| 
						 | 
				
			
			@ -43,7 +43,8 @@
 | 
			
		|||
		#include <LUFA/Drivers/USB/USB.h>
 | 
			
		||||
 | 
			
		||||
		#include "../V2Protocol.h"
 | 
			
		||||
 | 
			
		||||
		#include "Config/AppConfig.h"
 | 
			
		||||
		
 | 
			
		||||
	/* Preprocessor Checks: */
 | 
			
		||||
		#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
 | 
			
		||||
			#undef ENABLE_ISP_PROTOCOL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -45,7 +45,8 @@
 | 
			
		|||
		#include <LUFA/Drivers/Peripheral/SPI.h>
 | 
			
		||||
 | 
			
		||||
		#include "../V2ProtocolParams.h"
 | 
			
		||||
 | 
			
		||||
		#include "Config/AppConfig.h"
 | 
			
		||||
		
 | 
			
		||||
	/* Preprocessor Checks: */
 | 
			
		||||
		#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
 | 
			
		||||
			#undef ENABLE_ISP_PROTOCOL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -48,7 +48,8 @@
 | 
			
		|||
		#include "V2ProtocolParams.h"
 | 
			
		||||
		#include "ISP/ISPProtocol.h"
 | 
			
		||||
		#include "XPROG/XPROGProtocol.h"
 | 
			
		||||
 | 
			
		||||
		#include "Config/AppConfig.h"
 | 
			
		||||
		
 | 
			
		||||
	/* Preprocessor Checks: */
 | 
			
		||||
		#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
 | 
			
		||||
			#undef ENABLE_ISP_PROTOCOL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,7 +49,8 @@
 | 
			
		|||
		#include "V2Protocol.h"
 | 
			
		||||
		#include "V2ProtocolConstants.h"
 | 
			
		||||
		#include "ISP/ISPTarget.h"
 | 
			
		||||
 | 
			
		||||
		#include "Config/AppConfig.h"
 | 
			
		||||
		
 | 
			
		||||
	/* Macros: */
 | 
			
		||||
		/** Parameter privilege mask to allow the host PC to read the parameter's value. */
 | 
			
		||||
		#define PARAM_PRIV_READ     (1 << 0)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -45,7 +45,8 @@
 | 
			
		|||
 | 
			
		||||
		#include "XPROGProtocol.h"
 | 
			
		||||
		#include "XPROGTarget.h"
 | 
			
		||||
 | 
			
		||||
		#include "Config/AppConfig.h"
 | 
			
		||||
		
 | 
			
		||||
	/* Preprocessor Checks: */
 | 
			
		||||
		#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
 | 
			
		||||
			#undef ENABLE_ISP_PROTOCOL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -45,7 +45,8 @@
 | 
			
		|||
 | 
			
		||||
		#include "XPROGProtocol.h"
 | 
			
		||||
		#include "XPROGTarget.h"
 | 
			
		||||
 | 
			
		||||
		#include "Config/AppConfig.h"
 | 
			
		||||
		
 | 
			
		||||
	/* Preprocessor Checks: */
 | 
			
		||||
		#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
 | 
			
		||||
			#undef ENABLE_ISP_PROTOCOL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -46,7 +46,8 @@
 | 
			
		|||
		#include "../V2Protocol.h"
 | 
			
		||||
		#include "XMEGANVM.h"
 | 
			
		||||
		#include "TINYNVM.h"
 | 
			
		||||
 | 
			
		||||
		#include "Config/AppConfig.h"
 | 
			
		||||
		
 | 
			
		||||
	/* Preprocessor Checks: */
 | 
			
		||||
		#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
 | 
			
		||||
			/* On the XPLAIN board, we only need PDI programming
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -45,7 +45,8 @@
 | 
			
		|||
 | 
			
		||||
		#include "../V2Protocol.h"
 | 
			
		||||
		#include "XPROGProtocol.h"
 | 
			
		||||
 | 
			
		||||
		#include "Config/AppConfig.h"
 | 
			
		||||
		
 | 
			
		||||
	/* Preprocessor Checks: */
 | 
			
		||||
		#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
 | 
			
		||||
			#undef ENABLE_ISP_PROTOCOL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue