STM32F103 USB + FreeRTOS question

And use the FromISR API in ISRs like xSemaphoreGiveFromISR or as mentioned FreeRTOS notifications, which are a bit faster/more lean.