Fix a typo in configuration variable name: SAMD21 should be SAML21

This commit is contained in:
Gregory Nutt 2015-06-26 13:33:35 -06:00
parent 38ac5e2be3
commit 71e8137da1
3 changed files with 13 additions and 8 deletions

View File

@ -25,7 +25,7 @@ config SAML21_XPLAINED_OSC16M_16MHZ
endchoice # OSC16M Frequency
config SAMD21_XPLAINED_XOSC32K
config SAML21_XPLAINED_XOSC32K
bool "Enable XOSC32K"
default n
@ -43,7 +43,7 @@ config SAML21_XPLAINED_DFLL_OSC16MSRC
config SAML21_XPLAINED_DFLL_XOSC32KSRC
bool "XOSCK32K"
select SAMD21_XPLAINED_XOSC32K
select SAML21_XPLAINED_XOSC32K
endchoice # DFLL Clock Source

View File

@ -114,7 +114,7 @@
*/
#undef BOARD_XOSC32K_ENABLE
#ifdef CONFIG_SAMD21_XPLAINED_XOSC32K
#ifdef CONFIG_SAML21_XPLAINED_XOSC32K
# define BOARD_XOSC32K_ENABLE 1
# define BOARD_XOSC32K_FREQUENCY 32768 /* 32.768KHz XTAL */
# define BOARD_XOSC32K_STARTUPTIME OSC32KCTRL_XOSC32K_STARTUP_100MS

View File

@ -142,10 +142,19 @@ CONFIG_ARCH_CHIP_SAML21J18=y
# CONFIG_ARCH_FAMILY_SAMD20E is not set
# CONFIG_ARCH_FAMILY_SAMD20G is not set
# CONFIG_ARCH_FAMILY_SAMD20J is not set
# 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=y
# CONFIG_ARCH_FAMILY_SAML21E is not set
# CONFIG_ARCH_FAMILY_SAML21G is not set
CONFIG_ARCH_FAMILY_SAML21J=y
#
# SAMD/L Peripheral Support
#
CONFIG_SAMDL_HAVE_DMAC=y
CONFIG_SAMDL_HAVE_SERCOM4=y
CONFIG_SAMDL_HAVE_SERCOM5=y
CONFIG_SAMDL_HAVE_TC5=y
@ -153,10 +162,6 @@ CONFIG_SAMDL_HAVE_TC2=y
CONFIG_SAMDL_HAVE_TC3=y
# CONFIG_SAMDL_HAVE_TC6 is not set
# CONFIG_SAMDL_HAVE_TC7 is not set
#
# SAMD/L Peripheral Support
#
# CONFIG_SAMDL_AC is not set
# CONFIG_SAMDL_ADC is not set
# CONFIG_SAMDL_DAC is not set
@ -265,7 +270,7 @@ CONFIG_SAML21_XPLAINED_OSC16M_4MHZ=y
# CONFIG_SAML21_XPLAINED_OSC16M_8MHZ is not set
# CONFIG_SAML21_XPLAINED_OSC16M_12MHZ is not set
# CONFIG_SAML21_XPLAINED_OSC16M_16MHZ is not set
CONFIG_SAMD21_XPLAINED_XOSC32K=y
CONFIG_SAML21_XPLAINED_XOSC32K=y
CONFIG_SAML21_XPLAINED_DFLL=y
# CONFIG_SAML21_XPLAINED_DFLL_OSC16MSRC is not set
CONFIG_SAML21_XPLAINED_DFLL_XOSC32KSRC=y