aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortcsadmin2011-02-14 14:52:47 +0000
committerNicolas Schodet2011-07-04 00:37:04 +0200
commit0c12348881748a75646c81e7a5dfc8f801019141 (patch)
treefd3be4b2f01ac79679af500f78a9c4772e26857e
parent13201b7a7b0e5a5b8119257105cc3fa683ad99f0 (diff)
Added STRIPPED check
git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc/branches/version_131@35 c9361245-7fe8-9947-84e8-057757c4e366
-rw-r--r--AT91SAM7S256/Source/d_loader.h4
1 files changed, 4 insertions, 0 deletions
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