|author||Wyatt Hepler <firstname.lastname@example.org>||Tue Sep 27 19:40:09 2022 +0000|
|committer||CQ Bot Account <email@example.com>||Tue Sep 27 19:40:09 2022 +0000|
pw_toolchain: Wrap the C standard library abort function The abort or std::abort function does not work as intended by default. Typically, its implementation pulls in some undesired dependencies, such as std::raise, and ends in a while (true) loop, rather than crashing. This commit adds a wrapped implementation of abort that redirects to PW_CRASH. Change-Id: I62e06f2f875b524723887b5b3f8fda2fbcd72518 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/112310 Commit-Queue: Auto-Submit <firstname.lastname@example.org> Reviewed-by: Armando Montanez <email@example.com> Pigweed-Auto-Submit: Wyatt Hepler <firstname.lastname@example.org>
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/.