diff options
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/README.txt | 7 | ||||
-rwxr-xr-x | nuttx/configs/mcu123-lpc214x/lpc21isp.sh | 7 | ||||
-rw-r--r-- | nuttx/configs/mcu123-lpc214x/ostest/Make.defs | 2 | ||||
-rw-r--r-- | nuttx/configs/mcu123-lpc214x/ostest/defconfig | 28 |
4 files changed, 25 insertions, 19 deletions
diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt index 1b8bbad28..492f1f1c6 100644 --- a/nuttx/configs/README.txt +++ b/nuttx/configs/README.txt @@ -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 diff --git a/nuttx/configs/mcu123-lpc214x/lpc21isp.sh b/nuttx/configs/mcu123-lpc214x/lpc21isp.sh index 1355a55a5..ccb2025dd 100755 --- a/nuttx/configs/mcu123-lpc214x/lpc21isp.sh +++ b/nuttx/configs/mcu123-lpc214x/lpc21isp.sh @@ -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 diff --git a/nuttx/configs/mcu123-lpc214x/ostest/Make.defs b/nuttx/configs/mcu123-lpc214x/ostest/Make.defs index c0124cba0..f8451a321 100644 --- a/nuttx/configs/mcu123-lpc214x/ostest/Make.defs +++ b/nuttx/configs/mcu123-lpc214x/ostest/Make.defs @@ -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 diff --git a/nuttx/configs/mcu123-lpc214x/ostest/defconfig b/nuttx/configs/mcu123-lpc214x/ostest/defconfig index c1aa4e98d..9d1567d3d 100644 --- a/nuttx/configs/mcu123-lpc214x/ostest/defconfig +++ b/nuttx/configs/mcu123-lpc214x/ostest/defconfig @@ -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= |