stm32_lock.h used in CPP critical section - Won't build without change
I have created a CPP critical section class using stm32_lock_acquire and stm32_lock_release. The main issue is in stm32_lock.h the file #include <cmsis_compiler.h>. The stock version of this file, included with CubeMx won't work if included in a c...