SAMD2x: Eliminate a warning

This commit is contained in:
Gregory Nutt 2015-06-20 16:06:01 -06:00
parent c03d642b36
commit 8750bf0d9a
2 changed files with 36 additions and 16 deletions

View File

@ -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 */

View File

@ -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