From 5a297174fe1b522636bb9af0ce554445829c9eed Mon Sep 17 00:00:00 2001
From: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>
Date: Sat, 6 Nov 2010 16:11:05 +0000
Subject: [PATCH] Only 256Kb FLASH

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3080 42af7a65-404d-4744-a932-0658087f49c3
---
 configs/olimex-lpc1766stk/nsh/ld.script        | 4 ++--
 configs/olimex-lpc1766stk/ostest/ld.script     | 4 ++--
 configs/olimex-lpc1766stk/usbserial/ld.script  | 4 ++--
 configs/olimex-lpc1766stk/usbstorage/ld.script | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/configs/olimex-lpc1766stk/nsh/ld.script b/configs/olimex-lpc1766stk/nsh/ld.script
index e271f9a996..f3b023bddd 100755
--- a/configs/olimex-lpc1766stk/nsh/ld.script
+++ b/configs/olimex-lpc1766stk/nsh/ld.script
@@ -33,7 +33,7 @@
  *
  ****************************************************************************/
 
-/* The LPC1768 has 512Kb of FLASH beginning at address 0x0000:0000 and
+/* The LPC1766 has 256Kb of FLASH beginning at address 0x0000:0000 and
  * 64Kb of total SRAM: 32Kb of SRAM in the CPU block beginning at address
  * 0x10000000 and 32Kb of AHB SRAM in two banks of 16Kb beginning at addresses
  * 0x20070000 and 0x20080000.  Here we assume that .data and .bss will all fit
@@ -42,7 +42,7 @@
 
 MEMORY
 {
-    flash (rx) : ORIGIN = 0x00000000, LENGTH = 512K
+    flash (rx) : ORIGIN = 0x00000000, LENGTH = 256K
     sram (rwx) : ORIGIN = 0x10000000, LENGTH = 32K
 }
 
diff --git a/configs/olimex-lpc1766stk/ostest/ld.script b/configs/olimex-lpc1766stk/ostest/ld.script
index d4e64fa5f5..10300e9296 100755
--- a/configs/olimex-lpc1766stk/ostest/ld.script
+++ b/configs/olimex-lpc1766stk/ostest/ld.script
@@ -33,7 +33,7 @@
  *
  ****************************************************************************/
 
-/* The LPC1768 has 512Kb of FLASH beginning at address 0x0000:0000 and
+/* The LPC1766 has 256Kb of FLASH beginning at address 0x0000:0000 and
  * 64Kb of total SRAM: 32Kb of SRAM in the CPU block beginning at address
  * 0x10000000 and 32Kb of AHB SRAM in two banks of 16Kb beginning at addresses
  * 0x20070000 and 0x20080000.  Here we assume that .data and .bss will all fit
@@ -42,7 +42,7 @@
 
 MEMORY
 {
-    flash (rx) : ORIGIN = 0x00000000, LENGTH = 512K
+    flash (rx) : ORIGIN = 0x00000000, LENGTH = 256K
     sram (rwx) : ORIGIN = 0x10000000, LENGTH = 32K
 }
 
diff --git a/configs/olimex-lpc1766stk/usbserial/ld.script b/configs/olimex-lpc1766stk/usbserial/ld.script
index 181418d544..9cf8ddd70f 100755
--- a/configs/olimex-lpc1766stk/usbserial/ld.script
+++ b/configs/olimex-lpc1766stk/usbserial/ld.script
@@ -33,7 +33,7 @@
  *
  ****************************************************************************/
 
-/* The LPC1768 has 512Kb of FLASH beginning at address 0x0000:0000 and
+/* The LPC1766 has 256Kb of FLASH beginning at address 0x0000:0000 and
  * 64Kb of total SRAM: 32Kb of SRAM in the CPU block beginning at address
  * 0x10000000 and 32Kb of AHB SRAM in two banks of 16Kb beginning at addresses
  * 0x20070000 and 0x20080000.  Here we assume that .data and .bss will all fit
@@ -42,7 +42,7 @@
 
 MEMORY
 {
-    flash (rx) : ORIGIN = 0x00000000, LENGTH = 512K
+    flash (rx) : ORIGIN = 0x00000000, LENGTH = 256K
     sram (rwx) : ORIGIN = 0x10000000, LENGTH = 32K
 }
 
diff --git a/configs/olimex-lpc1766stk/usbstorage/ld.script b/configs/olimex-lpc1766stk/usbstorage/ld.script
index 25af7b76fb..3f4b72f6f6 100755
--- a/configs/olimex-lpc1766stk/usbstorage/ld.script
+++ b/configs/olimex-lpc1766stk/usbstorage/ld.script
@@ -33,7 +33,7 @@
  *
  ****************************************************************************/
 
-/* The LPC1768 has 512Kb of FLASH beginning at address 0x0000:0000 and
+/* The LPC1766 has 256Kb of FLASH beginning at address 0x0000:0000 and
  * 64Kb of total SRAM: 32Kb of SRAM in the CPU block beginning at address
  * 0x10000000 and 32Kb of AHB SRAM in two banks of 16Kb beginning at addresses
  * 0x20070000 and 0x20080000.  Here we assume that .data and .bss will all fit
@@ -42,7 +42,7 @@
 
 MEMORY
 {
-    flash (rx) : ORIGIN = 0x00000000, LENGTH = 512K
+    flash (rx) : ORIGIN = 0x00000000, LENGTH = 256K
     sram (rwx) : ORIGIN = 0x10000000, LENGTH = 32K
 }
 
-- 
GitLab