I am trying to use ChibiOs in Keil with C++ Compiler v6.6. Board Nucleo-f446ZE.
Where is some warnings related to $ in the definition and so on. I needed to change assemble file names from *.s to *.S, add __GNUC__.
However, I have problems with adding CPP wrappers especially syscalls_cpp.cpp, because in this code is undeclared variable pid_t ? In the documentation I didn't find any suggestion about wrappers and they usage

The main reason to use it: I am familiar with Keil and needed LibUAVCAN library to connect to ArduPilot.