commit | 54a35ecd0d457cae22d383747fcd195883162fa2 | [log] [tgz] |
---|---|---|
author | Carlos Chinchilla <cachinchilla@google.com> | Wed May 15 21:41:01 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 15 21:41:01 2024 +0000 |
tree | adf70205cc3216c2627d1213ec8b7bae286d32cb | |
parent | 42a82886e1fa1548ceae835e05cf3a503b73695d [diff] |
pw_cpu_exception_cortex_m: Add error flag masks The Cortex-M Fault register has some reserved bits and some bits that describe if a fault register is valid or not, all in the same sections as the error bits. Create a mask for only the error bits which will allow calculating if there are multiple errors present. Change-Id: Ic039f317314e1478a858808c804886dc82257bb6 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/210072 Reviewed-by: Armando Montanez <amontanez@google.com> Pigweed-Auto-Submit: Carlos Chinchilla <cachinchilla@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.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/.