www.pudn.com > FlashFS.rar > FS_FlashDev.h, change:2008-04-03,size:1612b


/***********************************************************************/ 
/*  This file is part of the ARM Toolchain package                     */ 
/*  Copyright KEIL ELEKTRONIK GmbH 2003 - 2007                         */ 
/***********************************************************************/ 
/*                                                                     */ 
/*  FlashDev.H:  Device Description for Philips LPC2xxx 128kB Flash    */ 
/*               using Flash Boot Loader with IAP                      */ 
/*                                                                     */ 
/***********************************************************************/ 
 
#define FLASH_DEVICE                                  \ 
   DFB(0x02000, 0x000000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x002000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x004000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x006000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x008000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x00A000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x00C000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x00E000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x010000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x012000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x014000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x016000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x018000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x01A000),     /* Sector Size  8kB */ \ 
   DFB(0x02000, 0x01C000),     /* Sector Size  8kB */ \ 
 
#define FL_NSECT 15