2007-03-23 03:24:38 +01:00
|
|
|
Board-Specific Configurations
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Table of Contents
|
|
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
o Board-Specific Configurations
|
|
|
|
o Summary of Files
|
|
|
|
o Supported Architectures
|
|
|
|
o Configuring NuttX
|
|
|
|
|
|
|
|
Board-Specific Configurations
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2007-03-27 23:27:41 +02:00
|
|
|
The NuttX configuration consists of:
|
|
|
|
|
|
|
|
o Processor architecture specific files. These are the files contained
|
|
|
|
in the arch/<arch-name>/ directory.
|
|
|
|
|
|
|
|
o Chip/SoC specific files. Each processor processor architecture
|
|
|
|
is embedded in chip or System-on-a-Chip (SoC) architecture. The
|
|
|
|
full chip architecture includes the processor architecture plus
|
|
|
|
chip-specific interrupt logic, general purpose I/O (GIO) logic, and
|
|
|
|
specialized, internal peripherals (such as UARTs, USB, etc.).
|
|
|
|
|
|
|
|
These chip-specific files are contained within chip-specific
|
|
|
|
sub-directories in the arch/<arch-name>/ directory and are selected
|
|
|
|
via the CONFIG_ARCH_name selection
|
|
|
|
|
|
|
|
o Board specific files. In order to be usable, the chip must be
|
|
|
|
contained in a board environment. The board configuration defines
|
|
|
|
additional properties of the board including such things as
|
|
|
|
peripheral LEDs, external peripherals (such as network, USB, etc.).
|
|
|
|
|
|
|
|
These board-specific configuration files can be found in the
|
|
|
|
configs/<board-name>/ sub-directories and are discussed in this
|
2008-02-07 15:41:11 +01:00
|
|
|
README. Additional configuration information maybe available in
|
|
|
|
board-specific configs/<board-name>/README.txt files.
|
2007-03-27 23:27:41 +02:00
|
|
|
|
2007-03-23 03:24:38 +01:00
|
|
|
The configs/ subdirectory contains configuration data for each board. These
|
|
|
|
board-specific configurations plus the architecture-specific configurations in
|
2007-03-27 23:27:41 +02:00
|
|
|
the arch/ subdirectory completely define a customized port of NuttX.
|
2007-03-23 03:24:38 +01:00
|
|
|
|
|
|
|
Directory Structure
|
|
|
|
^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
The configs directory contains board specific configurationlogic. Each
|
|
|
|
board must provide a subdirectory <board-name> under configs/ with the
|
|
|
|
following characteristics:
|
|
|
|
|
|
|
|
|
|
|
|
<board-name>
|
2007-03-26 18:47:17 +02:00
|
|
|
|-- include/
|
2007-03-27 23:27:41 +02:00
|
|
|
| `-- (board-specific header files)
|
2007-03-27 00:14:28 +02:00
|
|
|
|-- src/
|
2007-03-27 23:27:41 +02:00
|
|
|
| |-- Makefile
|
|
|
|
| `-- (board-specific source files)
|
2008-02-07 15:41:11 +01:00
|
|
|
|-- <config1-dir>
|
|
|
|
| |-- Make.defs
|
|
|
|
| |-- defconfig
|
|
|
|
| `-- setenv.sh
|
|
|
|
|-- <config2-dir>
|
|
|
|
| |-- Make.defs
|
|
|
|
| |-- defconfig
|
|
|
|
| `-- setenv.sh
|
|
|
|
...
|
2007-03-23 03:24:38 +01:00
|
|
|
Summary of Files
|
|
|
|
^^^^^^^^^^^^^^^^
|
2007-03-26 18:47:17 +02:00
|
|
|
|
2007-03-27 00:14:28 +02:00
|
|
|
include/ -- This directory contains board specific header files. This
|
2007-03-26 18:47:17 +02:00
|
|
|
directory will be linked as include/arch/board at configuration time and
|
|
|
|
can be included via '#include <arch/board/header.h>'. These header file
|
|
|
|
can only be included by files in arch/<arch-name>include/ and
|
|
|
|
arch/<arch-name>/src
|
2007-03-27 00:14:28 +02:00
|
|
|
|
|
|
|
src/ -- This directory contains board specific drivers. This
|
|
|
|
directory will be linked as arch/<arch-name>/src/board at configuration
|
|
|
|
time and will be integrated into the build system.
|
|
|
|
|
|
|
|
src/Makefile -- This makefile will be invoked to build the board specific
|
|
|
|
drivers. It must support the following targets: libext$(LIBEXT), clean,
|
|
|
|
and distclean.
|
2007-03-23 03:24:38 +01:00
|
|
|
|
2008-02-07 15:41:11 +01:00
|
|
|
A board may have various different configurations using these common source
|
|
|
|
files. Each board configuration is described by three files: Make.defs,
|
|
|
|
defconfig, and setenv.sh. Typically, each set of configuration files is
|
|
|
|
retained in a separate configuration sub-directory (<config1-dir>,
|
|
|
|
<config2-dir>, .. in the above diagram).
|
|
|
|
|
2007-03-23 03:24:38 +01:00
|
|
|
Make.defs -- This makefile fragment provides architecture and
|
|
|
|
tool-specific build options. It will be included by all other
|
|
|
|
makefiles in the build (once it is installed). This make fragment
|
|
|
|
should define:
|
|
|
|
|
|
|
|
Tools: CC, LD, AR, NM, OBJCOPY, OBJDUMP
|
|
|
|
Tool options: CFLAGS, LDFLAGS
|
2008-01-10 14:38:13 +01:00
|
|
|
COMPILE, ASSEMBLE, ARCHIVE, CLEAN, and MKDEP macros
|
2007-03-23 03:24:38 +01:00
|
|
|
|
|
|
|
When this makefile fragment runs, it will be passed TOPDIR which
|
|
|
|
is the path to the root directory of the build. This makefile
|
|
|
|
fragment may include ${TOPDIR}/.config to perform configuration
|
|
|
|
specific settings. For example, the CFLAGS will most likely be
|
|
|
|
different if CONFIG_DEBUG=y.
|
|
|
|
|
|
|
|
defconfig -- This is a configuration file similar to the Linux
|
2008-02-07 15:41:11 +01:00
|
|
|
configuration file. In contains variable/value pairs like:
|
2007-03-23 03:24:38 +01:00
|
|
|
|
|
|
|
CONFIG_VARIABLE=value
|
|
|
|
|
|
|
|
This configuration file will be used at build time:
|
|
|
|
|
|
|
|
(1) as a makefile fragment included in other makefiles, and
|
|
|
|
(2) to generate include/nuttx/config.h which is included by
|
|
|
|
most C files in the system.
|
|
|
|
|
|
|
|
The following variables are recognized by the build (you may
|
|
|
|
also include architecture/board-specific settings).
|
|
|
|
|
|
|
|
Architecture selection:
|
|
|
|
|
2007-04-25 02:09:44 +02:00
|
|
|
CONFIG_ARCH - Identifies the arch/ subdirectory
|
|
|
|
CONFIG_ARCH_name - For use in C code
|
|
|
|
CONFIG_ARCH_CHIP - Identifies the arch/*/chip subdirectory
|
|
|
|
CONFIG_ARCH_CHIP_name - For use in C code
|
|
|
|
CONFIG_ARCH_BOARD - Identifies the configs subdirectory and
|
|
|
|
hence, the board that supports the particular chip or SoC.
|
|
|
|
CONFIG_ARCH_BOARD_name - For use in C code
|
2007-05-12 22:11:20 +02:00
|
|
|
CONFIG_ENDIAN_BIG - define if big endian (default is little
|
|
|
|
endian)
|
2007-03-23 03:24:38 +01:00
|
|
|
|
2008-02-15 23:14:00 +01:00
|
|
|
Some architectures require a description of the RAM configuration:
|
2007-04-28 22:05:36 +02:00
|
|
|
|
|
|
|
CONFIG_DRAM_SIZE - Describes the installed DRAM.
|
|
|
|
CONFIG_DRAM_START - The start address of DRAM (physical)
|
2008-02-15 23:14:00 +01:00
|
|
|
CONFIG_DRAM_VSTART - The start address of DRAM (virtual)
|
2007-04-28 22:05:36 +02:00
|
|
|
|
2008-01-06 21:46:45 +01:00
|
|
|
|
|
|
|
General build options
|
|
|
|
|
|
|
|
CONFIG_RRLOAD_BINARY - make the rrload binary format used with
|
|
|
|
BSPs from www.ridgerun.com
|
|
|
|
CONFIG_HAVE_LIBM - toolchain supports libm.a
|
|
|
|
|
2007-03-23 03:24:38 +01:00
|
|
|
General OS setup
|
|
|
|
|
|
|
|
CONFIG_EXAMPLE - identifies the subdirectory in examples
|
|
|
|
that will be used in the build
|
|
|
|
CONFIG_DEBUG - enables built-in debug options
|
|
|
|
CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
2007-11-23 23:32:52 +01:00
|
|
|
CONFIG_DEBUG_SCHED - enable OS debug output (disabled by
|
|
|
|
default)
|
|
|
|
CONFIG_DEBUG_MM - enable memory management debug output
|
2008-02-07 15:41:11 +01:00
|
|
|
(disabled by default)
|
2007-11-23 23:32:52 +01:00
|
|
|
CONFIG_DEBUG_NET - enable network debug output (disabled
|
|
|
|
by default)
|
2007-11-24 14:59:57 +01:00
|
|
|
CONFIG_DEBUG_FS - enable filesystem debug output (disabled
|
|
|
|
by default)
|
|
|
|
CONFIG_DEBUG_LIB - enable C library debug output (disabled
|
|
|
|
by default)
|
2008-02-20 13:55:07 +01:00
|
|
|
CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
|
2007-03-23 03:24:38 +01:00
|
|
|
time console output
|
|
|
|
CONFIG_MM_REGIONS - If the architecture includes multiple
|
|
|
|
regions of memory to allocate from, this specifies the
|
|
|
|
number of memory regions that the memory manager must
|
|
|
|
handle and enables the API mm_addregion(start, end);
|
2007-06-09 17:49:44 +02:00
|
|
|
CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
|
|
|
|
or TICKS_PER_MSEC=10. This setting may be defined to
|
|
|
|
inform NuttX that the processor hardware is providing
|
|
|
|
system timer interrupts at some interrupt interval other
|
|
|
|
than 10 msec.
|
2007-03-23 03:24:38 +01:00
|
|
|
CONFIG_RR_INTERVAL - The round robin timeslice will be set
|
|
|
|
this number of milliseconds; Round robin scheduling can
|
|
|
|
be disabled by setting this value to zero.
|
|
|
|
CONFIG_SCHED_INSTRUMENTATION - enables instrumentation in
|
|
|
|
scheduler to monitor system performance
|
2008-02-07 15:41:11 +01:00
|
|
|
CONFIG_TASK_NAME_SIZE - Specifies that maximum size of a
|
2007-03-23 03:24:38 +01:00
|
|
|
task name to save in the TCB. Useful if scheduler
|
|
|
|
instrumentation is selected. Set to zero to disable.
|
|
|
|
CONFIG_START_YEAR, CONFIG_START_MONTH, CONFIG_START_DAY -
|
|
|
|
Used to initialize the internal time logic.
|
|
|
|
CONFIG_JULIAN_TIME - Enables Julian time conversions
|
|
|
|
CONFIG_DEV_CONSOLE - Set if architecture-specific logic
|
|
|
|
provides /dev/console. Enables stdout, stderr, stdin.
|
|
|
|
|
|
|
|
The following can be used to disable categories of APIs supported
|
|
|
|
by the OS. If the compiler supports weak functions, then it
|
|
|
|
should not be necessary to disable functions unless you want to
|
|
|
|
restrict usage of those APIs.
|
|
|
|
|
|
|
|
There are certain dependency relationships in these features.
|
|
|
|
|
|
|
|
o mq_notify logic depends on signals to awaken tasks
|
|
|
|
waiting for queues to become full or empty.
|
|
|
|
o pthread_condtimedwait() depends on signals to wake
|
|
|
|
up waiting tasks.
|
|
|
|
|
|
|
|
CONFIG_DISABLE_CLOCK, CONFIG_DISABLE_POSIX_TIMERS, CONFIG_DISABLE_PTHREAD.
|
2007-06-30 19:05:44 +02:00
|
|
|
CONFIG_DISABLE_SIGNALS, CONFIG_DISABLE_MQUEUE, CONFIG_DISABLE_MOUNTPOUNT,
|
|
|
|
CONFIG_DISABLE_ENVIRON
|
2007-03-23 03:24:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
Misc libc settings
|
|
|
|
|
|
|
|
CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a
|
|
|
|
little smaller if we do not support fieldwidthes
|
|
|
|
|
|
|
|
Allow for architecture optimized implementations
|
|
|
|
|
|
|
|
The architecture can provide optimized versions of the
|
2008-02-07 15:41:11 +01:00
|
|
|
following to improve system performance
|
2007-03-23 03:24:38 +01:00
|
|
|
|
|
|
|
CONFIG_ARCH_MEMCPY, CONFIG_ARCH_MEMCMP, CONFIG_ARCH_MEMMOVE
|
|
|
|
CONFIG_ARCH_MEMSET, CONFIG_ARCH_STRCMP, CONFIG_ARCH_STRCPY
|
|
|
|
CONFIG_ARCH_STRNCPY, CONFIG_ARCH_STRLEN, CONFIG_ARCH_BZERO
|
|
|
|
CONFIG_ARCH_KMALLOC, CONFIG_ARCH_KZMALLOC, CONFIG_ARCH_KFREE
|
|
|
|
|
|
|
|
Sizes of configurable things (0 disables)
|
|
|
|
|
|
|
|
CONFIG_MAX_TASKS - The maximum number of simultaneously
|
|
|
|
active tasks. This value must be a power of two.
|
|
|
|
CONFIG_NPTHREAD_KEYS - The number of items of thread-
|
|
|
|
specific data that can be retained
|
|
|
|
CONFIG_NFILE_DESCRIPTORS - The maximum number of file
|
|
|
|
descriptors (one for each open)
|
|
|
|
CONFIG_NFILE_STREAMS - The maximum number of streams that
|
|
|
|
can be fopen'ed
|
|
|
|
CONFIG_NAME_MAX - The maximum size of a file name.
|
|
|
|
CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate
|
|
|
|
on fopen. (Only if CONFIG_NFILE_STREAMS > 0)
|
|
|
|
CONFIG_NUNGET_CHARS - Number of characters that can be
|
|
|
|
buffered by ungetc() (Only if CONFIG_NFILE_STREAMS > 0)
|
|
|
|
CONFIG_PREALLOC_MQ_MSGS - The number of pre-allocated message
|
|
|
|
structures. The system manages a pool of preallocated
|
|
|
|
message structures to minimize dynamic allocations
|
|
|
|
CONFIG_MQ_MAXMSGSIZE - Message structures are allocated with
|
|
|
|
a fixed payload size given by this settin (does not include
|
|
|
|
other message structure overhead.
|
|
|
|
CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog
|
|
|
|
structures. The system manages a pool of preallocated
|
|
|
|
watchdog structures to minimize dynamic allocations
|
|
|
|
|
2007-09-01 20:06:15 +02:00
|
|
|
TCP/IP and UDP support via uIP
|
|
|
|
CONFIG_NET - Enable or disable all network features
|
|
|
|
CONFIG_NET_IPv6 - Build in support for IPv6
|
2007-11-06 00:04:16 +01:00
|
|
|
CONFIG_NSOCKET_DESCRIPTORS - Maximum number of socket descriptors
|
|
|
|
per task/thread.
|
2007-09-08 21:50:59 +02:00
|
|
|
CONFIG_NET_SOCKOPTS - Enable or disable support for socket options
|
|
|
|
|
2007-11-20 00:09:39 +01:00
|
|
|
CONFIG_NET_BUFSIZE - uIP buffer size
|
2007-11-22 15:42:52 +01:00
|
|
|
CONFIG_NET_TCPURGDATA - Determines if support for TCP urgent data
|
|
|
|
notification should be compiled in. Urgent data (out-of-band data)
|
|
|
|
is a rarely used TCP feature that is very seldom would be required.
|
2007-11-22 19:36:46 +01:00
|
|
|
CONFIG_NET_TCP - TCP support on or off
|
|
|
|
CONFIG_NET_TCP_CONNS - Maximum number of TCP connections (all tasks)
|
|
|
|
CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks)
|
|
|
|
CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers
|
|
|
|
CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers
|
|
|
|
(may be zero)
|
2007-09-01 20:06:15 +02:00
|
|
|
CONFIG_NET_UDP - UDP support on or off
|
|
|
|
CONFIG_NET_UDP_CHECKSUMS - UDP checksums on or off
|
|
|
|
CONFIG_NET_UDP_CONNS - The maximum amount of concurrent UDP
|
2007-08-27 01:18:13 +02:00
|
|
|
connections
|
2007-11-22 19:36:46 +01:00
|
|
|
CONFIG_NET_ICMP - ICMP ping support on or off
|
2007-09-01 20:06:15 +02:00
|
|
|
CONFIG_NET_PINGADDRCONF - Use "ping" packet for setting IP address
|
2007-11-22 19:36:46 +01:00
|
|
|
CONFIG_NET_STATISTICS - uIP statistics on or off
|
2007-09-01 20:06:15 +02:00
|
|
|
CONFIG_NET_RECEIVE_WINDOW - The size of the advertised receiver's
|
2007-08-27 01:18:13 +02:00
|
|
|
window
|
2007-09-01 20:06:15 +02:00
|
|
|
CONFIG_NET_ARPTAB_SIZE - The size of the ARP table
|
|
|
|
CONFIG_NET_BROADCAST - Broadcast support
|
|
|
|
CONFIG_NET_LLH_LEN - The link level header length
|
|
|
|
CONFIG_NET_FWCACHE_SIZE - number of packets to remember when
|
2007-08-27 01:18:13 +02:00
|
|
|
looking for duplicates
|
|
|
|
|
|
|
|
UIP Network Utilities
|
2007-09-01 20:06:15 +02:00
|
|
|
CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP
|
|
|
|
CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries
|
2007-08-27 01:18:13 +02:00
|
|
|
|
2007-03-23 03:24:38 +01:00
|
|
|
Stack and heap information
|
|
|
|
|
|
|
|
CONFIG_BOOT_FROM_FLASH - Some configurations support XIP
|
|
|
|
operation from FLASH.
|
|
|
|
CONFIG_STACK_POINTER - The initial stack pointer
|
|
|
|
CONFIG_PROC_STACK_SIZE - The size of the initial stack
|
|
|
|
CONFIG_PTHREAD_STACK_MIN - Minimum pthread stack size
|
|
|
|
CONFIG_PTHREAD_STACK_DEFAULT - Default pthread stack size
|
|
|
|
CONFIG_HEAP_BASE - The beginning of the heap
|
|
|
|
CONFIG_HEAP_SIZE - The size of the heap
|
|
|
|
|
|
|
|
setenv.sh -- This is a script that you can include that will be installed at
|
|
|
|
the toplevel of the directory structure and can be sourced to set any
|
|
|
|
necessary environment variables.
|
|
|
|
|
|
|
|
Supported Boards
|
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
configs/sim
|
|
|
|
A user-mode port of NuttX to the x86 Linux platform is available.
|
2008-02-07 15:41:11 +01:00
|
|
|
The purpose of this port is primarily to support OS feature development.
|
2007-03-23 03:24:38 +01:00
|
|
|
This port does not support interrupts or a real timer (and hence no
|
|
|
|
round robin scheduler) Otherwise, it is complete.
|
|
|
|
|
2007-09-21 02:43:20 +02:00
|
|
|
NOTE: This target will not run on Cygwin probably for many reasons but
|
2008-02-07 15:41:11 +01:00
|
|
|
first off because it uses some of the same symbols as does cygwin.dll.
|
2007-09-21 02:43:20 +02:00
|
|
|
|
2007-03-23 03:24:38 +01:00
|
|
|
configs/c5471evm
|
|
|
|
This is a port to the Spectrum Digital C5471 evaluation board. The
|
2007-12-11 15:28:16 +01:00
|
|
|
TMS320C5471 is a dual core processor from TI with an ARM7TDMI general
|
|
|
|
purpose processor and a c54 DSP. It is also known as TMS320DA180 or just DA180.
|
2008-02-15 23:14:00 +01:00
|
|
|
NuttX runs on the ARM core and is built with a GNU arm-elf toolchain*.
|
2007-12-11 15:28:16 +01:00
|
|
|
This port is complete, verified, and included in the NuttX release.
|
2007-03-23 03:24:38 +01:00
|
|
|
|
2007-04-25 02:09:44 +02:00
|
|
|
configs/mcu123-lpc214x
|
|
|
|
This is a port to the mcu123.com lpc214x development board.
|
2008-02-15 23:14:00 +01:00
|
|
|
This OS is also built with the arm-elf toolchain*
|
2007-04-25 02:09:44 +02:00
|
|
|
|
2007-03-23 03:24:38 +01:00
|
|
|
configs/ntosd-dm320
|
|
|
|
This port uses the Neuros OSD with a GNU arm-elf toolchain*:
|
|
|
|
see http://wiki.neurostechnology.com/index.php/Developer_Welcome .
|
|
|
|
NuttX operates on the ARM9EJS of this dual core processor.
|
|
|
|
STATUS: This port is code complete, verified, and included in the
|
|
|
|
NuttX 0.2.1 release.
|
|
|
|
|
2007-04-29 23:50:53 +02:00
|
|
|
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.
|
|
|
|
|
2007-03-23 03:24:38 +01:00
|
|
|
configs/m68322evb
|
|
|
|
This is a work in progress for the venerable m68322evb board from
|
2008-02-15 23:14:00 +01:00
|
|
|
Motorola. This OS is also built with the arm-elf toolchain*.
|
2007-03-23 03:24:38 +01:00
|
|
|
|
|
|
|
configs/pjrc-8051
|
|
|
|
8051 Microcontroller. This port uses the PJRC 87C52 development system
|
|
|
|
and the SDCC toolchain. This port is not quite ready for prime time.
|
|
|
|
|
2008-02-15 23:14:00 +01:00
|
|
|
configs/xtrs
|
|
|
|
TRS80 Model 3. This port uses a vintage computer based on the Z80.
|
|
|
|
An emulator for this computer is available to run TRS80 programs on a
|
|
|
|
linux platform (http://www.tim-mann.org/xtrs.html).
|
|
|
|
|
2008-01-08 00:13:12 +01:00
|
|
|
configs/z16f2800100zcog
|
2008-02-15 23:14:00 +01:00
|
|
|
z16f Microcontroller. This port use the Zilog z16f2800100zcog
|
2008-01-08 00:13:12 +01:00
|
|
|
development kit and the Zilog ZDS-II Windows command line tools. The
|
2008-02-07 15:41:11 +01:00
|
|
|
development environment is Cygwin under WinXP.
|
2008-01-08 00:13:12 +01:00
|
|
|
|
2008-02-11 18:11:20 +01:00
|
|
|
configs/z8encore000zco
|
2008-02-15 23:14:00 +01:00
|
|
|
z8Encore! Microcontroller. This port use the Zilog z8encore000zco
|
2008-02-15 21:14:05 +01:00
|
|
|
development kit, Z8F6403 part, and the Zilog ZDS-II Windows command line
|
2008-02-11 18:11:20 +01:00
|
|
|
tools. The development environment is Cygwin under WinXP.
|
|
|
|
|
2008-02-15 23:14:00 +01:00
|
|
|
configs/z80sim
|
2007-12-31 16:45:58 +01:00
|
|
|
z80 Microcontroller. This port uses a Z80 instruction set simulator.
|
|
|
|
That simulator can be found in the NuttX CVS at
|
|
|
|
http://nuttx.cvs.sourceforge.net/nuttx/misc/sims/z80sim.
|
2008-02-15 23:14:00 +01:00
|
|
|
This port also uses the SDCC toolchain (http://sdcc.sourceforge.net/")
|
2007-12-31 16:45:58 +01:00
|
|
|
(verified with version 2.6.0).
|
|
|
|
|
2007-03-23 03:24:38 +01:00
|
|
|
Other ports for the for the TI TMS320DM270, M683222 and for MIPS are in various
|
|
|
|
states of progress
|
|
|
|
|
|
|
|
Configuring NuttX
|
|
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Configuring NuttX requires only copying
|
|
|
|
|
2008-02-07 15:41:11 +01:00
|
|
|
configs/<board-name>/<config-dir>/Make.def to ${TOPDIR}/Make.defs
|
|
|
|
configs/<board-name>/<config-dir>/setenv.sh to ${TOPDIR}/setenv.sh
|
|
|
|
configs/<board-name>/<config-dir>/defconfig to ${TOPDIR}/.config
|
2007-03-23 03:24:38 +01:00
|
|
|
|
2008-02-07 15:41:11 +01:00
|
|
|
tools/configure.sh
|
|
|
|
There is a script that automates these steps. The following steps will
|
|
|
|
accomplish the same configuration:
|
2007-03-23 03:24:38 +01:00
|
|
|
|
|
|
|
cd tools
|
2008-02-07 15:41:11 +01:00
|
|
|
./configure.sh <board-name>/<config-dir>
|