STM32: Added basic OS abstraction (ChibiOS event), test app for this, minor changes in Makefile