Add abstraction layer for SuperTinyKernel RTOS (STK) by dmitrykos · Pull Request #3857 · hathach/tinyusb · GitHub
Skip to content

Add abstraction layer for SuperTinyKernel RTOS (STK) - #3857

Open
dmitrykos wants to merge 1 commit into
hathach:masterfrom
dmitrykos:stk_port
Open

Add abstraction layer for SuperTinyKernel RTOS (STK)#3857
dmitrykos wants to merge 1 commit into
hathach:masterfrom
dmitrykos:stk_port

Conversation

@dmitrykos

Copy link
Copy Markdown

This PR adds abstraction layer for SuperTinyKernel RTOS (STK).

STK is primarily C++ RTOS but it also has dedicated C API. This implementation targets STK's C API by default in order to have osal_stk.h fully inline.

In case developer uses STK C++ API then CFG_TUH_OSAL_STK_USE_CPP macro must be defined to 1 and additional osal_stk.cpp must be added into compilation. osal_stk.cpp currently is not included into this PR but it is possible to get it from TinyUSB's port files from STK repo.

There are working C and C++ examples (STM32F407G-DISC1 board) based on original audio_mic for FreeRTOS example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant