commit | 499ce372ac62c2d5eedf49df629d56bfb9c83706 | [log] [tgz] |
---|---|---|
author | Scott James Remnant <keybuk@google.com> | Mon Jun 12 21:55:04 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 12 21:55:04 2023 +0000 |
tree | 7d45a1869cb7b56d1a0868bdb1b20ec05fae98e9 | |
parent | 49b38b27bff6f3677c838a89e6716402d9e3df2e [diff] |
pw_boot_cortex_m: Set VTOR on boot entry Devices with a bootloader will often set VTOR prior to launching the loaded binary, but this will not be true if the CPU is booted directly from memory. The reference startup_cm33.S sets VTOR at the start of Reset_Handler, so do the same in pw_Boot_Entry Change-Id: Ib03fad825b43e3de3892b1b1c9b822169a31140b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/151214 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Scott James Remnant <keybuk@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.