build lpc2148 ostest config

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@928 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-09-17 23:14:42 +00:00
parent e670f8f6b7
commit ac1f49ffbe
9 changed files with 43 additions and 29 deletions

View File

@ -474,5 +474,8 @@
* Add mmap() API with restricted capability (only for XIP support)
* Extend ROMFS test at /examples/romfs to verify mmap() and XIP support.
* Add support for Intel Hex format output using objcopy
* Complete the basic port of the NXP LPC2148 on the mcu123.com board.
The basic port includes successful booting, serial console and succesfully
passing the examples/ostest.

View File

@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
<p>Last Updated: September 12, 2008</p>
<p>Last Updated: September 17, 2008</p>
</td>
</tr>
</table>
@ -609,7 +609,7 @@
</p>
<p>
<b>STATUS:</b>
Initial coding of this port code complete but has not yet been verified.
A basic port that boots and supports a serial console is in place.
</p>
</td>
</tr>
@ -1108,6 +1108,9 @@ nuttx-0.3.15 2008-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* Add mmap() API with restricted capability (only for XIP support)
* Extend ROMFS test at /examples/romfs to verify mmap() and XIP support.
* Add support for Intel Hex format output using objcopy
* Complete the basic port of the NXP LPC2148 on the mcu123.com board.
The basic port includes successful booting, serial console and succesfully
passing the examples/ostest.
pascal-0.1.3 2008-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;

View File

@ -16,7 +16,7 @@
</b></big></h1>
<p><small>by</small></p>
<p>Gregory Nutt</p>
<p><small>Last Update: September 1, 2008</small></p>
<p><small>Last Update: September 17, 2008</small></p>
</center>
<center><h1>Table of Contents</h1></center>
@ -1338,8 +1338,11 @@ The system can be re-made subsequently by just typing <code>make</code>.
using the <code>tools/mkimage.sh</code> script.</li>
<li><code>CONFIG_INTELHEX_BINARY</code>:
Make the Intel HEX binary format used with many different loaders using the GNU objcopy program
Should not be selected if you are not using the GNU toolchain.</li>
<li><code>CONFIG_HAVE_LIBM</code>:
This option hould not be selected if you are not using the GNU toolchain.</li>
<li><code>CONFIG_RAW_BINARY</code>:
mmke a raw binary format file used with many different loaders using the GNU objcopy program.
This option should not be selected if you are not using the GNU toolchain.</li>
<li><code>CONFIG_HAVE_LIBM</code>:
Toolchain supports libm.a</li>
</ul>

View File

@ -213,6 +213,9 @@ endif
ifeq ($(CONFIG_INTELHEX_BINARY),y)
@$(OBJCOPY) -O ihex $(TOPDIR)/$@ $(TOPDIR)/$@.ihx
endif
ifeq ($(CONFIG_RAW_BINARY),y)
@$(OBJCOPY) -O binary $(TOPDIR)/$@ $(TOPDIR)/$@.bin
endif
depend:
@for dir in $(MAKEDIRS) ; do \

6
TODO
View File

@ -19,7 +19,7 @@ NuttX TODO List (Last updated July 31, 2008)
(1) ARM (arch/arm/)
(1) ARM/C5471 (arch/arm/src/c5471/)
(1) ARM/DM320 (arch/arm/src/dm320/)
(2) ARM/LPC214x (arch/arm/src/lpc214x/)
(1) ARM/LPC214x (arch/arm/src/lpc214x/)
(4) pjrc-8052 / MCS51 (arch/pjrc-8051/)
(7) z80/z8 (arch/z80/)
(8) z16 (arch/z16/)
@ -349,10 +349,6 @@ o ARM/DM320 (arch/arm/src/dm320/)
o ARM/LPC214x (arch/arm/src/lpc214x/)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Description: Finish bringup
Status: Open
Priority: High
Description: Add MMC and USB support
Status: Open
Priority: Mediam

View File

@ -141,6 +141,9 @@ defconfig -- This is a configuration file similar to the Linux
CONFIG_INTELHEX_BINARY - make the Intel HEX binary format
used with many different loaders using the GNU objcopy program
Should not be selected if you are not using the GNU toolchain.
CONFIG_RAW_BINARY - make a raw binary format file used with many
different loaders using the GNU objcopy program. This option
should not be selected if you are not using the GNU toolchain.
CONFIG_HAVE_LIBM - toolchain supports libm.a
General OS setup
@ -335,8 +338,8 @@ configs/ntosd-dm320
configs/mcu123-lpc214x
This port is for the NXP LPC2148 as provided on the mcu123.com
lpc214x development board.
STATUS: This port is in progress and should be available in the
nuttx-0.2.5 release.
STATUS: A basic port that boots and supports a serial console
is in place.
configs/m68322evb
This is a work in progress for the venerable m68322evb board from

View File

@ -41,12 +41,11 @@ lpc21isp=../lpc2148/lpc21isp/lpc21isp
# lpc21ips options
#options="-debug -control -verify"
options="-control -verify"
options="-bin -control -verify"
# The path to the NuttX Intel Hex format binary
# The path to the NuttX raw binary format binary
hxfile=nuttx.ihx
hxfile=nuttx.bin
# The TTY to use for the download

View File

@ -47,7 +47,7 @@ ARCHPICFLAGS = -fpic
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
ARCHDEFINES =
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/ld.script
ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/ostest/ld.script
CROSSDEV = arm-elf-
CC = $(CROSSDEV)gcc

View File

@ -57,7 +57,7 @@ CONFIG_ARCH_CHIP=lpc214x
CONFIG_ARCH_LPC2148=y
CONFIG_ARCH_BOARD=mcu123-lpc214x
CONFIG_ARCH_BOARD_MCU123=y
CONFIG_BOARD_LOOPSPERMSEC=2778
CONFIG_BOARD_LOOPSPERMSEC=4327
CONFIG_ARCH_LEDS=y
CONFIG_DRAM_SIZE=0x00008000
CONFIG_DRAM_START=0x40000000
@ -117,10 +117,14 @@ CONFIG_UART1_2STOP=0
# CONFIG_INTELHEX_BINARY - make the Intel HEX binary format
# used with many different loaders using the GNU objcopy program
# Should not be selected if you are not using the GNU toolchain.
# CONFIG_RAW_BINARY - make a raw binary format file used with many
# different loaders using the GNU objcopy program. This option
# should not be selected if you are not using the GNU toolchain.
# CONFIG_HAVE_LIBM - toolchain supports libm.a
#
CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=y
CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=y
CONFIG_HAVE_LIBM=n
#
@ -254,19 +258,19 @@ CONFIG_ARCH_KFREE=n
# timer structures to minimize dynamic allocations. Set to
# zero for all dynamic allocations.
#
CONFIG_MAX_TASKS=64
CONFIG_MAX_TASKS=16
CONFIG_MAX_TASK_ARGS=4
CONFIG_NPTHREAD_KEYS=4
CONFIG_NFILE_DESCRIPTORS=32
CONFIG_NFILE_STREAMS=16
CONFIG_NFILE_DESCRIPTORS=8
CONFIG_NFILE_STREAMS=8
CONFIG_NAME_MAX=32
CONFIG_STDIO_BUFFER_SIZE=1024
CONFIG_STDIO_BUFFER_SIZE=512
CONFIG_NUNGET_CHARS=2
CONFIG_PREALLOC_MQ_MSGS=32
CONFIG_PREALLOC_MQ_MSGS=8
CONFIG_MQ_MAXMSGSIZE=32
CONFIG_MAX_WDOGPARMS=4
CONFIG_PREALLOC_WDOGS=32
CONFIG_PREALLOC_TIMERS=8
CONFIG_PREALLOC_WDOGS=8
CONFIG_PREALLOC_TIMERS=4
#
# TCP/IP and UDP support via uIP
@ -326,7 +330,7 @@ CONFIG_EXAMPLES_NSH_CONSOLE=y
CONFIG_EXAMPLES_NSH_TELNET=n
CONFIG_EXAMPLES_NSH_IOBUFFER_SIZE=512
CONFIG_EXAMPLES_NSH_CMD_SIZE=40
CONFIG_EXAMPLES_NSH_STACKSIZE=4096
CONFIG_EXAMPLES_NSH_STACKSIZE=1024
CONFIG_EXAMPLES_NSH_DHCPC=n
CONFIG_EXAMPLES_NSH_NOMAC=n
CONFIG_EXAMPLES_NSH_IPADDR=(10<<24|0<<16|0<<8|2)
@ -350,8 +354,8 @@ CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
CONFIG_BOOT_FROM_FLASH=y
CONFIG_CUSTOM_STACK=n
CONFIG_STACK_POINTER=
CONFIG_PROC_STACK_SIZE=4096
CONFIG_PROC_STACK_SIZE=1024
CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
CONFIG_PTHREAD_STACK_DEFAULT=1024
CONFIG_HEAP_BASE=
CONFIG_HEAP_SIZE=