Add initial support for the Atmel SAMD20 Xplained Pro board
This commit is contained in:
parent
126fcbac7d
commit
bd15ec2565
@ -6576,3 +6576,7 @@
|
||||
* arch/arm/include/samd and src/samd: Basic framework to support Atmel
|
||||
SAMD20 Cortex-M0+ chips. Initial check-in is incomplete; this is a
|
||||
work in progress (2014-2-12).
|
||||
* configs/samd20-xplained: Framework to support the Amtel SAMD20
|
||||
Xplained Pro. Initial check is just an unverified, rough port of
|
||||
the SAM4L Xplained Pro configuration (2014-2-12).
|
||||
|
||||
|
@ -163,6 +163,8 @@
|
||||
| | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/configs/rgmp/README.txt"><b><i>README.txt</i></b></a>
|
||||
| | |- sama5d3x-ek/
|
||||
| | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/configs/sama5d3x-ek/README.txt"><b><i>README.txt</i></b></a>
|
||||
| | |- samd20-xplained/
|
||||
| | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/configs/samd20-xplained/README.txt"><b><i>README.txt</i></b></a>
|
||||
| | |- sam3u-ek/
|
||||
| | | `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/nuttx/configs/sam3u-ek/README.txt"><b><i>README.txt</i></b></a>
|
||||
| | |- sam4l-xplained/
|
||||
|
@ -1109,6 +1109,8 @@ nuttx
|
||||
| | `- README.txt
|
||||
| |- sama5d3x-ek/
|
||||
| | `- README.txt
|
||||
| |- samd20-xplained/
|
||||
| | `- README.txt
|
||||
| |- sam3u-ek/
|
||||
| | `- README.txt
|
||||
| |- sam4l-xplained/
|
||||
|
@ -18,28 +18,28 @@ config ARCH_CHIP_SAMD20E14
|
||||
Flash 16KB SRAM 2KB
|
||||
|
||||
config ARCH_CHIP_SAMD20E15
|
||||
bool "SAMD20E14"
|
||||
bool "SAMD20E15"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20E
|
||||
---help---
|
||||
Flash 32KB SRAM 4KB
|
||||
|
||||
config ARCH_CHIP_SAMD20E16
|
||||
bool "SAMD20E14"
|
||||
bool "SAMD20E16"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20E
|
||||
---help---
|
||||
Flash 64KB SRAM 8KB
|
||||
|
||||
config ARCH_CHIP_SAMD20E17
|
||||
bool "SAMD20E14"
|
||||
bool "SAMD20E17"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20E
|
||||
---help---
|
||||
Flash 128KB SRAM 16KB
|
||||
|
||||
config ARCH_CHIP_SAMD20E18
|
||||
bool "SAMD20E14"
|
||||
bool "SAMD20E18"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20E
|
||||
---help---
|
||||
@ -53,28 +53,28 @@ config ARCH_CHIP_SAMD20G14
|
||||
Flash 16KB SRAM 2KB
|
||||
|
||||
config ARCH_CHIP_SAMD20G15
|
||||
bool "SAMD20G14"
|
||||
bool "SAMD20G15"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20G
|
||||
---help---
|
||||
Flash 32KB SRAM 4KB
|
||||
|
||||
config ARCH_CHIP_SAMD20G16
|
||||
bool "SAMD20G14"
|
||||
bool "SAMD20G16"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20G
|
||||
---help---
|
||||
Flash 64KB SRAM 8KB
|
||||
|
||||
config ARCH_CHIP_SAMD20G17
|
||||
bool "SAMD20G14"
|
||||
bool "SAMD20G17"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20G
|
||||
---help---
|
||||
Flash 128KB SRAM 16KB
|
||||
|
||||
config ARCH_CHIP_SAMD20G18
|
||||
bool "SAMD20G14"
|
||||
bool "SAMD20G18"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20G
|
||||
---help---
|
||||
@ -88,28 +88,28 @@ config ARCH_CHIP_SAMD20J14
|
||||
Flash 16KB SRAM 2KB
|
||||
|
||||
config ARCH_CHIP_SAMD20J15
|
||||
bool "SAMD20J14"
|
||||
bool "SAMD20J15"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20J
|
||||
---help---
|
||||
Flash 32KB SRAM 4KB
|
||||
|
||||
config ARCH_CHIP_SAMD20J16
|
||||
bool "SAMD20J14"
|
||||
bool "SAMD20J16"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20J
|
||||
---help---
|
||||
Flash 64KB SRAM 8KB
|
||||
|
||||
config ARCH_CHIP_SAMD20J17
|
||||
bool "SAMD20J14"
|
||||
bool "SAMD20J17"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20J
|
||||
---help---
|
||||
Flash 128KB SRAM 16KB
|
||||
|
||||
config ARCH_CHIP_SAMD20J18
|
||||
bool "SAMD20J14"
|
||||
bool "SAMD20J18"
|
||||
select ARCH_FAMILY_SAMD20
|
||||
select ARCH_FAMILY_SAMD20J
|
||||
---help---
|
||||
@ -139,6 +139,22 @@ config ARCH_FAMILY_SAMD20J
|
||||
select SAMD_HAVE_TC6
|
||||
select SAMD_HAVE_TC7
|
||||
|
||||
config SAMD_HAVE_SERCOM4
|
||||
bool
|
||||
default n
|
||||
|
||||
config SAMD_HAVE_SERCOM5
|
||||
bool
|
||||
default n
|
||||
|
||||
config SAMD_HAVE_TC6
|
||||
bool
|
||||
default n
|
||||
|
||||
config SAMD_HAVE_TC7
|
||||
bool
|
||||
default n
|
||||
|
||||
menu "SAMD Peripheral Support"
|
||||
|
||||
config SAMD_WDT
|
||||
@ -237,18 +253,18 @@ endmenu
|
||||
|
||||
choice
|
||||
prompt "SERCOM0 mode"
|
||||
default SAM_SERCOM0_UART
|
||||
default SAMD_SERCOM0_ISUART
|
||||
depends on SAMD_SERCOM0
|
||||
|
||||
config SAM_SERCOM0_I2C
|
||||
config SAMD_SERCOM0_ISI2C
|
||||
bool "I2C"
|
||||
select I2C
|
||||
|
||||
config SAM_SERCOM0_SPI
|
||||
config SAMD_SERCOM0_ISSPI
|
||||
bool "SPI"
|
||||
select SPI
|
||||
|
||||
config SAM_SERCOM0_UART
|
||||
config SAMD_SERCOM0_ISUART
|
||||
bool "UART"
|
||||
select ARCH_HAVE_UART0
|
||||
|
||||
@ -256,18 +272,18 @@ endchoice
|
||||
|
||||
choice
|
||||
prompt "SERCOM1 mode"
|
||||
default SAM_SERCOM1_UART
|
||||
default SAMD_SERCOM1_ISUART
|
||||
depends on SAMD_SERCOM1
|
||||
|
||||
config SAM_SERCOM1_I2C
|
||||
config SAMD_SERCOM1_ISI2C
|
||||
bool "I2C"
|
||||
select I2C
|
||||
|
||||
config SAM_SERCOM1_SPI
|
||||
config SAMD_SERCOM1_ISSPI
|
||||
bool "SPI"
|
||||
select SPI
|
||||
|
||||
config SAM_SERCOM1_UART
|
||||
config SAMD_SERCOM1_ISUART
|
||||
bool "UART"
|
||||
select ARCH_HAVE_UART1
|
||||
|
||||
@ -275,18 +291,18 @@ endchoice
|
||||
|
||||
choice
|
||||
prompt "SERCOM2 mode"
|
||||
default SAM_SERCOM2_UART
|
||||
default SAMD_SERCOM2_ISUART
|
||||
depends on SAMD_SERCOM2
|
||||
|
||||
config SAM_SERCOM2_I2C
|
||||
config SAMD_SERCOM2_ISI2C
|
||||
bool "I2C"
|
||||
select I2C
|
||||
|
||||
config SAM_SERCOM2_SPI
|
||||
config SAMD_SERCOM2_ISSPI
|
||||
bool "SPI"
|
||||
select SPI
|
||||
|
||||
config SAM_SERCOM2_UART
|
||||
config SAMD_SERCOM2_ISUART
|
||||
bool "UART"
|
||||
select ARCH_HAVE_UART2
|
||||
|
||||
@ -294,18 +310,18 @@ endchoice
|
||||
|
||||
choice
|
||||
prompt "SERCOM3 mode"
|
||||
default SAM_SERCOM3_UART
|
||||
default SAMD_SERCOM3_ISUART
|
||||
depends on SAMD_SERCOM3
|
||||
|
||||
config SAM_SERCOM3_I2C
|
||||
config SAMD_SERCOM3_ISI2C
|
||||
bool "I2C"
|
||||
select I2C
|
||||
|
||||
config SAM_SERCOM3_SPI
|
||||
config SAMD_SERCOM3_ISSPI
|
||||
bool "SPI"
|
||||
select SPI
|
||||
|
||||
config SAM_SERCOM3_UART
|
||||
config SAMD_SERCOM3_ISUART
|
||||
bool "UART"
|
||||
select ARCH_HAVE_UART3
|
||||
|
||||
@ -313,18 +329,18 @@ endchoice
|
||||
|
||||
choice
|
||||
prompt "SERCOM4 mode"
|
||||
default SAM_SERCOM4_UART
|
||||
default SAMD_SERCOM4_ISUART
|
||||
depends on SAMD_SERCOM4
|
||||
|
||||
config SAM_SERCOM4_I2C
|
||||
config SAMD_SERCOM4_ISI2C
|
||||
bool "I2C"
|
||||
select I2C
|
||||
|
||||
config SAM_SERCOM4_SPI
|
||||
config SAMD_SERCOM4_ISSPI
|
||||
bool "SPI"
|
||||
select SPI
|
||||
|
||||
config SAM_SERCOM4_UART
|
||||
config SAMD_SERCOM4_ISUART
|
||||
bool "UART"
|
||||
select ARCH_HAVE_UART4
|
||||
|
||||
@ -332,18 +348,18 @@ endchoice
|
||||
|
||||
choice
|
||||
prompt "SERCOM5 mode"
|
||||
default SAM_SERCOM5_UART
|
||||
default SAMD_SERCOM5_ISUART
|
||||
depends on SAMD_SERCOM5
|
||||
|
||||
config SAM_SERCOM5_I2C
|
||||
config SAMD_SERCOM5_ISI2C
|
||||
bool "I2C"
|
||||
select I2C
|
||||
|
||||
config SAM_SERCOM5_SPI
|
||||
config SAMD_SERCOM5_ISSPI
|
||||
bool "SPI"
|
||||
select SPI
|
||||
|
||||
config SAM_SERCOM5_UART
|
||||
config SAMD_SERCOM5_ISUART
|
||||
bool "UART"
|
||||
select ARCH_HAVE_UART5
|
||||
|
||||
|
@ -552,6 +552,15 @@ config ARCH_BOARD_SAMA5D3X_EK
|
||||
---help---
|
||||
The port of NuttX to the Atmel SAMA5D3x-EK development board (where x=1,3,4, or 5).
|
||||
|
||||
config ARCH_BOARD_SAMD20_XPLAINED
|
||||
bool "Atmel SAMD20-Xplained Pro development board"
|
||||
depends on ARCH_CHIP_SAMD20J18
|
||||
select ARCH_HAVE_LEDS
|
||||
select ARCH_HAVE_BUTTONS
|
||||
select ARCH_HAVE_IRQBUTTONS
|
||||
---help---
|
||||
The port of NuttX to the Atmel SAMD20-Xplained Pro development board
|
||||
|
||||
config ARCH_BOARD_SAM3UEK
|
||||
bool "Atmel SAM3U-EK development board"
|
||||
depends on ARCH_CHIP_ATSAM3U4E
|
||||
@ -935,6 +944,7 @@ config ARCH_BOARD
|
||||
default "qemu-i486" if ARCH_BOARD_QEMU_I486
|
||||
default "rgmp" if ARCH_BOARD_RGMP
|
||||
default "sama5d3x-ek" if ARCH_BOARD_SAMA5D3X_EK
|
||||
default "samd20-xplained" if ARCH_BOARD_SAMD20_XPLAINED
|
||||
default "sam3u-ek" if ARCH_BOARD_SAM3UEK
|
||||
default "sam4l-xplained" if ARCH_BOARD_SAM4L_XPLAINED
|
||||
default "sam4s-xplained" if ARCH_BOARD_SAM4S_XPLAINED
|
||||
@ -1185,6 +1195,9 @@ endif
|
||||
if ARCH_BOARD_SAMA5D3X_EK
|
||||
source "configs/sama5d3x-ek/Kconfig"
|
||||
endif
|
||||
if ARCH_BOARD_SAMD20_XPLAINED
|
||||
source "configs/samd20-xplained/Kconfig"
|
||||
endif
|
||||
if ARCH_BOARD_SAM3UEK
|
||||
source "configs/sam3u-ek/Kconfig"
|
||||
endif
|
||||
|
@ -482,6 +482,9 @@ configs/sama5d3x-ek
|
||||
There is also the SAMA5D3FAE-EK bundle includes everything: The base
|
||||
board, all four CPU modules, and the LCD.
|
||||
|
||||
configs/samd20-xplained
|
||||
The port of NuttX to the Atmel SAMD20-Xplained development board.
|
||||
|
||||
configs/sam3u-ek
|
||||
The port of NuttX to the Atmel SAM3U-EK development board.
|
||||
|
||||
|
@ -527,12 +527,12 @@ SAMD20 Xplained Pro-specific Configuration Options
|
||||
Some subsystems can be configured to operate in different ways. The drivers
|
||||
need to know how to configure the subsystem.
|
||||
|
||||
CONFIG_SAM_SERCOM0_I2C, CONFIG_SAM_SERCOM0_SPI, or CONFIG_SAM_SERCOM0_UART
|
||||
CONFIG_SAM_SERCOM1_I2C, CONFIG_SAM_SERCOM1_SPI, or CONFIG_SAM_SERCOM1_UART
|
||||
CONFIG_SAM_SERCOM2_I2C, CONFIG_SAM_SERCOM2_SPI, or CONFIG_SAM_SERCOM2_UART
|
||||
CONFIG_SAM_SERCOM3_I2C, CONFIG_SAM_SERCOM3_SPI, or CONFIG_SAM_SERCOM3_UART
|
||||
CONFIG_SAM_SERCOM4_I2C, CONFIG_SAM_SERCOM4_SPI, or CONFIG_SAM_SERCOM4_UART
|
||||
CONFIG_SAM_SERCOM5_I2C, CONFIG_SAM_SERCOM5_SPI, or CONFIG_SAM_SERCOM5_UART
|
||||
CONFIG_SAMD_SERCOM0_ISI2C, CONFIG_SAMD_SERCOM0_ISSPI, or CONFIG_SAMD_SERCOM0_ISUART
|
||||
CONFIG_SAMD_SERCOM1_ISI2C, CONFIG_SAMD_SERCOM1_ISSPI, or CONFIG_SAMD_SERCOM1_ISUART
|
||||
CONFIG_SAMD_SERCOM2_ISI2C, CONFIG_SAMD_SERCOM2_ISSPI, or CONFIG_SAMD_SERCOM2_ISUART
|
||||
CONFIG_SAMD_SERCOM3_ISI2C, CONFIG_SAMD_SERCOM3_ISSPI, or CONFIG_SAMD_SERCOM3_ISUART
|
||||
CONFIG_SAMD_SERCOM4_ISI2C, CONFIG_SAMD_SERCOM4_ISSPI, or CONFIG_SAMD_SERCOM4_ISUART
|
||||
CONFIG_SAMD_SERCOM5_ISI2C, CONFIG_SAMD_SERCOM5_ISSPI, or CONFIG_SAMD_SERCOM5_ISUART
|
||||
|
||||
SAT91SAMD20 specific device driver settings
|
||||
|
||||
@ -597,11 +597,11 @@ Configurations
|
||||
SERCOM4:
|
||||
|
||||
System Type -> SAMD Peripheral Support
|
||||
CONFIG_SAM_SERCOM3=y
|
||||
CONFIG_SAM_SERCOM4=n
|
||||
CONFIG_SAMD_SERCOM3=y
|
||||
CONFIG_SAMD_SERCOM4=n
|
||||
|
||||
Device Drivers -> Serial Driver Support -> Serial Console
|
||||
CONFIG_SERCOM3_SERIAL_CONSOLE=y
|
||||
CONFIG_UART3_SERIAL_CONSOLE=y
|
||||
|
||||
Device Drivers -> Serial Driver Support -> SERCOM4 Configuration
|
||||
CONFIG_UART3_2STOP=0
|
||||
|
@ -8,10 +8,14 @@ CONFIG_NUTTX_NEWCONFIG=y
|
||||
# Build Setup
|
||||
#
|
||||
# CONFIG_EXPERIMENTAL is not set
|
||||
CONFIG_HOST_LINUX=y
|
||||
# CONFIG_HOST_LINUX is not set
|
||||
# CONFIG_HOST_OSX is not set
|
||||
# CONFIG_HOST_WINDOWS is not set
|
||||
CONFIG_HOST_WINDOWS=y
|
||||
# CONFIG_HOST_OTHER is not set
|
||||
# CONFIG_WINDOWS_NATIVE is not set
|
||||
CONFIG_WINDOWS_CYGWIN=y
|
||||
# CONFIG_WINDOWS_MSYS is not set
|
||||
# CONFIG_WINDOWS_OTHER is not set
|
||||
|
||||
#
|
||||
# Build Configuration
|
||||
@ -39,7 +43,13 @@ CONFIG_RAW_BINARY=y
|
||||
# Debug Options
|
||||
#
|
||||
# CONFIG_DEBUG is not set
|
||||
CONFIG_ARCH_HAVE_STACKCHECK=y
|
||||
# CONFIG_ARCH_HAVE_HEAPCHECK is not set
|
||||
# CONFIG_DEBUG_SYMBOLS is not set
|
||||
CONFIG_ARCH_HAVE_CUSTOMOPT=y
|
||||
# CONFIG_DEBUG_NOOPT is not set
|
||||
# CONFIG_DEBUG_CUSTOMOPT is not set
|
||||
CONFIG_DEBUG_FULLOPT=y
|
||||
|
||||
#
|
||||
# System Type
|
||||
@ -60,6 +70,7 @@ CONFIG_ARCH="arm"
|
||||
#
|
||||
# ARM Options
|
||||
#
|
||||
# CONFIG_ARCH_CHIP_A1X is not set
|
||||
# CONFIG_ARCH_CHIP_C5471 is not set
|
||||
# CONFIG_ARCH_CHIP_CALYPSO is not set
|
||||
# CONFIG_ARCH_CHIP_DM320 is not set
|
||||
@ -73,132 +84,92 @@ CONFIG_ARCH="arm"
|
||||
# CONFIG_ARCH_CHIP_LPC31XX is not set
|
||||
# CONFIG_ARCH_CHIP_LPC43XX is not set
|
||||
# CONFIG_ARCH_CHIP_NUC1XX is not set
|
||||
# CONFIG_ARCH_CHIP_SAMA5 is not set
|
||||
CONFIG_ARCH_CHIP_SAMD=y
|
||||
# CONFIG_ARCH_CHIP_SAM34 is not set
|
||||
# CONFIG_ARCH_CHIP_STM32 is not set
|
||||
# CONFIG_ARCH_CHIP_STR71X is not set
|
||||
# CONFIG_ARCH_ARM7TDMI is not set
|
||||
# CONFIG_ARCH_ARM926EJS is not set
|
||||
# CONFIG_ARCH_ARM920T is not set
|
||||
CONFIG_ARCH_CORTEXM0=y
|
||||
# CONFIG_ARCH_CORTEXM3 is not set
|
||||
# CONFIG_ARCH_CORTEXM4 is not set
|
||||
# CONFIG_ARCH_CORTEXA5 is not set
|
||||
# CONFIG_ARCH_CORTEXA8 is not set
|
||||
CONFIG_ARCH_FAMILY="armv6-m"
|
||||
CONFIG_ARCH_CHIP="samd"
|
||||
# CONFIG_ARMV6M_USEBASEPRI is not set
|
||||
CONFIG_ARCH_HAVE_CMNVECTOR=y
|
||||
# CONFIG_ARMV7M_CMNVECTOR is not set
|
||||
# CONFIG_ARCH_HAVE_FPU is not set
|
||||
CONFIG_ARCH_HAVE_MPU=y
|
||||
# CONFIG_ARMV6M_MPU is not set
|
||||
# CONFIG_ARCH_HAVE_MPU is not set
|
||||
|
||||
#
|
||||
# ARMV6M Configuration Options
|
||||
#
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_ATOLLIC is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_BUILDROOT is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDL is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDW is not set
|
||||
CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW=y
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_DEVKITARM is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIL is not set
|
||||
# CONFIG_ARMV6M_OABI_TOOLCHAIN=y
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIW is not set
|
||||
|
||||
#
|
||||
# SAMD Configuration Options
|
||||
# Atmel SAMD Configuration Options
|
||||
#
|
||||
# CONFIG_ARCH_CHIP_ATSAM3U4E is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM3X8E is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM3X8C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM3X4E is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM3X4C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM3A8C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM3A4C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20C2C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20C2B is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20C2A is not set
|
||||
CONFIG_ARCH_CHIP_ATSAMD20J18=y
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20C4B is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20C4A is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20S2C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20S2B is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20S2A is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20S4C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20S4B is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAMD20S4A is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM4SD32C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM4SD32B is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM4SD16C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM4SD16B is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM4SA16C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM4SA16B is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM4S16C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM4S16B is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM4S8C is not set
|
||||
# CONFIG_ARCH_CHIP_ATSAM4S8B is not set
|
||||
# CONFIG_ARCH_CHIP_SAM3U is not set
|
||||
# CONFIG_ARCH_CHIP_SAM3X is not set
|
||||
# CONFIG_ARCH_CHIP_SAM3A is not set
|
||||
CONFIG_ARCH_CHIP_SAMD=y
|
||||
CONFIG_ARCH_CHIP_SAMD20=y
|
||||
CONFIG_ARCH_CHIP_SAMD20J=y
|
||||
# CONFIG_ARCH_CHIP_SAM4S is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20E14 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20E15 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20E16 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20E17 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20E18 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20G14 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20G15 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20G16 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20G17 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20G18 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20J14 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20J15 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20J16 is not set
|
||||
# CONFIG_ARCH_CHIP_SAMD20J17 is not set
|
||||
CONFIG_ARCH_CHIP_SAMD20J18=y
|
||||
CONFIG_ARCH_FAMILY_SAMD20=y
|
||||
# CONFIG_ARCH_FAMILY_SAMD20E is not set
|
||||
# CONFIG_ARCH_FAMILY_SAMD20G is not set
|
||||
CONFIG_ARCH_FAMILY_SAMD20J=y
|
||||
CONFIG_SAMD_HAVE_SERCOM4=y
|
||||
CONFIG_SAMD_HAVE_SERCOM5=y
|
||||
CONFIG_SAMD_HAVE_TC6=y
|
||||
CONFIG_SAMD_HAVE_TC7=y
|
||||
|
||||
#
|
||||
# SAMD Peripheral Support
|
||||
#
|
||||
CONFIG_SAM_PICOCACHE=y
|
||||
# CONFIG_SAMD_OCD is not set
|
||||
# CONFIG_SAMD_APBA is not set
|
||||
# CONFIG_SAMD_AESA is not set
|
||||
# CONFIG_SAMD_IISC is not set
|
||||
# CONFIG_SAMD_SPI0 is not set
|
||||
# CONFIG_SAMD_WDT is not set
|
||||
# CONFIG_SAMD_RTC is not set
|
||||
# CONFIG_SAMD_NVMCTRL is not set
|
||||
# CONFIG_SAMD_EVSYS is not set
|
||||
# CONFIG_SAMD_SERCOM0 is not set
|
||||
# CONFIG_SAMD_SERCOM1 is not set
|
||||
# CONFIG_SAMD_SERCOM2 is not set
|
||||
# CONFIG_SAMD_SERCOM3 is not set
|
||||
CONFIG_SAMD_SERCOM4=y
|
||||
# CONFIG_SAMD_SERCOM5 is not set
|
||||
# CONFIG_SAMD_TC0 is not set
|
||||
# CONFIG_SAMD_TC1 is not set
|
||||
# CONFIG_SAMD_TWIM0 is not set
|
||||
# CONFIG_SAMD_TWIS0 is not set
|
||||
# CONFIG_SAMD_TWIM1 is not set
|
||||
# CONFIG_SAMD_TWIS1 is not set
|
||||
# CONFIG_SAMD_TWIM2 is not set
|
||||
# CONFIG_SAMD_TWIM3 is not set
|
||||
# CONFIG_SAMD_PICOUART is not set
|
||||
CONFIG_SAMD_USART0=y
|
||||
# CONFIG_SAMD_USART1 is not set
|
||||
# CONFIG_SAMD_USART2 is not set
|
||||
# CONFIG_SAMD_USART3 is not set
|
||||
# CONFIG_SAMD_ADC12B is not set
|
||||
# CONFIG_SAMD_DACC is not set
|
||||
# CONFIG_SAMD_ACC is not set
|
||||
# CONFIG_SAMD_GLOC is not set
|
||||
# CONFIG_SAMD_ABDACB is not set
|
||||
# CONFIG_SAMD_TRNG is not set
|
||||
# CONFIG_SAMD_PARC is not set
|
||||
# CONFIG_SAMD_CATB is not set
|
||||
# CONFIG_SAMD_HRAMC1 is not set
|
||||
# CONFIG_SAMD_HMATRIX is not set
|
||||
# CONFIG_SAMD_PDCA is not set
|
||||
# CONFIG_SAMD_CRCCU is not set
|
||||
# CONFIG_SAMD_USBC is not set
|
||||
# CONFIG_SAMD_PEVC is not set
|
||||
# CONFIG_SAMD_CHIPID is not set
|
||||
# CONFIG_SAMD_FREQM is not set
|
||||
# CONFIG_SAMD_AST is not set
|
||||
# CONFIG_SAMD_WDT is not set
|
||||
# CONFIG_SAMD_EIC is not set
|
||||
|
||||
#
|
||||
# SAMD Clock Configuration
|
||||
#
|
||||
# CONFIG_SAMD_RESET_PERIPHCLKS is not set
|
||||
# CONFIG_SAMD_OSC0 is not set
|
||||
# CONFIG_SAMD_OSC32K is not set
|
||||
# CONFIG_SAMD_RC80M is not set
|
||||
# CONFIG_SAMD_RCFAST is not set
|
||||
# CONFIG_SAMD_RC1M is not set
|
||||
# CONFIG_SAMD_RC32K is not set
|
||||
|
||||
#
|
||||
# SAMD USART Configuration
|
||||
#
|
||||
CONFIG_USART0_ISUART=y
|
||||
|
||||
#
|
||||
# SAMD GPIO Interrupt Configuration
|
||||
#
|
||||
|
||||
#
|
||||
# External Memory Configuration
|
||||
#
|
||||
# CONFIG_SAMD_TC2 is not set
|
||||
# CONFIG_SAMD_TC3 is not set
|
||||
# CONFIG_SAMD_TC4 is not set
|
||||
# CONFIG_SAMD_TC5 is not set
|
||||
# CONFIG_SAMD_TC6 is not set
|
||||
# CONFIG_SAMD_TC7 is not set
|
||||
# CONFIG_SAMD_ADC is not set
|
||||
# CONFIG_SAMD_AC is not set
|
||||
# CONFIG_SAMD_DAC is not set
|
||||
# CONFIG_SAMD_PTC is not set
|
||||
# CONFIG_SAMD_SERCOM4_ISI2C is not set
|
||||
# CONFIG_SAMD_SERCOM4_ISSPI is not set
|
||||
CONFIG_SAMD_SERCOM4_ISUART=y
|
||||
|
||||
#
|
||||
# Architecture Options
|
||||
@ -206,26 +177,30 @@ CONFIG_USART0_ISUART=y
|
||||
# CONFIG_ARCH_NOINTC is not set
|
||||
# CONFIG_ARCH_VECNOTIRQ is not set
|
||||
# CONFIG_ARCH_DMA is not set
|
||||
CONFIG_ARCH_IRQPRIO=y
|
||||
CONFIG_ARCH_HAVE_IRQPRIO=y
|
||||
# CONFIG_CUSTOM_STACK is not set
|
||||
# CONFIG_ADDRENV is not set
|
||||
CONFIG_ARCH_HAVE_VFORK=y
|
||||
# CONFIG_ARCH_HAVE_MMU is not set
|
||||
# CONFIG_ARCH_NAND_HWECC is not set
|
||||
CONFIG_ARCH_IRQPRIO=y
|
||||
CONFIG_ARCH_STACKDUMP=y
|
||||
# CONFIG_ENDIAN_BIG is not set
|
||||
CONFIG_ARCH_HAVE_RAMFUNCS=y
|
||||
CONFIG_ARCH_RAMFUNCS=y
|
||||
CONFIG_ARCH_HAVE_RAMVECTORS=y
|
||||
# CONFIG_ARCH_RAMVECTORS is not set
|
||||
# CONFIG_ARCH_HAVE_RAMFUNCS is not set
|
||||
# CONFIG_ARCH_HAVE_RAMVECTORS is not set
|
||||
|
||||
#
|
||||
# Board Settings
|
||||
#
|
||||
CONFIG_BOARD_LOOPSPERMSEC=3410
|
||||
# CONFIG_ARCH_CALIBRATION is not set
|
||||
CONFIG_RAM_START=0x20000000
|
||||
CONFIG_RAM_SIZE=32768
|
||||
|
||||
#
|
||||
# Interrupt options
|
||||
#
|
||||
CONFIG_ARCH_HAVE_INTERRUPTSTACK=y
|
||||
CONFIG_ARCH_INTERRUPTSTACK=0
|
||||
# CONFIG_ARCH_HAVE_HIPRI_INTERRUPT is not set
|
||||
|
||||
#
|
||||
# Boot options
|
||||
@ -236,6 +211,13 @@ CONFIG_BOOT_RUNFROMFLASH=y
|
||||
# CONFIG_BOOT_RUNFROMSDRAM is not set
|
||||
# CONFIG_BOOT_COPYTORAM is not set
|
||||
|
||||
#
|
||||
# Boot Memory Configuration
|
||||
#
|
||||
CONFIG_RAM_START=0x20000000
|
||||
CONFIG_RAM_SIZE=32768
|
||||
# CONFIG_ARCH_HAVE_SDRAM is not set
|
||||
|
||||
#
|
||||
# Board Selection
|
||||
#
|
||||
@ -269,6 +251,7 @@ CONFIG_NSH_MMCSDMINOR=0
|
||||
#
|
||||
# CONFIG_BOARD_INITIALIZE is not set
|
||||
CONFIG_MSEC_PER_TICK=10
|
||||
# CONFIG_SYSTEM_TIME64 is not set
|
||||
CONFIG_RR_INTERVAL=200
|
||||
# CONFIG_SCHED_INSTRUMENTATION is not set
|
||||
CONFIG_TASK_NAME_SIZE=0
|
||||
@ -336,13 +319,17 @@ CONFIG_DEV_NULL=y
|
||||
# CONFIG_LOOP is not set
|
||||
# CONFIG_RAMDISK is not set
|
||||
# CONFIG_CAN is not set
|
||||
# CONFIG_ARCH_HAVE_PWM_PULSECOUNT is not set
|
||||
# CONFIG_PWM is not set
|
||||
# CONFIG_ARCH_HAVE_I2CRESET is not set
|
||||
# CONFIG_I2C is not set
|
||||
# CONFIG_SPI is not set
|
||||
# CONFIG_I2S is not set
|
||||
# CONFIG_RTC is not set
|
||||
# CONFIG_WATCHDOG is not set
|
||||
# CONFIG_ANALOG is not set
|
||||
# CONFIG_AUDIO_DEVICES is not set
|
||||
# CONFIG_VIDEO_DEVICES is not set
|
||||
# CONFIG_BCH is not set
|
||||
# CONFIG_INPUT is not set
|
||||
# CONFIG_LCD is not set
|
||||
@ -352,26 +339,31 @@ CONFIG_DEV_NULL=y
|
||||
# CONFIG_PM is not set
|
||||
# CONFIG_POWER is not set
|
||||
# CONFIG_SENSORS is not set
|
||||
# CONFIG_SERCOMM_CONSOLE is not set
|
||||
CONFIG_SERIAL=y
|
||||
# CONFIG_DEV_LOWCONSOLE is not set
|
||||
# CONFIG_16550_UART is not set
|
||||
CONFIG_ARCH_HAVE_USART0=y
|
||||
CONFIG_ARCH_HAVE_UART4=y
|
||||
|
||||
#
|
||||
# USART Configuration
|
||||
#
|
||||
CONFIG_MCU_SERIAL=y
|
||||
CONFIG_STANDARD_SERIAL=y
|
||||
CONFIG_USART0_SERIAL_CONSOLE=y
|
||||
CONFIG_UART4_SERIAL_CONSOLE=y
|
||||
# CONFIG_NO_SERIAL_CONSOLE is not set
|
||||
|
||||
#
|
||||
# USART0 Configuration
|
||||
# UART4 Configuration
|
||||
#
|
||||
CONFIG_USART0_RXBUFSIZE=256
|
||||
CONFIG_USART0_TXBUFSIZE=256
|
||||
CONFIG_USART0_BAUD=115200
|
||||
CONFIG_USART0_BITS=8
|
||||
CONFIG_USART0_PARITY=0
|
||||
CONFIG_USART0_2STOP=0
|
||||
# CONFIG_USART0_IFLOWCONTROL is not set
|
||||
# CONFIG_USART0_OFLOWCONTROL is not set
|
||||
CONFIG_UART4_RXBUFSIZE=256
|
||||
CONFIG_UART4_TXBUFSIZE=256
|
||||
CONFIG_UART4_BAUD=115200
|
||||
CONFIG_UART4_BITS=8
|
||||
CONFIG_UART4_PARITY=0
|
||||
CONFIG_UART4_2STOP=0
|
||||
# CONFIG_UART4_IFLOWCONTROL is not set
|
||||
# CONFIG_UART4_OFLOWCONTROL is not set
|
||||
# CONFIG_SERIAL_IFLOWCONTROL is not set
|
||||
# CONFIG_SERIAL_OFLOWCONTROL is not set
|
||||
# CONFIG_USBDEV is not set
|
||||
@ -390,6 +382,8 @@ CONFIG_USART0_2STOP=0
|
||||
#
|
||||
# Networking Support
|
||||
#
|
||||
# CONFIG_ARCH_HAVE_NET is not set
|
||||
# CONFIG_ARCH_HAVE_PHY is not set
|
||||
# CONFIG_NET is not set
|
||||
|
||||
#
|
||||
@ -400,12 +394,15 @@ CONFIG_USART0_2STOP=0
|
||||
# File system configuration
|
||||
#
|
||||
# CONFIG_DISABLE_MOUNTPOINT is not set
|
||||
# CONFIG_FS_READABLE is not set
|
||||
# CONFIG_FS_WRITABLE is not set
|
||||
# CONFIG_FS_RAMMAP is not set
|
||||
# CONFIG_FS_FAT is not set
|
||||
# CONFIG_FS_NXFFS is not set
|
||||
# CONFIG_FS_ROMFS is not set
|
||||
# CONFIG_FS_SMARTFS is not set
|
||||
# CONFIG_FS_BINFS is not set
|
||||
# CONFIG_FS_PROCFS is not set
|
||||
|
||||
#
|
||||
# System Logging
|
||||
@ -424,6 +421,7 @@ CONFIG_USART0_2STOP=0
|
||||
# CONFIG_MM_MULTIHEAP is not set
|
||||
# CONFIG_MM_SMALL is not set
|
||||
CONFIG_MM_REGIONS=3
|
||||
# CONFIG_ARCH_HAVE_HEAP2 is not set
|
||||
# CONFIG_GRAN is not set
|
||||
|
||||
#
|
||||
@ -503,7 +501,7 @@ CONFIG_BUILTIN_PROXY_STACKSIZE=1024
|
||||
#
|
||||
# CONFIG_EXAMPLES_BUTTONS is not set
|
||||
# CONFIG_EXAMPLES_CAN is not set
|
||||
# CONFIG_SYSTEM_COMPOSITE is not set
|
||||
# CONFIG_EXAMPLES_CONFIGDATA is not set
|
||||
# CONFIG_EXAMPLES_CXXTEST is not set
|
||||
# CONFIG_EXAMPLES_DHCPD is not set
|
||||
# CONFIG_EXAMPLES_ELF is not set
|
||||
@ -551,7 +549,6 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y
|
||||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
@ -574,14 +571,11 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y
|
||||
# Networking Utilities
|
||||
#
|
||||
# CONFIG_NETUTILS_CODECS is not set
|
||||
# CONFIG_NETUTILS_DHCPC is not set
|
||||
# CONFIG_NETUTILS_DHCPD is not set
|
||||
# CONFIG_NETUTILS_FTPC is not set
|
||||
# CONFIG_NETUTILS_FTPD is not set
|
||||
# CONFIG_NETUTILS_JSON is not set
|
||||
# CONFIG_NETUTILS_RESOLV is not set
|
||||
# CONFIG_NETUTILS_SMTP is not set
|
||||
# CONFIG_NETUTILS_TELNETD is not set
|
||||
# CONFIG_NETUTILS_TFTPC is not set
|
||||
# CONFIG_NETUTILS_THTTPD is not set
|
||||
# CONFIG_NETUTILS_UIPLIB is not set
|
||||
@ -596,15 +590,20 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y
|
||||
# NSH Library
|
||||
#
|
||||
CONFIG_NSH_LIBRARY=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
# CONFIG_NSH_CLE is not set
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
|
||||
#
|
||||
# Disable Individual commands
|
||||
#
|
||||
# CONFIG_NSH_DISABLE_ADDROUTE is not set
|
||||
# CONFIG_NSH_DISABLE_CAT is not set
|
||||
# CONFIG_NSH_DISABLE_CD is not set
|
||||
# CONFIG_NSH_DISABLE_CP is not set
|
||||
# CONFIG_NSH_DISABLE_CMP is not set
|
||||
# CONFIG_NSH_DISABLE_DD is not set
|
||||
# CONFIG_NSH_DISABLE_DELROUTE is not set
|
||||
# CONFIG_NSH_DISABLE_ECHO is not set
|
||||
# CONFIG_NSH_DISABLE_EXEC is not set
|
||||
# CONFIG_NSH_DISABLE_EXIT is not set
|
||||
@ -646,11 +645,17 @@ CONFIG_NSH_BUILTIN_APPS=y
|
||||
#
|
||||
# CONFIG_NSH_CMDOPT_DF_H is not set
|
||||
CONFIG_NSH_CODECS_BUFSIZE=128
|
||||
# CONFIG_NSH_CMDOPT_HEXDUMP is not set
|
||||
CONFIG_NSH_FILEIOSIZE=512
|
||||
CONFIG_NSH_LINELEN=64
|
||||
# CONFIG_NSH_DISABLE_SEMICOLON is not set
|
||||
# CONFIG_NSH_CMDPARMS is not set
|
||||
CONFIG_NSH_MAXARGUMENTS=6
|
||||
# CONFIG_NSH_ARGCAT is not set
|
||||
CONFIG_NSH_NESTDEPTH=3
|
||||
# CONFIG_NSH_DISABLESCRIPT is not set
|
||||
# CONFIG_NSH_DISABLE_ITEF is not set
|
||||
# CONFIG_NSH_DISABLE_LOOPS is not set
|
||||
# CONFIG_NSH_DISABLEBG is not set
|
||||
CONFIG_NSH_CONSOLE=y
|
||||
|
||||
@ -665,7 +670,20 @@ CONFIG_NSH_CONSOLE=y
|
||||
#
|
||||
|
||||
#
|
||||
# System NSH Add-Ons
|
||||
# Platform-specific Support
|
||||
#
|
||||
# CONFIG_PLATFORM_CONFIGDATA is not set
|
||||
|
||||
#
|
||||
# System Libraries and NSH Add-Ons
|
||||
#
|
||||
|
||||
#
|
||||
# USB CDC/ACM Device Commands
|
||||
#
|
||||
|
||||
#
|
||||
# USB Composite Device Commands
|
||||
#
|
||||
|
||||
#
|
||||
@ -677,6 +695,11 @@ CONFIG_NSH_CONSOLE=y
|
||||
# I2C tool
|
||||
#
|
||||
|
||||
#
|
||||
# INI File Parser
|
||||
#
|
||||
# CONFIG_SYSTEM_INIFILE is not set
|
||||
|
||||
#
|
||||
# FLASH Program Installation
|
||||
#
|
||||
@ -686,6 +709,11 @@ CONFIG_NSH_CONSOLE=y
|
||||
# FLASH Erase-all Command
|
||||
#
|
||||
|
||||
#
|
||||
# NxPlayer media player library / command Line
|
||||
#
|
||||
# CONFIG_SYSTEM_NXPLAYER is not set
|
||||
|
||||
#
|
||||
# RAM test
|
||||
#
|
||||
@ -720,3 +748,26 @@ CONFIG_READLINE_ECHO=y
|
||||
#
|
||||
# USB Monitor
|
||||
#
|
||||
|
||||
#
|
||||
# EMACS-like Command Line Editor
|
||||
#
|
||||
# CONFIG_SYSTEM_CLE is not set
|
||||
|
||||
#
|
||||
# VI Work-Alike Editor
|
||||
#
|
||||
# CONFIG_SYSTEM_VI is not set
|
||||
|
||||
#
|
||||
# Stack Monitor
|
||||
#
|
||||
|
||||
#
|
||||
# USB Mass Storage Device Commands
|
||||
#
|
||||
|
||||
#
|
||||
# Zmodem Commands
|
||||
#
|
||||
# CONFIG_SYSTEM_ZMODEM is not set
|
||||
|
Loading…
Reference in New Issue
Block a user