Global BSP definitions.  
More...
#include "mcf5206/mcf5206e.h"
#include <bspopts.h>
#include <rtems.h>
#include <bsp/default-initial-extension.h>
 
Go to the source code of this file.
 | 
| 
#define  | BSP_MEM_ADDR_FLASH   (0xFFE00000) | 
|   | 
| 
#define  | BSP_MEM_SIZE_FLASH   (1*1024*1024) | 
|   | 
| 
#define  | BSP_MEM_MASK_FLASH   (MCF5206E_CSMR_MASK_1M) | 
|   | 
| 
#define  | BSP_MEM_ADDR_ESRAM   (0x30000000) | 
|   | 
| 
#define  | BSP_MEM_SIZE_ESRAM   (1*1024*1024) | 
|   | 
| 
#define  | BSP_MEM_MASK_ESRAM   (MCF5206E_CSMR_MASK_1M) | 
|   | 
| 
#define  | BSP_MEM_ADDR_GPIO   (0x40000000) | 
|   | 
| 
#define  | BSP_MEM_SIZE_GPIO   (64*1024) | 
|   | 
| 
#define  | BSP_MEM_MASK_GPIO   (MCF5206E_CSMR_MASK_64K) | 
|   | 
| 
#define  | BSP_MEM_ADDR_DRAM   (0x00000000) | 
|   | 
| 
#define  | BSP_MEM_SIZE_DRAM   (16*1024*1024) | 
|   | 
| 
#define  | BSP_MEM_MASK_DRAM   (MCF5206E_DCMR_MASK_16M) | 
|   | 
| 
#define  | BSP_MEM_ADDR_SRAM   (0x20000000) | 
|   | 
| 
#define  | BSP_MEM_SIZE_SRAM   (8*1024) | 
|   | 
| 
#define  | BSP_MEM_ADDR_IMM   (0x10000000) | 
|   | 
| 
#define  | BSP_MEM_SIZE_IMM   (1*1024) | 
|   | 
| 
#define  | MBAR   BSP_MEM_ADDR_IMM | 
|   | 
| 
#define  | BSP_INTVEC_AVEC1   (25) | 
|   | 
| 
#define  | BSP_INTLVL_AVEC1   (1) | 
|   | 
| 
#define  | BSP_INTPRIO_AVEC1   (3) | 
|   | 
| 
#define  | BSP_INTVEC_AVEC2   (26) | 
|   | 
| 
#define  | BSP_INTLVL_AVEC2   (2) | 
|   | 
| 
#define  | BSP_INTPRIO_AVEC2   (3) | 
|   | 
| 
#define  | BSP_INTVEC_AVEC3   (27) | 
|   | 
| 
#define  | BSP_INTLVL_AVEC3   (3) | 
|   | 
| 
#define  | BSP_INTPRIO_AVEC3   (3) | 
|   | 
| 
#define  | BSP_INTVEC_AVEC4   (28) | 
|   | 
| 
#define  | BSP_INTLVL_AVEC4   (4) | 
|   | 
| 
#define  | BSP_INTPRIO_AVEC4   (3) | 
|   | 
| 
#define  | BSP_INTVEC_AVEC5   (29) | 
|   | 
| 
#define  | BSP_INTLVL_AVEC5   (5) | 
|   | 
| 
#define  | BSP_INTPRIO_AVEC5   (3) | 
|   | 
| 
#define  | BSP_INTVEC_AVEC6   (30) | 
|   | 
| 
#define  | BSP_INTLVL_AVEC6   (6) | 
|   | 
| 
#define  | BSP_INTPRIO_AVEC6   (3) | 
|   | 
| 
#define  | BSP_INTVEC_AVEC7   (31) | 
|   | 
| 
#define  | BSP_INTLVL_AVEC7   (7) | 
|   | 
| 
#define  | BSP_INTPRIO_AVEC7   (3) | 
|   | 
| 
#define  | BSP_INTVEC_TIMER1   (BSP_INTVEC_AVEC5) | 
|   | 
| 
#define  | BSP_INTLVL_TIMER1   (BSP_INTLVL_AVEC5) | 
|   | 
| 
#define  | BSP_INTPRIO_TIMER1   (2) | 
|   | 
| 
#define  | BSP_INTVEC_TIMER2   (BSP_INTVEC_AVEC6) | 
|   | 
| 
#define  | BSP_INTLVL_TIMER2   (BSP_INTLVL_AVEC6) | 
|   | 
| 
#define  | BSP_INTPRIO_TIMER2   (2) | 
|   | 
| 
#define  | BSP_INTVEC_MBUS   (BSP_INTVEC_AVEC4) | 
|   | 
| 
#define  | BSP_INTLVL_MBUS   (BSP_INTLVL_AVEC4) | 
|   | 
| 
#define  | BSP_INTPRIO_MBUS   (2) | 
|   | 
| 
#define  | BSP_INTVEC_UART1   (64) | 
|   | 
| 
#define  | BSP_INTLVL_UART1   (4) | 
|   | 
| 
#define  | BSP_INTPRIO_UART1   (0) | 
|   | 
| 
#define  | BSP_INTVEC_UART2   (65) | 
|   | 
| 
#define  | BSP_INTLVL_UART2   (4) | 
|   | 
| 
#define  | BSP_INTPRIO_UART2   (1) | 
|   | 
| 
#define  | BSP_INTVEC_DMA0   (66) | 
|   | 
| 
#define  | BSP_INTLVL_DMA0   (3) | 
|   | 
| 
#define  | BSP_INTPRIO_DMA0   (1) | 
|   | 
| 
#define  | BSP_INTVEC_DMA1   (67) | 
|   | 
| 
#define  | BSP_INTLVL_DMA1   (3) | 
|   | 
| 
#define  | BSP_INTPRIO_DMA1   (2) | 
|   | 
| 
#define  | DS1307_I2C_BUS_NUMBER   (0) | 
|   | 
| 
#define  | BSP_SYSTEM_FREQUENCY   ((unsigned int)&_SYS_CLOCK_FREQUENCY) | 
|   | 
| 
#define  | BSP_MBUS_FREQUENCY   (16000) | 
|   | 
| 
#define  | I2C_NUMBER_OF_BUSES   (1) | 
|   | 
| 
#define  | I2C_SELECT_BUS(bus) | 
|   | 
| #define  | rtems_bsp_delay(microseconds) | 
|   |