pw_async2: Use PW_NO_INLINE to prevent coroutine stack allocation Tests for coroutine allocation failure or non-dispatched coroutines require dynamic allocation via CoroPromiseBase::operator new. Mark coroutines used in those tests with PW_NO_INLINE so the compiler cannot inline their ramp functions and elide heap allocation via HALO, and remove EnsureNotStackAllocated and coro_test_util.h. Fixes: 567988087 Change-Id: I6c0b9d4d6ce59bc0b3937e16748cb34af7b83a23 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/490179
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/.