/*********************************************************************
*
* Compiler specific
*
*********************************************************************
* FileName: $HeadURL: https://svn.auml.se/svn/HomeAutomation/branches/modules/EmbeddedSoftware/PIC/canBoot/Include/compiler.h $
* Last changed: $LastChangedDate: 2007-02-26 21:38:37 +0100 (Mon, 26 Feb 2007) $
* By: $LastChangedBy: johboh $
* Revision: $Revision: 342 $
********************************************************************/
#ifndef COMPILER_H
#define COMPILER_H
#include <p18cxxx.h>
#define CLOCK_FREQ (40000000) // Hz
#define INSTR_FREQ (CLOCK_FREQ/4)
#define CLOCK_FOSC (40) // MHz
#define LED0_TRIS (TRISCbits.TRISC1)
#define LED0_IO (PORTCbits.RC1)
#define BOOT_VERSION 0x4
#endif //compiler.h