mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #11141 from fjmolinas/stm32l0_bootloader
stm32l0: add riotboot support
This commit is contained in:
commit
1f937cedb7
@ -6,6 +6,12 @@ FEATURES_PROVIDED += periph_spi
|
|||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
|
# Put other features for this board (in alphabetical order)
|
||||||
|
# For riotboot you need an openocd that supports dualbank flashing.
|
||||||
|
# The 0.10.0 openocd version in Ubuntu Bionic doesn't work. The change was
|
||||||
|
# introduced after Jun 8, 2017 - v0.10.0-1-20170607-2132-dev.
|
||||||
|
FEATURES_PROVIDED += riotboot
|
||||||
|
|
||||||
# The board MPU family (used for grouping by the CI system)
|
# The board MPU family (used for grouping by the CI system)
|
||||||
FEATURES_MCU_GROUP = cortex_m0_1
|
FEATURES_MCU_GROUP = cortex_m0_1
|
||||||
|
|
||||||
|
@ -8,6 +8,12 @@ FEATURES_PROVIDED += periph_spi
|
|||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
|
# Put other features for this board (in alphabetical order)
|
||||||
|
# For riotboot you need an openocd that supports dualbank flashing.
|
||||||
|
# The 0.10.0 openocd version in Ubuntu Bionic doesn't work. The change was
|
||||||
|
# introduced after Jun 8, 2017 - v0.10.0-1-20170607-2132-dev.
|
||||||
|
FEATURES_PROVIDED += riotboot
|
||||||
|
|
||||||
# load the common Makefile.features for Nucleo boards
|
# load the common Makefile.features for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
||||||
|
|
||||||
|
@ -41,6 +41,7 @@ extern "C" {
|
|||||||
#else
|
#else
|
||||||
#define CPU_IRQ_NUMOF (32U)
|
#define CPU_IRQ_NUMOF (32U)
|
||||||
#endif
|
#endif
|
||||||
|
#define CPU_FLASH_BASE FLASH_BASE
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user