From 0c12348881748a75646c81e7a5dfc8f801019141 Mon Sep 17 00:00:00 2001 From: tcsadmin Date: Mon, 14 Feb 2011 14:52:47 +0000 Subject: Added STRIPPED check git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc/branches/version_131@35 c9361245-7fe8-9947-84e8-057757c4e366 --- AT91SAM7S256/Source/d_loader.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AT91SAM7S256/Source/d_loader.h b/AT91SAM7S256/Source/d_loader.h index a86283e..e380bb5 100644 --- a/AT91SAM7S256/Source/d_loader.h +++ b/AT91SAM7S256/Source/d_loader.h @@ -18,7 +18,11 @@ #define FILETABLE_SIZE ((2 * SECTORSIZE)/4) #define STARTOFFILETABLE (0x140000L - (FILETABLE_SIZE*4)) #define FILEPTRTABLE ((const ULONG*)(0x140000L - (FILETABLE_SIZE*4))) +#ifndef STRIPPED #define STARTOFUSERFLASH (0x125800L)//(0x124600L) 1.31 == (0x122100L) +#else +#define STARTOFUSERFLASH (0x122400L)//(0x124600L) 1.31 == (0x122100L) +#endif #define SIZEOFUSERFLASH ((ULONG)STARTOFFILETABLE - STARTOFUSERFLASH) #define SIZEOFFLASH 262144L -- cgit v1.2.3