commit | cfd57d8453d32914fb63ef17c34eeaecf3289a59 | [log] [tgz] |
---|---|---|
author | Kevin Zeng <zengk@google.com> | Wed Apr 17 00:04:20 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 17 00:04:20 2024 +0000 |
tree | fbbbf04176a0794567b0d6238b91757f63da7379 | |
parent | 343cadc83c5ea3665aea8e5532e466bb734eb896 [diff] |
pw_thread_freertos: Use TCB for running stack pointer For RiscV where there's only one stack pointer used, when an exception happens, the TCB for the running thread won't be stale as the state is saved in TCB. Testing: See the Running thread stack match MEPC Change-Id: Iee7f95cb8a7057060a296bdb77754a2326edc699 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/188231 Pigweed-Auto-Submit: Kevin Zeng <zengk@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Reviewed-by: Armando Montanez <amontanez@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/.