More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4623 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
28eb22080f
commit
3cd260900e
@ -77,7 +77,7 @@ endchoice
|
|||||||
|
|
||||||
config ARCH
|
config ARCH
|
||||||
string
|
string
|
||||||
default "c5471" if ARCH_CHIP_C5471
|
default "c5471" if ARCH_CHIP_C5471
|
||||||
default "calypso" if ARCH_CHIP_CALYPSO
|
default "calypso" if ARCH_CHIP_CALYPSO
|
||||||
default "dm320" if ARCH_CHIP_DM320
|
default "dm320" if ARCH_CHIP_DM320
|
||||||
default "imx" if ARCH_CHIP_IMX
|
default "imx" if ARCH_CHIP_IMX
|
||||||
|
@ -2,3 +2,80 @@
|
|||||||
# For a description of the syntax of this configuration file,
|
# For a description of the syntax of this configuration file,
|
||||||
# see misc/tools/kconfig-language.txt.
|
# see misc/tools/kconfig-language.txt.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if ARCH_AVR
|
||||||
|
choice
|
||||||
|
prompt "Atmel AVR chip selection"
|
||||||
|
default ARCH_CHIP_AT32UC3B0256
|
||||||
|
|
||||||
|
config ARCH_CHIP_ATMEGA128
|
||||||
|
bool "ATMega128"
|
||||||
|
---help---
|
||||||
|
Atmel ATMega128 8-bit AVR.
|
||||||
|
|
||||||
|
config ARCH_CHIP_AT90USB646
|
||||||
|
bool "AT90USB646"
|
||||||
|
---help---
|
||||||
|
Atmel AT90USB646 8-bit AVR.
|
||||||
|
|
||||||
|
config ARCH_CHIP_AT90USB647
|
||||||
|
bool "AT90USB647"
|
||||||
|
---help---
|
||||||
|
Atmel AT90USB647 8-bit AVR.
|
||||||
|
|
||||||
|
config ARCH_CHIP_AT90USB1286
|
||||||
|
bool "AT90USB1286"
|
||||||
|
---help---
|
||||||
|
Atmel AT90USB1286 8-bit AVR.
|
||||||
|
|
||||||
|
config ARCH_CHIP_AT90USB1287
|
||||||
|
bool "AT90USB1287"
|
||||||
|
---help---
|
||||||
|
Atmel AT90USB1287 8-bit AVR.
|
||||||
|
|
||||||
|
config ARCH_CHIP_AT32UC3B0256
|
||||||
|
bool "AT32UC3B0256"
|
||||||
|
---help---
|
||||||
|
Atmel AT32UC3B0256 32-bit AVR32.
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config ARCH_FAMILY_AVR
|
||||||
|
bool
|
||||||
|
default y if ARCH_CHIP_ATMEGA128 || ARCH_CHIP_AT90USB646 || ARCH_CHIP_AT90USB647 || ARCH_CHIP_AT90USB1286 || ARCH_CHIP_AT90USB1287
|
||||||
|
|
||||||
|
config ARCH_FAMILY_AVR32
|
||||||
|
bool
|
||||||
|
default y if ARCH_CHIP_AT32UC3B0256
|
||||||
|
|
||||||
|
config ARCH_FAMILY
|
||||||
|
string
|
||||||
|
default "avr" if ARCH_FAMILY_AVR
|
||||||
|
default "avr32" if ARCH_FAMILY_AVR32
|
||||||
|
|
||||||
|
config ARCH_ATMEGA
|
||||||
|
bool
|
||||||
|
default y if ARCH_CHIP_ATMEGA128
|
||||||
|
|
||||||
|
config ARCH_AT90USB
|
||||||
|
bool
|
||||||
|
default y if ARCH_CHIP_AT90USB646 || ARCH_CHIP_AT90USB647 || ARCH_CHIP_AT90USB1286 || ARCH_CHIP_AT90USB1287
|
||||||
|
|
||||||
|
config ARCH_AT32UC3
|
||||||
|
bool
|
||||||
|
default y if ARCH_CHIP_AT32UC3B0256
|
||||||
|
|
||||||
|
config ARCH
|
||||||
|
string
|
||||||
|
default "atmega" if ARCH_ATMEGA
|
||||||
|
default "at90usb" if ARCH_AT90USB
|
||||||
|
default "at32uc3" if ARCH_AT32UC3
|
||||||
|
|
||||||
|
source arch/avr/src/common/Kconfig
|
||||||
|
source arch/avr/src/avr/Kconfig
|
||||||
|
source arch/avr/src/at90usb/Kconfig
|
||||||
|
source arch/avr/src/atmega/Kconfig
|
||||||
|
source arch/avr/src/avr32/Kconfig
|
||||||
|
source arch/avr/src/at32uc3/Kconfig
|
||||||
|
|
||||||
|
endif
|
||||||
|
7
arch/avr/src/at32uc3/Kconfig
Normal file
7
arch/avr/src/at32uc3/Kconfig
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#
|
||||||
|
# For a description of the syntax of this configuration file,
|
||||||
|
# see misc/tools/kconfig-language.txt.
|
||||||
|
#
|
||||||
|
|
||||||
|
if ARCH_AT32UC3
|
||||||
|
endif
|
7
arch/avr/src/at90usb/Kconfig
Normal file
7
arch/avr/src/at90usb/Kconfig
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#
|
||||||
|
# For a description of the syntax of this configuration file,
|
||||||
|
# see misc/tools/kconfig-language.txt.
|
||||||
|
#
|
||||||
|
|
||||||
|
if ARCH_AT90USB
|
||||||
|
endif
|
8
arch/avr/src/atmega/Kconfig
Normal file
8
arch/avr/src/atmega/Kconfig
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#
|
||||||
|
# For a description of the syntax of this configuration file,
|
||||||
|
# see misc/tools/kconfig-language.txt.
|
||||||
|
#
|
||||||
|
|
||||||
|
if ARCH_ATMEGA
|
||||||
|
endif
|
||||||
|
|
7
arch/avr/src/avr/Kconfig
Normal file
7
arch/avr/src/avr/Kconfig
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#
|
||||||
|
# For a description of the syntax of this configuration file,
|
||||||
|
# see misc/tools/kconfig-language.txt.
|
||||||
|
#
|
||||||
|
|
||||||
|
if ARCH_FAMILY_AVR
|
||||||
|
endif
|
7
arch/avr/src/avr32/Kconfig
Normal file
7
arch/avr/src/avr32/Kconfig
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#
|
||||||
|
# For a description of the syntax of this configuration file,
|
||||||
|
# see misc/tools/kconfig-language.txt.
|
||||||
|
#
|
||||||
|
|
||||||
|
if ARCH_FAMILY_AVR32
|
||||||
|
endif
|
7
arch/avr/src/common/Kconfig
Normal file
7
arch/avr/src/common/Kconfig
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#
|
||||||
|
# For a description of the syntax of this configuration file,
|
||||||
|
# see misc/tools/kconfig-language.txt.
|
||||||
|
#
|
||||||
|
|
||||||
|
if ARCH_AVR
|
||||||
|
endif
|
@ -158,7 +158,7 @@ _g_heapbase:
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: _start
|
* Name: __start
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* After reset, program execution starts here.
|
* After reset, program execution starts here.
|
||||||
|
Loading…
Reference in New Issue
Block a user