Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Move Cortex specific RTX behind TARGET_CORTEX #5003
Update directory structure to include RTX for only cortex targets, and for all cortex targets. This patch accomplishes this by moving mbed-os specific RTX files and RTX itself into rtos/TARGET_CORTEX along with removing TARGET_CORTEX_M from the RTX5 directory.
The old directory structure:
Is re-arranged to:
This both encapsulates RTX code more cleanly and makes it easier to experiment with non-cortex cmsis-os2 backends, such as a posix based cmsis-os2 backend.
Note - A potentially better name for the CORTEX_M directory would be something like FEATURE_RTX5 since this directory only contains RTX5 related files.