mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
configs/xtrs/ostest converted to kconfig-frontend and Windows native
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5421 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -147,6 +147,9 @@ nuttx.lnk:
|
||||
echo "-l $(TOPDIR)/lib/$$LIB" >> nuttx.lnk ;\
|
||||
done
|
||||
@echo "-l $(SDCCLIB)" >>nuttx.lnk # Name of SDCC z80 library
|
||||
ifneq ($(CONFIG_LINKER_HOME_AREA),)
|
||||
@echo "-b _HOME=$(CONFIG_LINKER_HOME_AREA)" >>nuttx.lnk # Start of _HOME area
|
||||
endif
|
||||
ifneq ($(CONFIG_LINKER_CODE_AREA),)
|
||||
@echo "-b _CODE=$(CONFIG_LINKER_CODE_AREA)" >>nuttx.lnk # Start of _CODE area
|
||||
else
|
||||
|
||||
@@ -145,6 +145,9 @@ nuttx.lnk:
|
||||
@echo -l libboard$(LIBEXT)>>nuttx.lnk
|
||||
$(Q) for %%G in ($(LINKLIBS)) do ( echo -l $(TOPDIR)\lib\%%G>> nuttx.lnk )
|
||||
@echo -l $(SDCCLIB)>>nuttx.lnk
|
||||
ifneq ($(CONFIG_LINKER_HOME_AREA),)
|
||||
@echo -b _HOME=$(CONFIG_LINKER_HOME_AREA)>>nuttx.lnk
|
||||
endif
|
||||
ifneq ($(CONFIG_LINKER_CODE_AREA),)
|
||||
@echo -b _CODE=$(CONFIG_LINKER_CODE_AREA)>>nuttx.lnk
|
||||
else
|
||||
|
||||
@@ -31,6 +31,15 @@ config EZ80_EMAC
|
||||
|
||||
endmenu
|
||||
|
||||
# The ZiLOG ZDS-II Windows toolchain is the only toolchain available for
|
||||
# the ez80.
|
||||
#
|
||||
|
||||
config EZ80_TOOLCHAIN_ZDSII
|
||||
bool
|
||||
default y if ARCH_CHIP_EZ80
|
||||
default n if !ARCH_CHIP_EZ80
|
||||
|
||||
if EZ80_EMAC
|
||||
|
||||
config EZ80_FIAD
|
||||
|
||||
@@ -17,4 +17,13 @@ config Z8_UART1
|
||||
default y
|
||||
select ARCH_HAVE_UART1
|
||||
|
||||
# The ZiLOG ZDS-II Windows toolchain is the only toolchain available for
|
||||
# the ez80.
|
||||
#
|
||||
|
||||
config Z8_TOOLCHAIN_ZDSII
|
||||
bool
|
||||
default y if ARCH_CHIP_Z8
|
||||
default n if !ARCH_CHIP_Z8
|
||||
|
||||
endif
|
||||
|
||||
@@ -6,18 +6,50 @@
|
||||
if ARCH_CHIP_Z80
|
||||
|
||||
choice
|
||||
prompt "Toolchain Selection"
|
||||
default Z80_TOOLCHAIN_SDCCW if HOST_WINDOWS
|
||||
default Z80_TOOLCHAIN_SDCCL if !HOST_WINDOWS
|
||||
prompt "Toolchain Selection"
|
||||
default Z80_TOOLCHAIN_SDCCW if HOST_WINDOWS
|
||||
default Z80_TOOLCHAIN_SDCCL if !HOST_WINDOWS
|
||||
|
||||
config Z80_TOOLCHAIN_SDCCL
|
||||
bool "SDCC for Linux, MAC OSX, or Cygwin"
|
||||
depends on !WINDOWS_NATIVE
|
||||
|
||||
config Z80_TOOLCHAIN_SDCCW
|
||||
bool "SDCC for Windows"
|
||||
depends on HOST_WINDOWS
|
||||
bool "SDCC for Windows"
|
||||
depends on HOST_WINDOWS
|
||||
|
||||
endchoice
|
||||
|
||||
config LINKER_HOME_AREA
|
||||
hex "Start of _HOME area"
|
||||
default 0x0000
|
||||
---help---
|
||||
Start of the linker HOME area. Default: 0x0000
|
||||
|
||||
config LINKER_CODE_AREA
|
||||
hex "Start of _CODE area"
|
||||
default 0x0200
|
||||
---help---
|
||||
Start of the linker _CODE area. Default: 0x0200
|
||||
|
||||
config LINKER_DATA_AREA
|
||||
hex "Start of _DATA area"
|
||||
default 0x8000
|
||||
---help---
|
||||
Start of the linker _DATA area. Default: 0x8000
|
||||
|
||||
config LINKER_ROM_AT_0000
|
||||
bool "ROM at 0x0000"
|
||||
default n
|
||||
---help---
|
||||
Some architectures may have ROM located at address zero. In this
|
||||
case, a special version of the "head" file must be used.
|
||||
|
||||
config ARCH_HAVEHEAD
|
||||
bool "Board-specific Head File"
|
||||
default n
|
||||
---help---
|
||||
Use a board-specific version of the "head" file in the
|
||||
configs/<board-name>/src directory
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user