From 8750bf0d9af1556410a4edec2c991edff9fc6b62 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 20 Jun 2015 16:06:01 -0600 Subject: [PATCH] SAMD2x: Eliminate a warning --- arch/arm/src/samdl/samd_clockconfig.c | 1 - configs/samd20-xplained/nsh/defconfig | 51 +++++++++++++++++++-------- 2 files changed, 36 insertions(+), 16 deletions(-) diff --git a/arch/arm/src/samdl/samd_clockconfig.c b/arch/arm/src/samdl/samd_clockconfig.c index d44122719c..88483f434c 100644 --- a/arch/arm/src/samdl/samd_clockconfig.c +++ b/arch/arm/src/samdl/samd_clockconfig.c @@ -745,7 +745,6 @@ static inline void sam_dfll_reference(void) #ifdef BOARD_GCLK_ENABLE static inline void sam_config_gclks(void) { - uint32_t regval; int i; /* Turn on the GCLK interface clock */ diff --git a/configs/samd20-xplained/nsh/defconfig b/configs/samd20-xplained/nsh/defconfig index 07f084c32e..be1edf7ad2 100644 --- a/configs/samd20-xplained/nsh/defconfig +++ b/configs/samd20-xplained/nsh/defconfig @@ -83,6 +83,7 @@ CONFIG_ARCH="arm" # CONFIG_ARCH_CHIP_KL is not set # CONFIG_ARCH_CHIP_LM is not set # CONFIG_ARCH_CHIP_TIVA is not set +# CONFIG_ARCH_CHIP_LPC11XX is not set # CONFIG_ARCH_CHIP_LPC17XX is not set # CONFIG_ARCH_CHIP_LPC214X is not set # CONFIG_ARCH_CHIP_LPC2378 is not set @@ -142,14 +143,41 @@ CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW=y # CONFIG_ARCH_CHIP_SAMD20J16 is not set # CONFIG_ARCH_CHIP_SAMD20J17 is not set CONFIG_ARCH_CHIP_SAMD20J18=y +# CONFIG_ARCH_CHIP_SAMD21E15A is not set +# CONFIG_ARCH_CHIP_SAMD21E15B is not set +# CONFIG_ARCH_CHIP_SAMD21E16A is not set +# CONFIG_ARCH_CHIP_SAMD21E16B is not set +# CONFIG_ARCH_CHIP_SAMD21E17A is not set +# CONFIG_ARCH_CHIP_SAMD21E18A is not set +# CONFIG_ARCH_CHIP_SAMD21G15A is not set +# CONFIG_ARCH_CHIP_SAMD21G15B is not set +# CONFIG_ARCH_CHIP_SAMD21G16A is not set +# CONFIG_ARCH_CHIP_SAMD21G16B is not set +# CONFIG_ARCH_CHIP_SAMD21G17A is not set +# CONFIG_ARCH_CHIP_SAMD21G18A is not set +# CONFIG_ARCH_CHIP_SAMD21J15A is not set +# CONFIG_ARCH_CHIP_SAMD21J15B is not set +# CONFIG_ARCH_CHIP_SAMD21J16A is not set +# CONFIG_ARCH_CHIP_SAMD21J16B is not set +# CONFIG_ARCH_CHIP_SAMD21J17A is not set +# CONFIG_ARCH_CHIP_SAMD21J18A is not set 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_ARCH_FAMILY_SAMD21 is not set +# CONFIG_ARCH_FAMILY_SAMD21E is not set +# CONFIG_ARCH_FAMILY_SAMD21G is not set +# CONFIG_ARCH_FAMILY_SAMD21J is not set # CONFIG_ARCH_FAMILY_SAML21 is not set # CONFIG_ARCH_FAMILY_SAML21E is not set # CONFIG_ARCH_FAMILY_SAML21G is not set # CONFIG_ARCH_FAMILY_SAML21J is not set + +# +# SAMD/L Peripheral Support +# +# CONFIG_SAMDL_HAVE_DMAC is not set CONFIG_SAMDL_HAVE_SERCOM4=y CONFIG_SAMDL_HAVE_SERCOM5=y CONFIG_SAMDL_HAVE_TC5=y @@ -157,14 +185,13 @@ CONFIG_SAMDL_HAVE_TC2=y CONFIG_SAMDL_HAVE_TC3=y CONFIG_SAMDL_HAVE_TC6=y CONFIG_SAMDL_HAVE_TC7=y - -# -# SAMD/L Peripheral Support -# -# CONFIG_SAMDL_WDT is not set -# CONFIG_SAMDL_RTC is not set -# CONFIG_SAMDL_NVMCTRL is not set +# CONFIG_SAMDL_AC is not set +# CONFIG_SAMDL_ADC is not set +# CONFIG_SAMDL_DAC is not set # CONFIG_SAMDL_EVSYS is not set +# CONFIG_SAMDL_NVMCTRL is not set +# CONFIG_SAMDL_PTC is not set +# CONFIG_SAMDL_RTC is not set # CONFIG_SAMDL_SERCOM0 is not set # CONFIG_SAMDL_SERCOM1 is not set # CONFIG_SAMDL_SERCOM2 is not set @@ -179,10 +206,7 @@ CONFIG_SAMDL_SERCOM4=y # CONFIG_SAMDL_TC5 is not set # CONFIG_SAMDL_TC6 is not set # CONFIG_SAMDL_TC7 is not set -# CONFIG_SAMDL_ADC is not set -# CONFIG_SAMDL_AC is not set -# CONFIG_SAMDL_DAC is not set -# CONFIG_SAMDL_PTC is not set +# CONFIG_SAMDL_WDT is not set # CONFIG_SAMDL_SERCOM3_ISI2C is not set # CONFIG_SAMDL_SERCOM3_ISSPI is not set CONFIG_SAMDL_SERCOM3_ISUSART=y @@ -527,6 +551,7 @@ CONFIG_FS_MQUEUE_MPATH="/var/mqueue" # CONFIG_FS_SMARTFS is not set # CONFIG_FS_BINFS is not set # CONFIG_FS_PROCFS is not set +# CONFIG_FS_UNIONFS is not set # # System Logging @@ -649,7 +674,6 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y # CONFIG_EXAMPLES_NX is not set # CONFIG_EXAMPLES_NXTERM is not set # CONFIG_EXAMPLES_NXFFS is not set -# CONFIG_EXAMPLES_NXFLAT is not set # CONFIG_EXAMPLES_NXHELLO is not set # CONFIG_EXAMPLES_NXIMAGE is not set # CONFIG_EXAMPLES_NXLINES is not set @@ -669,7 +693,6 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y # CONFIG_EXAMPLES_SMART is not set # CONFIG_EXAMPLES_TCPECHO is not set # CONFIG_EXAMPLES_TELNETD is not set -# CONFIG_EXAMPLES_THTTPD is not set # CONFIG_EXAMPLES_TIFF is not set # CONFIG_EXAMPLES_TOUCHSCREEN is not set # CONFIG_EXAMPLES_WEBSERVER is not set @@ -701,8 +724,6 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y # CONFIG_NETUTILS_FTPC is not set # CONFIG_NETUTILS_JSON is not set # CONFIG_NETUTILS_SMTP is not set -# CONFIG_NETUTILS_THTTPD is not set -# CONFIG_NETUTILS_PPPD is not set # # FreeModBus