/* definitions generated by preprocessor, copy into defines.h */		
#ifndef	PPINC	

#include <avr/io.h>

#define	_B512	// boot size select: _Bxxx (words)

/* definitions for SPM control */		
#define	LOAD_SPM_CONTROL_REGISTER_MACRO	OUT SPMCR, R18
#define	GET_SPM_CONTROL_REGISTER_MACRO	IN R18, SPMCR
#define	REENABLE_RWW_BIT	RWWSRE
#define	PAGESIZE	SPM_PAGESIZE    /* Was fixed 128 */
#define	APP_END	0x3C00  /* Was 15360 / 0x3c00 */

/* definitions for AVRProg communication */		
#define	PARTCODE	        0x75    // For MEGA163 - 162 not supported
#define	SIGNATURE_BYTE_1	0x1E
#define	SIGNATURE_BYTE_2	0x94
#define	SIGNATURE_BYTE_3	0x04

/* indicate preprocessor result included */		
#define	PPINC	
#endif		
