I'm coding for a STM32G473MEY in mixed C and C++14. For maintainability the more I can do in C++, the better. Specifically, I want to use the bitfield<32> type in the C++ STL with enums to set my M4 registers.
I'm using the ARM-specific micro-controller compiler, not generic gcc.