diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-12 14:29:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-12 14:29:05 +0000 |
commit | ec0d444d57223a925df9560013593e969296fe73 (patch) | |
tree | 8e22c1c75ad80243c9b28535ebabf395167f58f4 /nuttx/configs/demo9s12ne64 | |
parent | f482801a71b3c57e0fba6443076850a0b1a90691 (diff) | |
download | px4-nuttx-ec0d444d57223a925df9560013593e969296fe73.tar.gz px4-nuttx-ec0d444d57223a925df9560013593e969296fe73.tar.bz2 px4-nuttx-ec0d444d57223a925df9560013593e969296fe73.zip |
Working on HCS12 build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2323 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/demo9s12ne64')
-rwxr-xr-x | nuttx/configs/demo9s12ne64/README.txt | 21 | ||||
-rwxr-xr-x | nuttx/configs/demo9s12ne64/ostest/defconfig | 87 |
2 files changed, 64 insertions, 44 deletions
diff --git a/nuttx/configs/demo9s12ne64/README.txt b/nuttx/configs/demo9s12ne64/README.txt index 0aceb49fc..ef063b784 100755 --- a/nuttx/configs/demo9s12ne64/README.txt +++ b/nuttx/configs/demo9s12ne64/README.txt @@ -264,24 +264,29 @@ HCS12/DEMO9S12NEC64-specific Configuration Options in this configuration: pages 3e, 3d, then 3f will appear as a contiguous address space in memory. + HCS12 Sub-system support + + CONFIG_HCS12_SCI0 + CONFIG_HCS12_SCI1 + HCS12 specific device driver settings: - CONFIG_SCIO_SERIAL_CONSOLE - selects the SCIO for the - console and ttys0 (default is the UART0). + CONFIG_SCIn_SERIAL_CONSOLE - selects SCIn for the console and ttys0 + (default is the SCI0). - CONFIG_SCIO_RXBUFSIZE - Characters are buffered as received. + CONFIG_SCIn_RXBUFSIZE - Characters are buffered as received. This specific the size of the receive buffer - CONFIG_SCIO_TXBUFSIZE - Characters are buffered before + CONFIG_SCIn_TXBUFSIZE - Characters are buffered before being sent. This specific the size of the transmit buffer - CONFIG_SCIO_BAUD - The configure BAUD of the UART. + CONFIG_SCIn_BAUD - The configure BAUD of the UART. - CONFIG_SCIO_BITS - The number of bits. Must be either 7 or 8. + CONFIG_SCIn_BITS - The number of bits. Must be either 7 or 8. - CONFIG_SCIO_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 + CONFIG_SCIn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0 - CONFIG_SCIO_2STOP - Two stop bits + CONFIG_SCIn_2STOP - Two stop bits Configurations ^^^^^^^^^^^^^^ diff --git a/nuttx/configs/demo9s12ne64/ostest/defconfig b/nuttx/configs/demo9s12ne64/ostest/defconfig index 82fa012a3..9366f5321 100755 --- a/nuttx/configs/demo9s12ne64/ostest/defconfig +++ b/nuttx/configs/demo9s12ne64/ostest/defconfig @@ -33,7 +33,7 @@ # ############################################################################ # -# architecture selection +# Architecture selection # # CONFIG_ARCH - identifies the arch subdirectory and, hence, the # processor architecture. @@ -80,10 +80,10 @@ CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_DRAM_SIZE=0x00010000 CONFIG_DRAM_START=0x20000000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) -CONFIG_ARCH_IRQPRIO=y +CONFIG_ARCH_IRQPRIO=n CONFIG_ARCH_INTERRUPTSTACK=n CONFIG_ARCH_STACKDUMP=y -CONFIG_ARCH_BOOTLOADER=n +CONFIG_ARCH_BOOTLOADER=y CONFIG_ARCH_LEDS=y CONFIG_ARCH_BUTTONS=n CONFIG_ARCH_CALIBRATION=n @@ -105,26 +105,40 @@ CONFIG_HCS12_SERIALMON=y CONFIG_HCS12_NONBANKED=y # +# CS12 Sub-system support +# +CONFIG_HCS12_SCI0=n +CONFIG_HCS12_SCI1=n + +# # MC9S12NEC64 specific serial device driver settings # -# CONFIG_SCIO_SERIAL_CONSOLE - selects the SCIO for the -# console and ttys0 (default is the SCIO). -# CONFIG_SCIO_RXBUFSIZE - Characters are buffered as received. +# CONFIG_SCIn_SERIAL_CONSOLE - selects SCIn for the +# console and ttys0 (default is the SCIn). +# CONFIG_SCIn_RXBUFSIZE - Characters are buffered as received. # This specific the size of the receive buffer -# CONFIG_SCIO_TXBUFSIZE - Characters are buffered before +# CONFIG_SCIn_TXBUFSIZE - Characters are buffered before # being sent. This specific the size of the transmit buffer -# CONFIG_SCIO_BAUD - The configure BAUD of the UART. Must be -# CONFIG_SCIO_BITS - The number of bits. Must be either 7 or 8. -# CONFIG_SCIO_PARTIY - 0=no parity, 1=odd parity, 2=even parity -# CONFIG_SCIO_2STOP - Two stop bits -# -CONFIG_SCIO_SERIAL_CONSOLE=y -CONFIG_SCIO_TXBUFSIZE=32 -CONFIG_SCIO_RXBUFSIZE=32 -CONFIG_SCIO_BAUD=115200 -CONFIG_SCIO_BITS=8 -CONFIG_SCIO_PARITY=0 -CONFIG_SCIO_2STOP=0 +# CONFIG_SCIn_BAUD - The configure BAUD of the UART. Must be +# CONFIG_SCIn_BITS - The number of bits. Must be either 7 or 8. +# CONFIG_SCIn_PARTIY - 0=no parity, 1=odd parity, 2=even parity +# CONFIG_SCIn_2STOP - Two stop bits +# +CONFIG_SCI0_SERIAL_CONSOLE=n +CONFIG_SCI0_TXBUFSIZE=32 +CONFIG_SCI0_RXBUFSIZE=32 +CONFIG_SCI0_BAUD=115200 +CONFIG_SCI0_BITS=8 +CONFIG_SCI0_PARITY=0 +CONFIG_SCI0_2STOP=0 + +CONFIG_SCI1_SERIAL_CONSOLE=n +CONFIG_SCI1_TXBUFSIZE=32 +CONFIG_SCI1_RXBUFSIZE=32 +CONFIG_SCI1_BAUD=115200 +CONFIG_SCI1_BITS=8 +CONFIG_SCI1_PARITY=0 +CONFIG_SCI1_2STOP=0 # # MC9S12NEC64 specific SSI device driver settings @@ -272,8 +286,8 @@ CONFIG_START_MONTH=12 CONFIG_START_DAY=11 CONFIG_GREGORIAN_TIME=n CONFIG_JULIAN_TIME=n -CONFIG_DEV_CONSOLE=y -CONFIG_DEV_LOWCONSOLE=y +CONFIG_DEV_CONSOLE=n +CONFIG_DEV_LOWCONSOLE=n CONFIG_MUTEX_TYPES=n CONFIG_PRIORITY_INHERITANCE=n CONFIG_SEM_PREALLOCHOLDERS=0 @@ -303,11 +317,11 @@ CONFIG_SIG_SIGWORK=4 # o pthread_condtimedwait() depends on signals to wake # up waiting tasks. # -CONFIG_DISABLE_CLOCK=n -CONFIG_DISABLE_POSIX_TIMERS=n -CONFIG_DISABLE_PTHREAD=n -CONFIG_DISABLE_SIGNALS=n -CONFIG_DISABLE_MQUEUE=n +CONFIG_DISABLE_CLOCK=y +CONFIG_DISABLE_POSIX_TIMERS=y +CONFIG_DISABLE_PTHREAD=y +CONFIG_DISABLE_SIGNALS=y +CONFIG_DISABLE_MQUEUE=y CONFIG_DISABLE_MOUNTPOINT=y CONFIG_DISABLE_ENVIRON=y CONFIG_DISABLE_POLL=y @@ -318,7 +332,7 @@ CONFIG_DISABLE_POLL=y # CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a # little smaller if we do not support fieldwidthes # -CONFIG_NOPRINTF_FIELDWIDTH=n +CONFIG_NOPRINTF_FIELDWIDTH=y # # Allow for architecture optimized implementations @@ -374,19 +388,19 @@ CONFIG_ARCH_KFREE=n # timer structures to minimize dynamic allocations. Set to # zero for all dynamic allocations. # -CONFIG_MAX_TASKS=16 +CONFIG_MAX_TASKS=8 CONFIG_MAX_TASK_ARGS=4 -CONFIG_NPTHREAD_KEYS=4 -CONFIG_NFILE_DESCRIPTORS=8 -CONFIG_NFILE_STREAMS=8 +CONFIG_NPTHREAD_KEYS=0 +CONFIG_NFILE_DESCRIPTORS=0 +CONFIG_NFILE_STREAMS=0 CONFIG_NAME_MAX=32 -CONFIG_STDIO_BUFFER_SIZE=256 -CONFIG_NUNGET_CHARS=2 -CONFIG_PREALLOC_MQ_MSGS=4 -CONFIG_MQ_MAXMSGSIZE=32 +CONFIG_STDIO_BUFFER_SIZE=0 +CONFIG_NUNGET_CHARS=0 +CONFIG_PREALLOC_MQ_MSGS=0 +CONFIG_MQ_MAXMSGSIZE=0 CONFIG_MAX_WDOGPARMS=2 CONFIG_PREALLOC_WDOGS=4 -CONFIG_PREALLOC_TIMERS=4 +CONFIG_PREALLOC_TIMERS=0 # # Filesystem configuration @@ -394,6 +408,7 @@ CONFIG_PREALLOC_TIMERS=4 # CONFIG_FS_FAT - Enable FAT filesystem support # CONFIG_FAT_SECTORSIZE - Max supported sector size # CONFIG_FS_ROMFS - Enable ROMFS filesystem support +# CONFIG_FS_FAT=n CONFIG_FS_ROMFS=n |