Hack to get RTOS working for M0P. Better fix required