mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-30 08:51:19 +01:00
Merge pull request #11248 from emmanuelsearch/pr-riotboot-saml1x
saml1x: add riotboot support
This commit is contained in:
commit
b0a2559db8
@ -7,6 +7,9 @@ FEATURES_PROVIDED += periph_spi
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
|
||||
# Put other features on these boards (in alphabetical order)
|
||||
FEATURES_PROVIDED += riotboot
|
||||
|
||||
# The board MPU family (used for grouping by the CI system)
|
||||
FEATURES_MCU_GROUP = cortex_m23
|
||||
|
||||
|
||||
@ -217,10 +217,11 @@ static inline void cpu_jump_to_image(uint32_t image_address)
|
||||
__asm("BX %0" :: "r" (destination_address));
|
||||
}
|
||||
|
||||
/* The following register is only present for Cortex-M0+, -M3, -M4 and -M7 CPUs */
|
||||
/* The following register is only present for
|
||||
Cortex-M0+, -M3, -M4, -M7 and -M23 CPUs */
|
||||
#if defined(CPU_ARCH_CORTEX_M0PLUS) || defined(CPU_ARCH_CORTEX_M3) || \
|
||||
defined(CPU_ARCH_CORTEX_M4) || defined(CPU_ARCH_CORTEX_M4F) || \
|
||||
defined(CPU_ARCH_CORTEX_M7)
|
||||
defined(CPU_ARCH_CORTEX_M7) || defined(CPU_ARCH_CORTEX_M23)
|
||||
static inline uint32_t cpu_get_image_baseaddr(void)
|
||||
{
|
||||
return SCB->VTOR;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user