Skip to content
Snippets Groups Projects
Commit 9cfdf6e3 authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

cpu/cortexm_common: introduce cpu_jump_to_image()


This new function allows to jump to another execution
environment (VTOR) located at a certain (aligned) address.
It's used to boot firmwares at another location than
`CPU_FLASH_BASE`.

The user needs to ensure that the CPU using this feature
is able to be initialised at least twice while jumping
to the RIOT `reset_handler_default` function, since it
initialises the CPU again (calls cpu_init()).

Co-authored-by: default avatarKaspar Schleiser <kaspar@schleiser.de>
parent 281d8084
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment