C++(2x) coroutines

I’m working on ESP32(S3) programming using FreeRTOS.

By now ESP-IDF 5.2 (beta) is configured to use gcc 13.2.0, which implements a good bit of C++20 and C++23.

I wonder whether anyone had a go in using the new concurrency features on FreeRTOS. It is my belief that async algorithms using C++ coroutines can lead to quite nice code when it comes to interfacing with hardware and/or networking.

I’m not aware of any existing implementations of C++20/23 async features on FreeRTOS. I would definitely be interested to see what such an implementation looks like though.