Auto-configuration updates from Richard Cochran
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5032 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
90aee8148e
commit
95ec4c3991
37
arch/Kconfig
37
arch/Kconfig
@ -19,11 +19,13 @@ config ARCH_ARM
|
||||
|
||||
config ARCH_AVR
|
||||
bool "AVR"
|
||||
select ARCH_NOINTC
|
||||
---help---
|
||||
Atmel 8-bit bit AVR and 32-bit AVR32 architectures
|
||||
|
||||
config ARCH_HC
|
||||
bool "Freescale HC"
|
||||
select ARCH_NOINTC
|
||||
---help---
|
||||
Freescale HC architectures (M9S12)
|
||||
|
||||
@ -39,7 +41,8 @@ config ARCH_RGMP
|
||||
http://rgmp.sourceforge.net/wiki/index.php/Main_Page.
|
||||
|
||||
config ARCH_SH
|
||||
bool "Rensas"
|
||||
bool "Renesas"
|
||||
select ARCH_NOINTC
|
||||
---help---
|
||||
Renesas architectures (SH and M16C).
|
||||
|
||||
@ -90,3 +93,35 @@ source arch/sim/Kconfig
|
||||
source arch/x86/Kconfig
|
||||
source arch/z16/Kconfig
|
||||
source arch/z80/Kconfig
|
||||
|
||||
comment "Architecture Options"
|
||||
|
||||
config ARCH_NOINTC
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARCH_STACKDUMP
|
||||
bool "Dump stack on assertions"
|
||||
default n
|
||||
---help---
|
||||
Enable to do stack dumps after assertions
|
||||
|
||||
comment "Board Settings"
|
||||
|
||||
config BOARD_LOOPSPERMSEC
|
||||
int "Loops per millisecond"
|
||||
help
|
||||
Must be calibrated for correct operation of delay loops.
|
||||
You simply use a stop watch to measure the 100 second delay
|
||||
then adjust CONFIG_BOARD_LOOPSPERMSEC until it is actually
|
||||
is 100 seconds.
|
||||
|
||||
config DRAM_START
|
||||
hex "DRAM start address"
|
||||
help
|
||||
The physical start address of installed RAM.
|
||||
|
||||
config DRAM_SIZE
|
||||
int "DRAM size"
|
||||
help
|
||||
The size in bytes of the installed RAM.
|
||||
|
@ -118,12 +118,6 @@ config ARCH_CHIP
|
||||
default "stm32" if ARCH_CHIP_STM32
|
||||
default "str71x" if ARCH_CHIP_STR71X
|
||||
|
||||
config ARCH_STACKDUMP
|
||||
bool "Dump stack on assertions"
|
||||
default n
|
||||
---help---
|
||||
Enable to do stack dumps after assertions
|
||||
|
||||
config ARCH_LEDS
|
||||
bool "Use board LEDs to show state"
|
||||
default y
|
||||
|
@ -4,6 +4,44 @@
|
||||
#
|
||||
|
||||
if ARCH_AVR
|
||||
|
||||
choice
|
||||
prompt "Toolchain"
|
||||
default AVR_BUILDROOT
|
||||
|
||||
config AVR_WINAVR
|
||||
bool "WinAVR"
|
||||
---help---
|
||||
For Cygwin development environment on Windows machines, you
|
||||
can use WinAVR: http://sourceforge.net/projects/winavr/files/
|
||||
|
||||
It is assumed in some places that WinAVR is installed at
|
||||
C:/WinAVR. Edit the setenv.sh file if this is not the case.
|
||||
|
||||
WARNING: There is an incompatible version of cygwin.dll in
|
||||
the WinAVR/bin directory! Make sure that the path to the
|
||||
correct cygwin.dll file precedes the path to the WinAVR
|
||||
binaries!
|
||||
|
||||
config AVR_LINUXGCC
|
||||
bool "Linux GCC"
|
||||
---help---
|
||||
For Linux, there are widely available avr-gcc packages. On
|
||||
Ubuntu, use: sudo apt-get install gcc-avr gdb-avr avr-libc
|
||||
|
||||
config AVR_BUILDROOT
|
||||
bool "Buildroot"
|
||||
---help---
|
||||
There is a DIY buildroot version for the AVR boards here:
|
||||
http://sourceforge.net/projects/nuttx/files/buildroot/. See
|
||||
the following section for details on building this toolchain.
|
||||
|
||||
It is assumed in some places that buildroot toolchain is
|
||||
available at ../misc/buildroot/build_avr. Edit the setenv.sh
|
||||
file if this is not the case.
|
||||
|
||||
endchoice
|
||||
|
||||
choice
|
||||
prompt "Atmel AVR chip selection"
|
||||
default ARCH_CHIP_AT32UC3B0256
|
||||
@ -65,7 +103,7 @@ config ARCH_AT32UC3
|
||||
bool
|
||||
default y if ARCH_CHIP_AT32UC3B0256
|
||||
|
||||
config ARCH
|
||||
config ARCH_CHIP
|
||||
string
|
||||
default "atmega" if ARCH_ATMEGA
|
||||
default "at90usb" if ARCH_AT90USB
|
||||
|
@ -128,7 +128,7 @@ void up_lowinit(void)
|
||||
|
||||
/* Set the system clock divider to 1 */
|
||||
|
||||
clock_prescale_set(clock_div_1);
|
||||
XDIV = 0;
|
||||
|
||||
/* Initialize the watchdog timer */
|
||||
|
||||
|
@ -27,12 +27,6 @@ config ARCH_CHIP
|
||||
string
|
||||
default "pic32mx" if ARCH_CHIP_PIC32MX
|
||||
|
||||
config ARCH_STACKDUMP
|
||||
bool "Dump stack on assertions"
|
||||
default n
|
||||
---help---
|
||||
Enable to do stack dumps after assertions
|
||||
|
||||
config ARCH_LEDS
|
||||
bool "Use board LEDs to show state"
|
||||
default y
|
||||
|
Loading…
Reference in New Issue
Block a user