soc: select CONFIG_CPU_CORTEX_M_HAS_VTOR for SAMD2x.
SAMD2x series have available the Optional Vector Table Offset Register (VTOR). If this option is not selected, SCB->VTOR is not configured properly and the application hangs if it's located in an offset different than 0. Removed select CPU_CORTEX_M from SAMD20, as it's already selected by select CPU_CORTEX_M0PLUS Signed-off-by: Miguel A. Borrego <jimjim17@gmail.com>
This commit is contained in:
parent
c0a5739bda
commit
aea3645817
2 changed files with 2 additions and 1 deletions
|
@ -5,11 +5,11 @@
|
|||
|
||||
config SOC_SERIES_SAMD20
|
||||
bool "Atmel SAMD20 MCU"
|
||||
select CPU_CORTEX_M
|
||||
select CPU_CORTEX_M0PLUS
|
||||
select SOC_FAMILY_SAM0
|
||||
select SYS_POWER_LOW_POWER_STATE_SUPPORTED
|
||||
select CPU_HAS_SYSTICK
|
||||
select CPU_CORTEX_M_HAS_VTOR
|
||||
select ASF
|
||||
help
|
||||
Enable support for Atmel SAMD20 Cortex-M0+ microcontrollers.
|
||||
|
|
|
@ -9,6 +9,7 @@ config SOC_SERIES_SAMD21
|
|||
select SOC_FAMILY_SAM0
|
||||
select SYS_POWER_LOW_POWER_STATE_SUPPORTED
|
||||
select CPU_HAS_SYSTICK
|
||||
select CPU_CORTEX_M_HAS_VTOR
|
||||
select ASF
|
||||
help
|
||||
Enable support for Atmel SAMD21 Cortex-M0+ microcontrollers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue