add RTOS support for Nucleo STM32F302R8