commit | 7588aed88bc61d1dda71ce5c9c922fa2d6a002d6 | [log] [tgz] |
---|---|---|
author | Anthony DiGirolamo <tonymd@google.com> | Fri Dec 10 15:06:16 2021 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 14 01:35:44 2021 +0000 |
tree | 8b29180dcd3f643ad19fb37e482acf3e7b559b62 | |
parent | cf1c02052f5c7d685bdfa149cf47cc56e9d3c179 [diff] |
pw_thread_sync_freertos: Add explicit casts - Adds reinterpret_casts to translate between static control block pointers and the FreeRTOS handle types instead of relying on implicit conversions. - Fix backwards xTaskNotifyStateClearIndexed call https://www.freertos.org/xTaskNotifyStateClear.html BaseType_t xTaskNotifyStateClearIndexed( TaskHandle_t xTask, UBaseType_t uxIndexToClear ); These changes fix compiler errors for FreeRTOS version: https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.6 Change-Id: Id2baf229456101c95319467929e9d8202a83cde7 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/73562 Reviewed-by: Ewout van Bekkum <ewout@google.com> Commit-Queue: Anthony DiGirolamo <tonymd@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/