mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
configs/xtrs/nsh and pashello now use kconfig-frontends and build Windows native
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5422 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -3768,6 +3768,9 @@
|
|||||||
* tools/link.bat, unlink.bat, and copydir.bat: Add Windows counterparts
|
* tools/link.bat, unlink.bat, and copydir.bat: Add Windows counterparts
|
||||||
to the link.sh, unlink.sh, and copydir.sh Bash scripts.
|
to the link.sh, unlink.sh, and copydir.sh Bash scripts.
|
||||||
* configs/z80sim/pashello: Now builds correctly.
|
* configs/z80sim/pashello: Now builds correctly.
|
||||||
* configs/xtrs/ostest: Converted to (1) used the kconfig-frontends
|
* configs/xtrs/ostest, nsh, and pashello: Converted to (1) used the kconfig-
|
||||||
configuration tool, and (2) to build natively under Windows.
|
frontends configuration tool, and (2) to build natively under Windows.
|
||||||
|
* drivers/serial/Kconfig and sched/Kconfig: Two names for same configuration:
|
||||||
|
CONFIG_LOWLEVEL_CONSOLE is bogus and CONFIG_DEV_LOWCONSOLE is in the wrong
|
||||||
|
Kconfig file. Moved to drivers/serial/Kconfig replacing CONFIG_LOWLEVEL_CONSOLE.
|
||||||
|
|
||||||
|
|||||||
@@ -264,7 +264,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=9
|
CONFIG_START_MONTH=9
|
||||||
CONFIG_START_DAY=8
|
CONFIG_START_DAY=8
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -356,7 +355,7 @@ CONFIG_MMCSD_SPICLOCK=12500000
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -153,7 +153,6 @@ CONFIG_START_YEAR=2009
|
|||||||
CONFIG_START_MONTH=2
|
CONFIG_START_MONTH=2
|
||||||
CONFIG_START_DAY=25
|
CONFIG_START_DAY=25
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
CONFIG_DEV_LOWCONSOLE=y
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -232,7 +231,7 @@ CONFIG_MMCSD_SDIO=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
CONFIG_LOWLEVEL_CONSOLE=y
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_UART0=y
|
CONFIG_ARCH_HAVE_UART0=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -156,7 +156,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=11
|
CONFIG_START_MONTH=11
|
||||||
CONFIG_START_DAY=26
|
CONFIG_START_DAY=26
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
CONFIG_DEV_LOWCONSOLE=y
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -235,7 +234,7 @@ CONFIG_MMCSD_SDIO=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_UART0=y
|
CONFIG_ARCH_HAVE_UART0=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -257,7 +257,6 @@ CONFIG_START_YEAR=2011
|
|||||||
CONFIG_START_MONTH=7
|
CONFIG_START_MONTH=7
|
||||||
CONFIG_START_DAY=5
|
CONFIG_START_DAY=5
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -366,7 +365,7 @@ CONFIG_ENC28J60_FREQUENCY=20000000
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART1=y
|
CONFIG_ARCH_HAVE_USART1=y
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
|
|||||||
@@ -264,7 +264,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=9
|
CONFIG_START_MONTH=9
|
||||||
CONFIG_START_DAY=8
|
CONFIG_START_DAY=8
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -356,7 +355,7 @@ CONFIG_MMCSD_SPICLOCK=12500000
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -265,7 +265,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=9
|
CONFIG_START_MONTH=9
|
||||||
CONFIG_START_DAY=26
|
CONFIG_START_DAY=26
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -370,7 +369,7 @@ CONFIG_LCD_LANDSCAPE=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -251,7 +251,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=9
|
CONFIG_START_MONTH=9
|
||||||
CONFIG_START_DAY=8
|
CONFIG_START_DAY=8
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -343,7 +342,7 @@ CONFIG_MMCSD_SPICLOCK=12500000
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -127,7 +127,6 @@ CONFIG_START_YEAR=2007
|
|||||||
CONFIG_START_MONTH=2
|
CONFIG_START_MONTH=2
|
||||||
CONFIG_START_DAY=27
|
CONFIG_START_DAY=27
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
CONFIG_MUTEX_TYPES=y
|
CONFIG_MUTEX_TYPES=y
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -198,7 +197,7 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
# CONFIG_STANDARD_SERIAL is not set
|
# CONFIG_STANDARD_SERIAL is not set
|
||||||
# CONFIG_USBDEV is not set
|
# CONFIG_USBDEV is not set
|
||||||
|
|||||||
@@ -127,7 +127,6 @@ CONFIG_START_YEAR=2007
|
|||||||
CONFIG_START_MONTH=2
|
CONFIG_START_MONTH=2
|
||||||
CONFIG_START_DAY=27
|
CONFIG_START_DAY=27
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
CONFIG_MUTEX_TYPES=y
|
CONFIG_MUTEX_TYPES=y
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -197,7 +196,7 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
# CONFIG_STANDARD_SERIAL is not set
|
# CONFIG_STANDARD_SERIAL is not set
|
||||||
# CONFIG_USBDEV is not set
|
# CONFIG_USBDEV is not set
|
||||||
|
|||||||
@@ -284,7 +284,6 @@ CONFIG_START_YEAR=2011
|
|||||||
CONFIG_START_MONTH=12
|
CONFIG_START_MONTH=12
|
||||||
CONFIG_START_DAY=6
|
CONFIG_START_DAY=6
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -363,7 +362,7 @@ CONFIG_ARCH_HAVE_I2CRESET=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART3=y
|
CONFIG_ARCH_HAVE_USART3=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -284,7 +284,6 @@ CONFIG_START_YEAR=2011
|
|||||||
CONFIG_START_MONTH=12
|
CONFIG_START_MONTH=12
|
||||||
CONFIG_START_DAY=6
|
CONFIG_START_DAY=6
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -355,7 +354,7 @@ CONFIG_ARCH_HAVE_I2CRESET=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART3=y
|
CONFIG_ARCH_HAVE_USART3=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -240,7 +240,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=11
|
CONFIG_START_MONTH=11
|
||||||
CONFIG_START_DAY=1
|
CONFIG_START_DAY=1
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -319,7 +318,7 @@ CONFIG_RTC=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -239,7 +239,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=11
|
CONFIG_START_MONTH=11
|
||||||
CONFIG_START_DAY=1
|
CONFIG_START_DAY=1
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
CONFIG_DEV_LOWCONSOLE=y
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -310,7 +309,7 @@ CONFIG_ARCH_HAVE_I2CRESET=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -244,7 +244,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=11
|
CONFIG_START_MONTH=11
|
||||||
CONFIG_START_DAY=2
|
CONFIG_START_DAY=2
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -316,7 +315,7 @@ CONFIG_ARCH_HAVE_I2CRESET=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -242,7 +242,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=10
|
CONFIG_START_MONTH=10
|
||||||
CONFIG_START_DAY=26
|
CONFIG_START_DAY=26
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
CONFIG_DEV_LOWCONSOLE=y
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -313,7 +312,7 @@ CONFIG_ARCH_HAVE_I2CRESET=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -260,7 +260,6 @@ CONFIG_START_YEAR=2011
|
|||||||
CONFIG_START_MONTH=12
|
CONFIG_START_MONTH=12
|
||||||
CONFIG_START_DAY=6
|
CONFIG_START_DAY=6
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -349,7 +348,7 @@ CONFIG_LCD_LANDSCAPE=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -259,7 +259,6 @@ CONFIG_START_YEAR=2009
|
|||||||
CONFIG_START_MONTH=9
|
CONFIG_START_MONTH=9
|
||||||
CONFIG_START_DAY=21
|
CONFIG_START_DAY=21
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
CONFIG_DEV_LOWCONSOLE=y
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -330,7 +329,7 @@ CONFIG_ARCH_HAVE_I2CRESET=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -259,7 +259,6 @@ CONFIG_START_YEAR=2009
|
|||||||
CONFIG_START_MONTH=9
|
CONFIG_START_MONTH=9
|
||||||
CONFIG_START_DAY=21
|
CONFIG_START_DAY=21
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
CONFIG_DEV_LOWCONSOLE=y
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -330,7 +329,7 @@ CONFIG_ARCH_HAVE_I2CRESET=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_USART2=y
|
CONFIG_ARCH_HAVE_USART2=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
+48
-8
@@ -54,9 +54,10 @@ Configuring NuttX
|
|||||||
|
|
||||||
1) From a POSIX window:
|
1) From a POSIX window:
|
||||||
cd tools
|
cd tools
|
||||||
./configure.sh z80sim/pashello
|
./configure.sh xtrs/ostest
|
||||||
2) From a CMD.exe window
|
2) From a CMD.exe window
|
||||||
setenv.bat
|
setenv.bat
|
||||||
|
make
|
||||||
|
|
||||||
The setenv.bat will need to be updated to include the PATH to the XTRS
|
The setenv.bat will need to be updated to include the PATH to the XTRS
|
||||||
hex2cmd program.
|
hex2cmd program.
|
||||||
@@ -72,9 +73,7 @@ Configuring NuttX
|
|||||||
which will give you the steps you would need to do to convert this
|
which will give you the steps you would need to do to convert this
|
||||||
configuration to build in other, Unix-like environments.
|
configuration to build in other, Unix-like environments.
|
||||||
|
|
||||||
3. This configuration was last verified sucessfully prior to the
|
3. The current build requires ca. 3.2.1 SDCC.
|
||||||
the configure to Kconfig/mconf tool using SDCC 2.6.0 built to run
|
|
||||||
natively under Cygwin. The current build requires ca. 3.2.1 SDCC.
|
|
||||||
|
|
||||||
nsh
|
nsh
|
||||||
|
|
||||||
@@ -84,10 +83,33 @@ Configuring NuttX
|
|||||||
|
|
||||||
This configuration can be selected by:
|
This configuration can be selected by:
|
||||||
|
|
||||||
|
1) From a POSIX window:
|
||||||
cd tools
|
cd tools
|
||||||
./configure.sh xtrs/nsh
|
./configure.sh xtrs/nsh
|
||||||
cd -
|
2) From a CMD.exe window
|
||||||
. ./setenv.sh
|
setenv.bat
|
||||||
|
make
|
||||||
|
|
||||||
|
The setenv.bat will need to be updated to include the PATH to the XTRS
|
||||||
|
hex2cmd program.
|
||||||
|
|
||||||
|
NOTES:
|
||||||
|
|
||||||
|
1. This configuration uses the mconf-based configuration tool. See the
|
||||||
|
"Reconfiguring" section below for information about changing this
|
||||||
|
configuration.
|
||||||
|
|
||||||
|
2. The default setup for this configuration uses a windows native build.
|
||||||
|
See the section entitled "Reconfiguring for Linux, OSX, or Cygwin"
|
||||||
|
which will give you the steps you would need to do to convert this
|
||||||
|
configuration to build in other, Unix-like environments.
|
||||||
|
|
||||||
|
3. The current build requires ca. 3.2.1 SDCC.
|
||||||
|
|
||||||
|
4. This configuration depends on configs/xtrs/src/xtrs_serial.c which
|
||||||
|
is incomplete. At compile time, the following symbols are undefined:
|
||||||
|
|
||||||
|
ctrl, baud, rs232_xmtisr, rs232_recvisr, ch
|
||||||
|
|
||||||
pashello
|
pashello
|
||||||
|
|
||||||
@@ -99,10 +121,28 @@ Configuring NuttX
|
|||||||
|
|
||||||
This configuration can be selected by:
|
This configuration can be selected by:
|
||||||
|
|
||||||
|
1) From a POSIX window:
|
||||||
cd tools
|
cd tools
|
||||||
./configure.sh xtrs/pashello
|
./configure.sh xtrs/pashello
|
||||||
cd -
|
2) From a CMD.exe window
|
||||||
. ./setenv.sh
|
setenv.bat
|
||||||
|
make
|
||||||
|
|
||||||
|
The setenv.bat will need to be updated to include the PATH to the XTRS
|
||||||
|
hex2cmd program.
|
||||||
|
|
||||||
|
NOTES:
|
||||||
|
|
||||||
|
1. This configuration uses the mconf-based configuration tool. See the
|
||||||
|
"Reconfiguring" section below for information about changing this
|
||||||
|
configuration.
|
||||||
|
|
||||||
|
2. The default setup for this configuration uses a windows native build.
|
||||||
|
See the section entitled "Reconfiguring for Linux, OSX, or Cygwin"
|
||||||
|
which will give you the steps you would need to do to convert this
|
||||||
|
configuration to build in other, Unix-like environments.
|
||||||
|
|
||||||
|
3. The current build requires ca. 3.2.1 SDCC.
|
||||||
|
|
||||||
Reconfiguring NuttX
|
Reconfiguring NuttX
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -1,44 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/xtrs/nsh/appconfig
|
|
||||||
#
|
|
||||||
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
|
||||||
# modification, are permitted provided that the following conditions
|
|
||||||
# are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer.
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer in
|
|
||||||
# the documentation and/or other materials provided with the
|
|
||||||
# distribution.
|
|
||||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software
|
|
||||||
# without specific prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
#
|
|
||||||
############################################################################
|
|
||||||
|
|
||||||
# Path to example in apps/examples containing the user_start entry point
|
|
||||||
|
|
||||||
CONFIGURED_APPS += examples/nsh
|
|
||||||
|
|
||||||
# The NSH Library
|
|
||||||
|
|
||||||
CONFIGURED_APPS += system/readline
|
|
||||||
CONFIGURED_APPS += nshlib
|
|
||||||
|
|
||||||
+448
-171
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,54 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
rem configs/xtrs/nsh/setenv.bat
|
||||||
|
rem
|
||||||
|
rem Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
||||||
|
rem Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
|
rem
|
||||||
|
rem Redistribution and use in source and binary forms, with or without
|
||||||
|
rem modification, are permitted provided that the following conditions
|
||||||
|
rem are met:
|
||||||
|
rem
|
||||||
|
rem 1. Redistributions of source code must retain the above copyright
|
||||||
|
rem notice, this list of conditions and the following disclaimer.
|
||||||
|
rem 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
rem notice, this list of conditions and the following disclaimer in
|
||||||
|
rem the documentation and/or other materials provided with the
|
||||||
|
rem distribution.
|
||||||
|
rem 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
|
rem used to endorse or promote products derived from this software
|
||||||
|
rem without specific prior written permission.
|
||||||
|
rem
|
||||||
|
rem THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
rem "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
rem LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
rem FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
rem COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
rem INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
rem BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
rem OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
rem AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
rem LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
rem ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
rem POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
rem This is the location where I installed in the MinGW compiler. With
|
||||||
|
rem this configuration, it is recommended that you do NOT install the
|
||||||
|
rem MSYS tools; they conflict with the GNUWin32 tools. See
|
||||||
|
rem http://www.mingw.org/ for further info.
|
||||||
|
|
||||||
|
set PATH=C:\MinGW\bin;%PATH%
|
||||||
|
|
||||||
|
rem This is the location where I installed the SDCC toolchain for windows.
|
||||||
|
|
||||||
|
set PATH=C:\Program Files (x86)\SDCC/bin;%PATH%
|
||||||
|
|
||||||
|
rem This is the location where I installed the GNUWin32 tools. See
|
||||||
|
rem http://gnuwin32.sourceforge.net/.
|
||||||
|
|
||||||
|
set PATH=C:\gnuwin32\bin;%PATH%
|
||||||
|
|
||||||
|
rem This is the location where the XTRS hex2cmd program is available
|
||||||
|
rem set PATH=????:%PATH%
|
||||||
|
|
||||||
|
echo %PATH%
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# configs/xtrs/nsh/setenv.sh
|
|
||||||
#
|
|
||||||
# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
|
||||||
# modification, are permitted provided that the following conditions
|
|
||||||
# are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer.
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer in
|
|
||||||
# the documentation and/or other materials provided with the
|
|
||||||
# distribution.
|
|
||||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software
|
|
||||||
# without specific prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
#
|
|
||||||
|
|
||||||
if [ "$(basename $0)" = "setenv.sh" ] ; then
|
|
||||||
echo "You must source this script, not run it!" 1>&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z ${PATH_ORIG} ]; then export PATH_ORIG=${PATH}; fi
|
|
||||||
|
|
||||||
export SDCC_BIN=/usr/local/bin
|
|
||||||
export PATH=${SDCC_BIN}:/sbin:/usr/sbin:${PATH_ORIG}
|
|
||||||
|
|
||||||
echo "PATH : ${PATH}"
|
|
||||||
@@ -69,7 +69,6 @@ CONFIG_ARCH_CHIP_Z80=y
|
|||||||
# CONFIG_ARCH_CHIP_EZ80F91 is not set
|
# CONFIG_ARCH_CHIP_EZ80F91 is not set
|
||||||
# CONFIG_ARCH_CHIP_EZ80F92 is not set
|
# CONFIG_ARCH_CHIP_EZ80F92 is not set
|
||||||
# CONFIG_ARCH_CHIP_EZ80F93 is not set
|
# CONFIG_ARCH_CHIP_EZ80F93 is not set
|
||||||
# CONFIG_Z80_TOOLCHAIN_SDCCL is not set
|
|
||||||
CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
||||||
CONFIG_LINKER_HOME_AREA=0x5200
|
CONFIG_LINKER_HOME_AREA=0x5200
|
||||||
CONFIG_LINKER_CODE_AREA=0x5300
|
CONFIG_LINKER_CODE_AREA=0x5300
|
||||||
@@ -89,7 +88,7 @@ CONFIG_LINKER_ROM_AT_0000=y
|
|||||||
#
|
#
|
||||||
# Board Settings
|
# Board Settings
|
||||||
#
|
#
|
||||||
CONFIG_DRAM_START=
|
CONFIG_DRAM_START=0x0000
|
||||||
CONFIG_DRAM_SIZE=65536
|
CONFIG_DRAM_SIZE=65536
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -129,7 +128,6 @@ CONFIG_START_YEAR=2008
|
|||||||
CONFIG_START_MONTH=2
|
CONFIG_START_MONTH=2
|
||||||
CONFIG_START_DAY=21
|
CONFIG_START_DAY=21
|
||||||
# CONFIG_DEV_CONSOLE is not set
|
# CONFIG_DEV_CONSOLE is not set
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -199,7 +197,7 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_UART=y
|
CONFIG_ARCH_HAVE_UART=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -1,43 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/xtrs/pashello/appconfig
|
|
||||||
#
|
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
|
||||||
# modification, are permitted provided that the following conditions
|
|
||||||
# are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer.
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer in
|
|
||||||
# the documentation and/or other materials provided with the
|
|
||||||
# distribution.
|
|
||||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software
|
|
||||||
# without specific prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
#
|
|
||||||
############################################################################
|
|
||||||
|
|
||||||
# Path to example in apps/examples containing the user_start entry point
|
|
||||||
|
|
||||||
CONFIGURED_APPS += examples/pashello
|
|
||||||
|
|
||||||
# Path to the Pascal p-code runtime interpreter module
|
|
||||||
|
|
||||||
CONFIGURED_APPS += interpreters/pcode
|
|
||||||
|
|
||||||
+394
-155
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,54 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
rem configs/xtrs/pashello/setenv.bat
|
||||||
|
rem
|
||||||
|
rem Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
||||||
|
rem Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
|
rem
|
||||||
|
rem Redistribution and use in source and binary forms, with or without
|
||||||
|
rem modification, are permitted provided that the following conditions
|
||||||
|
rem are met:
|
||||||
|
rem
|
||||||
|
rem 1. Redistributions of source code must retain the above copyright
|
||||||
|
rem notice, this list of conditions and the following disclaimer.
|
||||||
|
rem 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
rem notice, this list of conditions and the following disclaimer in
|
||||||
|
rem the documentation and/or other materials provided with the
|
||||||
|
rem distribution.
|
||||||
|
rem 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
|
rem used to endorse or promote products derived from this software
|
||||||
|
rem without specific prior written permission.
|
||||||
|
rem
|
||||||
|
rem THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
rem "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
rem LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
rem FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
rem COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
rem INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
rem BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
rem OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
rem AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
rem LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
rem ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
rem POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
rem This is the location where I installed in the MinGW compiler. With
|
||||||
|
rem this configuration, it is recommended that you do NOT install the
|
||||||
|
rem MSYS tools; they conflict with the GNUWin32 tools. See
|
||||||
|
rem http://www.mingw.org/ for further info.
|
||||||
|
|
||||||
|
set PATH=C:\MinGW\bin;%PATH%
|
||||||
|
|
||||||
|
rem This is the location where I installed the SDCC toolchain for windows.
|
||||||
|
|
||||||
|
set PATH=C:\Program Files (x86)\SDCC/bin;%PATH%
|
||||||
|
|
||||||
|
rem This is the location where I installed the GNUWin32 tools. See
|
||||||
|
rem http://gnuwin32.sourceforge.net/.
|
||||||
|
|
||||||
|
set PATH=C:\gnuwin32\bin;%PATH%
|
||||||
|
|
||||||
|
rem This is the location where the XTRS hex2cmd program is available
|
||||||
|
rem set PATH=????:%PATH%
|
||||||
|
|
||||||
|
echo %PATH%
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# configs/xtrs/pashello/setenv.sh
|
|
||||||
#
|
|
||||||
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
|
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
|
||||||
# modification, are permitted provided that the following conditions
|
|
||||||
# are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer.
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer in
|
|
||||||
# the documentation and/or other materials provided with the
|
|
||||||
# distribution.
|
|
||||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software
|
|
||||||
# without specific prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
#
|
|
||||||
|
|
||||||
if [ "$(basename $0)" = "setenv.sh" ] ; then
|
|
||||||
echo "You must source this script, not run it!" 1>&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z ${PATH_ORIG} ]; then export PATH_ORIG=${PATH}; fi
|
|
||||||
|
|
||||||
export SDCC_BIN=/usr/local/bin
|
|
||||||
export PATH=${SDCC_BIN}:/sbin:/usr/sbin:${PATH_ORIG}
|
|
||||||
|
|
||||||
echo "PATH : ${PATH}"
|
|
||||||
@@ -55,12 +55,13 @@
|
|||||||
#include <nuttx/arch.h>
|
#include <nuttx/arch.h>
|
||||||
#include <nuttx/serial/serial.h>
|
#include <nuttx/serial/serial.h>
|
||||||
#include <arch/serial.h>
|
#include <arch/serial.h>
|
||||||
|
#include <arch/z80/io.h>
|
||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "os_internal.h"
|
#include "os_internal.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
|
||||||
#ifdef USE_SERIAL_DRIVER
|
#ifdef USE_SERIALDRIVER
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Definitions
|
* Definitions
|
||||||
|
|||||||
@@ -153,7 +153,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=11
|
CONFIG_START_MONTH=11
|
||||||
CONFIG_START_DAY=29
|
CONFIG_START_DAY=29
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
CONFIG_DEV_LOWCONSOLE=y
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -223,7 +222,7 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_UART0=y
|
CONFIG_ARCH_HAVE_UART0=y
|
||||||
CONFIG_ARCH_HAVE_UART1=y
|
CONFIG_ARCH_HAVE_UART1=y
|
||||||
|
|||||||
@@ -153,7 +153,6 @@ CONFIG_START_YEAR=2008
|
|||||||
CONFIG_START_MONTH=1
|
CONFIG_START_MONTH=1
|
||||||
CONFIG_START_DAY=28
|
CONFIG_START_DAY=28
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
CONFIG_DEV_LOWCONSOLE=y
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -223,7 +222,7 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_UART0=y
|
CONFIG_ARCH_HAVE_UART0=y
|
||||||
CONFIG_ARCH_HAVE_UART1=y
|
CONFIG_ARCH_HAVE_UART1=y
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Configuring NuttX
|
|||||||
|
|
||||||
1) From a POSIX window:
|
1) From a POSIX window:
|
||||||
cd tools
|
cd tools
|
||||||
./configure.sh z80sim/pashello
|
./configure.sh z80sim/ostest
|
||||||
2) From a CMD.exe window
|
2) From a CMD.exe window
|
||||||
setenv.bat
|
setenv.bat
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ Configuring NuttX
|
|||||||
|
|
||||||
1) From a POSIX window:
|
1) From a POSIX window:
|
||||||
cd tools
|
cd tools
|
||||||
./configure.sh z80sim/pashello
|
./configure.sh z80sim/nsh
|
||||||
2) From a CMD.exe window
|
2) From a CMD.exe window
|
||||||
setenv.bat
|
setenv.bat
|
||||||
|
|
||||||
|
|||||||
@@ -69,8 +69,12 @@ CONFIG_ARCH_CHIP_Z80=y
|
|||||||
# CONFIG_ARCH_CHIP_EZ80F91 is not set
|
# CONFIG_ARCH_CHIP_EZ80F91 is not set
|
||||||
# CONFIG_ARCH_CHIP_EZ80F92 is not set
|
# CONFIG_ARCH_CHIP_EZ80F92 is not set
|
||||||
# CONFIG_ARCH_CHIP_EZ80F93 is not set
|
# CONFIG_ARCH_CHIP_EZ80F93 is not set
|
||||||
# CONFIG_Z80_TOOLCHAIN_SDCCL is not set
|
|
||||||
CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
||||||
|
CONFIG_LINKER_HOME_AREA=0x0000
|
||||||
|
CONFIG_LINKER_CODE_AREA=0x0200
|
||||||
|
CONFIG_LINKER_DATA_AREA=0x8000
|
||||||
|
# CONFIG_LINKER_ROM_AT_0000 is not set
|
||||||
|
# CONFIG_ARCH_HAVEHEAD is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Architecture Options
|
# Architecture Options
|
||||||
@@ -84,7 +88,7 @@ CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
|||||||
#
|
#
|
||||||
# Board Settings
|
# Board Settings
|
||||||
#
|
#
|
||||||
CONFIG_DRAM_START=
|
CONFIG_DRAM_START=0x0000
|
||||||
CONFIG_DRAM_SIZE=65536
|
CONFIG_DRAM_SIZE=65536
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -125,7 +129,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=12
|
CONFIG_START_MONTH=12
|
||||||
CONFIG_START_DAY=7
|
CONFIG_START_DAY=7
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -195,7 +198,7 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_UART=y
|
CONFIG_ARCH_HAVE_UART=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
|
|||||||
@@ -69,8 +69,12 @@ CONFIG_ARCH_CHIP_Z80=y
|
|||||||
# CONFIG_ARCH_CHIP_EZ80F91 is not set
|
# CONFIG_ARCH_CHIP_EZ80F91 is not set
|
||||||
# CONFIG_ARCH_CHIP_EZ80F92 is not set
|
# CONFIG_ARCH_CHIP_EZ80F92 is not set
|
||||||
# CONFIG_ARCH_CHIP_EZ80F93 is not set
|
# CONFIG_ARCH_CHIP_EZ80F93 is not set
|
||||||
# CONFIG_Z80_TOOLCHAIN_SDCCL is not set
|
|
||||||
CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
||||||
|
CONFIG_LINKER_HOME_AREA=0x0000
|
||||||
|
CONFIG_LINKER_CODE_AREA=0x0200
|
||||||
|
CONFIG_LINKER_DATA_AREA=0x8000
|
||||||
|
# CONFIG_LINKER_ROM_AT_0000 is not set
|
||||||
|
# CONFIG_ARCH_HAVEHEAD is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Architecture Options
|
# Architecture Options
|
||||||
@@ -84,7 +88,7 @@ CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
|||||||
#
|
#
|
||||||
# Board Settings
|
# Board Settings
|
||||||
#
|
#
|
||||||
CONFIG_DRAM_START=
|
CONFIG_DRAM_START=0x0000
|
||||||
CONFIG_DRAM_SIZE=65536
|
CONFIG_DRAM_SIZE=65536
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -124,7 +128,6 @@ CONFIG_START_YEAR=2007
|
|||||||
CONFIG_START_MONTH=2
|
CONFIG_START_MONTH=2
|
||||||
CONFIG_START_DAY=21
|
CONFIG_START_DAY=21
|
||||||
# CONFIG_DEV_CONSOLE is not set
|
# CONFIG_DEV_CONSOLE is not set
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -194,7 +197,7 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_UART=y
|
CONFIG_ARCH_HAVE_UART=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
@@ -289,6 +292,7 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
|
|||||||
#
|
#
|
||||||
# Basic CXX Support
|
# Basic CXX Support
|
||||||
#
|
#
|
||||||
|
# CONFIG_C99_BOOL8 is not set
|
||||||
# CONFIG_HAVE_CXX is not set
|
# CONFIG_HAVE_CXX is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -69,8 +69,12 @@ CONFIG_ARCH_CHIP_Z80=y
|
|||||||
# CONFIG_ARCH_CHIP_EZ80F91 is not set
|
# CONFIG_ARCH_CHIP_EZ80F91 is not set
|
||||||
# CONFIG_ARCH_CHIP_EZ80F92 is not set
|
# CONFIG_ARCH_CHIP_EZ80F92 is not set
|
||||||
# CONFIG_ARCH_CHIP_EZ80F93 is not set
|
# CONFIG_ARCH_CHIP_EZ80F93 is not set
|
||||||
# CONFIG_Z80_TOOLCHAIN_SDCCL is not set
|
|
||||||
CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
||||||
|
CONFIG_LINKER_HOME_AREA=0x0000
|
||||||
|
CONFIG_LINKER_CODE_AREA=0x0200
|
||||||
|
CONFIG_LINKER_DATA_AREA=0x8000
|
||||||
|
# CONFIG_LINKER_ROM_AT_0000 is not set
|
||||||
|
# CONFIG_ARCH_HAVEHEAD is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Architecture Options
|
# Architecture Options
|
||||||
@@ -84,7 +88,7 @@ CONFIG_Z80_TOOLCHAIN_SDCCW=y
|
|||||||
#
|
#
|
||||||
# Board Settings
|
# Board Settings
|
||||||
#
|
#
|
||||||
CONFIG_DRAM_START=
|
CONFIG_DRAM_START=0x0000
|
||||||
CONFIG_DRAM_SIZE=65536
|
CONFIG_DRAM_SIZE=65536
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -124,7 +128,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=12
|
CONFIG_START_MONTH=12
|
||||||
CONFIG_START_DAY=7
|
CONFIG_START_DAY=7
|
||||||
CONFIG_DEV_CONSOLE=y
|
CONFIG_DEV_CONSOLE=y
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -194,13 +197,12 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_UART=y
|
CONFIG_ARCH_HAVE_UART=y
|
||||||
CONFIG_MCU_SERIAL=y
|
CONFIG_MCU_SERIAL=y
|
||||||
CONFIG_STANDARD_SERIAL=y
|
CONFIG_UART_SERIAL_CONSOLE=y
|
||||||
# CONFIG_UART_SERIAL_CONSOLE is not set
|
# CONFIG_NO_SERIAL_CONSOLE is not set
|
||||||
CONFIG_NO_SERIAL_CONSOLE=y
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# UART Configuration
|
# UART Configuration
|
||||||
@@ -272,6 +274,7 @@ CONFIG_HEAP2_SIZE=0
|
|||||||
CONFIG_STDIO_BUFFER_SIZE=0
|
CONFIG_STDIO_BUFFER_SIZE=0
|
||||||
CONFIG_STDIO_LINEBUFFER=y
|
CONFIG_STDIO_LINEBUFFER=y
|
||||||
CONFIG_NUNGET_CHARS=0
|
CONFIG_NUNGET_CHARS=0
|
||||||
|
CONFIG_LIB_HOMEDIR="/"
|
||||||
# CONFIG_LIBM is not set
|
# CONFIG_LIBM is not set
|
||||||
CONFIG_NOPRINTF_FIELDWIDTH=y
|
CONFIG_NOPRINTF_FIELDWIDTH=y
|
||||||
# CONFIG_LIBC_FLOATINGPOINT is not set
|
# CONFIG_LIBC_FLOATINGPOINT is not set
|
||||||
|
|||||||
@@ -144,7 +144,6 @@ CONFIG_START_YEAR=2012
|
|||||||
CONFIG_START_MONTH=11
|
CONFIG_START_MONTH=11
|
||||||
CONFIG_START_DAY=28
|
CONFIG_START_DAY=28
|
||||||
# CONFIG_DEV_CONSOLE is not set
|
# CONFIG_DEV_CONSOLE is not set
|
||||||
CONFIG_DEV_LOWCONSOLE=y
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -214,7 +213,7 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
CONFIG_DEV_LOWCONSOLE=y
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_UART0=y
|
CONFIG_ARCH_HAVE_UART0=y
|
||||||
CONFIG_ARCH_HAVE_UART1=y
|
CONFIG_ARCH_HAVE_UART1=y
|
||||||
|
|||||||
@@ -144,7 +144,6 @@ CONFIG_START_YEAR=2008
|
|||||||
CONFIG_START_MONTH=2
|
CONFIG_START_MONTH=2
|
||||||
CONFIG_START_DAY=17
|
CONFIG_START_DAY=17
|
||||||
# CONFIG_DEV_CONSOLE is not set
|
# CONFIG_DEV_CONSOLE is not set
|
||||||
# CONFIG_DEV_LOWCONSOLE is not set
|
|
||||||
# CONFIG_MUTEX_TYPES is not set
|
# CONFIG_MUTEX_TYPES is not set
|
||||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||||
# CONFIG_FDCLONE_DISABLE is not set
|
# CONFIG_FDCLONE_DISABLE is not set
|
||||||
@@ -214,7 +213,7 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_SENSORS is not set
|
# CONFIG_SENSORS is not set
|
||||||
# CONFIG_SERCOMM_CONSOLE is not set
|
# CONFIG_SERCOMM_CONSOLE is not set
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
# CONFIG_LOWLEVEL_CONSOLE is not set
|
# CONFIG_DEV_LOWCONSOLE is not set
|
||||||
# CONFIG_16550_UART is not set
|
# CONFIG_16550_UART is not set
|
||||||
CONFIG_ARCH_HAVE_UART0=y
|
CONFIG_ARCH_HAVE_UART0=y
|
||||||
CONFIG_ARCH_HAVE_UART1=y
|
CONFIG_ARCH_HAVE_UART1=y
|
||||||
|
|||||||
+1
-1
@@ -215,7 +215,7 @@ static ssize_t loop_read(FAR struct inode *inode, unsigned char *buffer,
|
|||||||
size_t start_sector, unsigned int nsectors)
|
size_t start_sector, unsigned int nsectors)
|
||||||
{
|
{
|
||||||
FAR struct loop_struct_s *dev;
|
FAR struct loop_struct_s *dev;
|
||||||
size_t nbytesread;
|
ssize_t nbytesread;
|
||||||
off_t offset;
|
off_t offset;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
|||||||
@@ -3,10 +3,12 @@
|
|||||||
# see misc/tools/kconfig-language.txt.
|
# see misc/tools/kconfig-language.txt.
|
||||||
#
|
#
|
||||||
|
|
||||||
config LOWLEVEL_CONSOLE
|
config DEV_LOWCONSOLE
|
||||||
bool "Low-level console support"
|
bool "Low-level console support"
|
||||||
default n
|
default n
|
||||||
depends on ARCH_LOWPUTC
|
depends on ARCH_LOWPUTC
|
||||||
|
---help---
|
||||||
|
Use the simple, low-level, write-only serial console driver (minimal support)
|
||||||
|
|
||||||
config 16550_UART
|
config 16550_UART
|
||||||
bool "16550 UART Chip support"
|
bool "16550 UART Chip support"
|
||||||
@@ -317,7 +319,7 @@ config STANDARD_SERIAL
|
|||||||
bool "Enable standard \"upper-half\" serial driver"
|
bool "Enable standard \"upper-half\" serial driver"
|
||||||
default y if MCU_SERIAL
|
default y if MCU_SERIAL
|
||||||
default n if !MCU_SERIAL
|
default n if !MCU_SERIAL
|
||||||
depends on !LOWLEVEL_CONSOLE
|
depends on !DEV_LOWCONSOLE
|
||||||
---help---
|
---help---
|
||||||
Enable the standard, upper-half serial driver used by most MCU serial peripherals.
|
Enable the standard, upper-half serial driver used by most MCU serial peripherals.
|
||||||
|
|
||||||
|
|||||||
@@ -232,7 +232,9 @@ static int uart_putxmitchar(FAR uart_dev_t *dev, int ch)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We won't get here */
|
/* We won't get here. Some compilers may complain that this code is
|
||||||
|
* unreachable.
|
||||||
|
*/
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -127,7 +127,9 @@ FAR char *strcasestr(FAR const char *str, FAR const char *substr)
|
|||||||
candidate++;
|
candidate++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Won't get here, but some compilers might complain */
|
/* Won't get here, but some compilers might complain. Others might complain
|
||||||
|
* about this code being unreachable too.
|
||||||
|
*/
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -97,7 +97,9 @@ char *strstr(const char *str, const char *substr)
|
|||||||
candidate++;
|
candidate++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Won't get here, but some compilers might complain */
|
/* Won't get here, but some compilers might complain. Other compilers
|
||||||
|
* might complain about this code being unreachable too.
|
||||||
|
*/
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,12 +57,6 @@ config DEV_CONSOLE
|
|||||||
Set if architecture-specific logic provides /dev/console. Enables
|
Set if architecture-specific logic provides /dev/console. Enables
|
||||||
stdout, stderr, stdin.
|
stdout, stderr, stdin.
|
||||||
|
|
||||||
config DEV_LOWCONSOLE
|
|
||||||
bool "enable low-level serial console"
|
|
||||||
default n
|
|
||||||
---help---
|
|
||||||
Use the simple, low-level, write-only serial console driver (minimul support)
|
|
||||||
|
|
||||||
config MUTEX_TYPES:
|
config MUTEX_TYPES:
|
||||||
bool "Enable mutex types"
|
bool "Enable mutex types"
|
||||||
default n
|
default n
|
||||||
|
|||||||
@@ -157,8 +157,14 @@ int prctl(int option, ...)
|
|||||||
goto errout;
|
goto errout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Not reachable unless CONFIG_TASK_NAME_SIZE is > 0. NOTE: This might
|
||||||
|
* change if additional commands are supported.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if CONFIG_TASK_NAME_SIZE > 0
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
return OK;
|
return OK;
|
||||||
|
#endif
|
||||||
|
|
||||||
errout:
|
errout:
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|||||||
Reference in New Issue
Block a user