4 ms·
C++ coroutines, being a feature of C++17/C++20, are not present in most if not all micro-controller toolchains, so I'm not sure if it would be relevant for the
by creatornator 7y ago
C++ coroutines, being a feature of C++17/C++20, are not present in most if not all micro-controller toolchains, so I'm not sure if it would be relevant for the parent
- jupp0r 7y agoWhat processors are you referring to? Everything ARM is well supported by LLVM/Clang which implements the coroutines TS.
- creatornator 7y agoAVR and PIC? Maybe things have improved since the last time I've explored compilers alternative to those supplied by manufacturers. But from what I understand avr-gcc is the standard for avr, and PIC is just targeted by the manufacturer's compilers.
- jupp0r 7y agoAVR support is pretty bad in LLVM, PIC32 is MIPS, which is well supported afaik. ARM market share is around 50% in embedded microcontrollers afaik [1], so it's definitely possible to use in embedded projects, but might be impossible for your specific platform. [1] https://www.electronicsweekly.com/news/business/arm-market-share-slipping-2018-05/ https://www.electronicsweekly.com/news/business/arm-market-s...