Add 3 menu to read status of flash
[romboot.git] / main.h
blob04f993352e05ac05536a2fa7ccfb233e52e3cd6d
1 //*----------------------------------------------------------------------------
2 //* ATMEL Microcontroller Software Support - ROUSSET -
3 //*----------------------------------------------------------------------------
4 //* The software is delivered "AS IS" without warranty or condition of any
5 //* kind, either express, implied or statutory. This includes without
6 //* limitation any warranty or condition with respect to merchantability or
7 //* fitness for any particular purpose, or against the infringements of
8 //* intellectual property rights of others.
9 //*----------------------------------------------------------------------------
10 //* File Name : main.h
11 //* Object :
12 //*
13 //* 1.0 27/03/03 HIi : Creation
14 //* 1.01 03/05/04 HIi : AT9C_VERSION incremented to 1.01
15 //*----------------------------------------------------------------------------
17 #ifndef main_h
18 #define main_h
20 #include "embedded_services.h"
22 #define AT91C_MASTER_CLOCK 48000000
23 #define AT91C_BAUD_RATE 115200
25 #define AT91C_DOWNLOAD_BASE_ADDRESS 0x20000000
26 #define AT91C_DOWNLOAD_MAX_SIZE 0x00080000
28 #define AT91C_OFFSET_VECT6 0x14 //* Offset for ARM vector 6
30 #define AT91C_VERSION "VER 1.01"
31 // Global variables and functions definition
32 extern unsigned int GetTickCount(void);
33 #endif