From 7e0634a0728017fefe88b3386c99bb3edf7a940f Mon Sep 17 00:00:00 2001 From: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> Date: Sat, 6 Nov 2010 16:28:41 +0000 Subject: [PATCH] 1766 not 1768 git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3081 42af7a65-404d-4744-a932-0658087f49c3 --- configs/olimex-lpc1766stk/nsh/defconfig | 2 +- configs/olimex-lpc1766stk/ostest/defconfig | 2 +- configs/olimex-lpc1766stk/tools/olimex.cfg | 10 +++++----- configs/olimex-lpc1766stk/usbserial/defconfig | 2 +- configs/olimex-lpc1766stk/usbstorage/defconfig | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/configs/olimex-lpc1766stk/nsh/defconfig b/configs/olimex-lpc1766stk/nsh/defconfig index 35b7edc8f5..4a31c9d345 100755 --- a/configs/olimex-lpc1766stk/nsh/defconfig +++ b/configs/olimex-lpc1766stk/nsh/defconfig @@ -73,7 +73,7 @@ CONFIG_ARCH=arm CONFIG_ARCH_ARM=y CONFIG_ARCH_CORTEXM3=y CONFIG_ARCH_CHIP=lpc17xx -CONFIG_ARCH_CHIP_LPC1768=y +CONFIG_ARCH_CHIP_LPC1766=y CONFIG_ARCH_BOARD=olimex-lpc1766stk CONFIG_ARCH_BOARD_LPC1766STK=y CONFIG_BOARD_LOOPSPERMSEC=7982 diff --git a/configs/olimex-lpc1766stk/ostest/defconfig b/configs/olimex-lpc1766stk/ostest/defconfig index 8a6278db91..af55a69557 100755 --- a/configs/olimex-lpc1766stk/ostest/defconfig +++ b/configs/olimex-lpc1766stk/ostest/defconfig @@ -73,7 +73,7 @@ CONFIG_ARCH=arm CONFIG_ARCH_ARM=y CONFIG_ARCH_CORTEXM3=y CONFIG_ARCH_CHIP=lpc17xx -CONFIG_ARCH_CHIP_LPC1768=y +CONFIG_ARCH_CHIP_LPC1766=y CONFIG_ARCH_BOARD=olimex-lpc1766stk CONFIG_ARCH_BOARD_LPC1766STK=y CONFIG_BOARD_LOOPSPERMSEC=7982 diff --git a/configs/olimex-lpc1766stk/tools/olimex.cfg b/configs/olimex-lpc1766stk/tools/olimex.cfg index 6b98458e69..9241101e24 100755 --- a/configs/olimex-lpc1766stk/tools/olimex.cfg +++ b/configs/olimex-lpc1766stk/tools/olimex.cfg @@ -8,12 +8,12 @@ ft2232_device_desc "Olimex OpenOCD JTAG A" ft2232_layout "olimex-jtag" ft2232_vid_pid 0x15BA 0x0003 -# NXP LPC1768 Cortex-M3 with 512kB Flash and 32kB+32kB Local On-Chip SRAM, clocked with 4MHz internal RC oscillator +# NXP LPC1766 Cortex-M3 with 256kB Flash and 32kB+32kB Local On-Chip SRAM, clocked with 4MHz internal RC oscillator if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME } else { - set _CHIPNAME lpc1768 + set _CHIPNAME lpc1766 } if { [info exists ENDIAN] } { @@ -40,7 +40,7 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNAME -# LPC1768 has 32kB of SRAM on its main system bus (so-called Local On-Chip SRAM) +# LPC1766 has 32kB of SRAM on its main system bus (so-called Local On-Chip SRAM) $_TARGETNAME configure -work-area-phys 0x10000000 -work-area-size 0x8000 -work-area-backup 0 # REVISIT is there any good reason to have this reset-init event handler?? @@ -51,11 +51,11 @@ $_TARGETNAME configure -event reset-init { mwb 0xE000ED08 0x00 } -# LPC1768 has 512kB of user-available FLASH (bootloader is located in separate dedicated region). +# LPC1766 has 256kB of user-available FLASH (bootloader is located in separate dedicated region). # flash bank lpc1700 <base> <size> 0 0 <target#> <variant> <cclk> [calc_checksum] set _FLASHNAME $_CHIPNAME.flash -flash bank $_FLASHNAME lpc2000 0x0 0x80000 0 0 $_TARGETNAME lpc1700 80000 calc_checksum +flash bank $_FLASHNAME lpc2000 0x0 0x40000 0 0 $_TARGETNAME lpc1700 80000 calc_checksum # 4MHz / 6 = 666kHz, so use 500 jtag_khz 100 diff --git a/configs/olimex-lpc1766stk/usbserial/defconfig b/configs/olimex-lpc1766stk/usbserial/defconfig index 23875092d0..4dc9a44f92 100755 --- a/configs/olimex-lpc1766stk/usbserial/defconfig +++ b/configs/olimex-lpc1766stk/usbserial/defconfig @@ -73,7 +73,7 @@ CONFIG_ARCH=arm CONFIG_ARCH_ARM=y CONFIG_ARCH_CORTEXM3=y CONFIG_ARCH_CHIP=lpc17xx -CONFIG_ARCH_CHIP_LPC1768=y +CONFIG_ARCH_CHIP_LPC1766=y CONFIG_ARCH_BOARD=olimex-lpc1766stk CONFIG_ARCH_BOARD_LPC1766STK=y CONFIG_BOARD_LOOPSPERMSEC=7982 diff --git a/configs/olimex-lpc1766stk/usbstorage/defconfig b/configs/olimex-lpc1766stk/usbstorage/defconfig index 93edb0a4c5..fe8fcb7145 100755 --- a/configs/olimex-lpc1766stk/usbstorage/defconfig +++ b/configs/olimex-lpc1766stk/usbstorage/defconfig @@ -73,7 +73,7 @@ CONFIG_ARCH=arm CONFIG_ARCH_ARM=y CONFIG_ARCH_CORTEXM3=y CONFIG_ARCH_CHIP=lpc17xx -CONFIG_ARCH_CHIP_LPC1768=y +CONFIG_ARCH_CHIP_LPC1766=y CONFIG_ARCH_BOARD=olimex-lpc1766stk CONFIG_ARCH_BOARD_LPC1766STK=y CONFIG_BOARD_LOOPSPERMSEC=7982 -- GitLab