3 * Purpose: Evaluation board definitions and memory map information
\r
7 * License: All software covered by license agreement in -
\r
8 * docs/Freescale_Software_License.pdf
\r
11 #ifndef _M5225xEVB_H
\r
12 #define _M5225xEVB_H
\r
14 #define COLDFIRE_MAC_ADDRESS {0x00, 0x04, 0x9f, 0x00, 0xab, 0x2b}
\r
16 /********************************************************************/
\r
18 //#include "mcf5xxx.h"
\r
20 /********************************************************************/
\r
21 #define LED0_TOGGLE MCF_GPIO_PORTTC = (uint8)(MCF_GPIO_PORTTC ^ MCF_GPIO_PORTTC_PORTTC0)
\r
24 * Debug prints ON (#undef) or OFF (#define)
\r
29 * System Bus Clock Info
\r
33 #define SYSTEM_CLOCK 80 /* system bus frequency in MHz */
\r
34 //#define PERIOD 12.5 /* system bus period in ns */
\r
35 #define TERMINAL_BAUD 19200
\r
36 #define UART_BAUD TERMINAL_BAUD /* 19200*/
\r
38 #define TERMINAL_PORT 0
\r
39 #define REF_CLK_MHZ 48
\r
40 #define SYS_CLK_MHZ SYSTEM_CLOCK
\r
41 #define REF_CLK_KHZ (REF_CLK_MHZ * 1000)
\r
42 #define SYS_CLK_KHZ (SYS_CLK_MHZ * 1000)
\r
45 * Memory map definitions from linker command files
\r
48 extern uint8 __IPSBAR[];
\r
49 extern uint8 __SRAM[];
\r
50 extern uint8 __FLASH[];
\r
51 extern uint8 __SRAM_SIZE[];
\r
52 extern uint8 __FLASH_SIZE[];
\r
53 extern uint8 __DATA_ROM[];
\r
54 extern uint8 __DATA_RAM[];
\r
55 extern uint8 __DATA_END[];
\r
56 extern uint8 __BSS_START[];
\r
57 extern uint8 __BSS_END[];
\r
58 extern uint32 VECTOR_TABLE[];
\r
59 extern uint32 __VECTOR_RAM[];
\r
65 #define IPSBAR_ADDRESS (uint32)__IPSBAR
\r
67 #define SRAM_ADDRESS (uint32)__SRAM
\r
68 #define SRAM_SIZE (uint32)__SRAM_SIZE
\r
70 #define FLASH_ADDRESS (uint32)__FLASH
\r
71 #define FLASH_SIZE (uint32)__FLASH_SIZE
\r
74 * Interrupt Controller Definitions
\r
76 #define TIMER_NETWORK_LEVEL 3
\r
77 #define USB_NETWORK_LEVEL 1
\r
83 /* 1 sec / max timeout */
\r
84 #define TIMER_NETWORK_PERIOD 1000000000/0x10000
\r
87 * Board specific function prototypes
\r
91 void board_led_display(uint8 number);
\r
93 /********************************************************************/
\r
95 #endif /* _M5225xEVB_H */
\r