Fix osal_task_handle_t declared as uintptr_t throws warning. Fix sub-tick delays and timeouts truncating to 0 ticks. Fix stk_*_create usage due to STK C API change. Remove dependence on tusb_config.h. Use non-recursive stk::sync::FastMutex.