Move Cortex specific RTX behind TARGET_CORTEX
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:

rtos/rtx5/<mbed-os specific RTX files>
rtos/rtx5/TARGET_CORTEX_M/*
rtos/rtx4/*
rtos/<mbed-os specific RTX files>

Is re-arranged to:

rtos/TARGET_CORTEX/rtx5/*
rtos/TARGET_CORTEX/rtx4/*
rtos/TARGET_CORTEX/<mbed-os specific rtx files>

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. This cannot be done because there is not an easy way
to turn this feature on, since it cannot be done from mbed_lib.json.
ls
1 parent 4978a08 commit ac22225ad9144718078fcb8c2fe7e65a04246151
@Russ Butler Russ Butler authored on 31 Aug 2017
Showing 87 changed files
View
doxyfile_options
View
doxygen_options.json
View
rtos/TARGET_CORTEX/mbed_boot.c 0 → 100644
View
rtos/TARGET_CORTEX/mbed_rtos1_types.h 0 → 100644
View
rtos/TARGET_CORTEX/mbed_rtos_storage.h 0 → 100644
View
rtos/TARGET_CORTEX/mbed_rtx_conf.h 0 → 100644
View
rtos/TARGET_CORTEX/mbed_rtx_handlers.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx4/cmsis_os.h 0 → 100644
View
rtos/TARGET_CORTEX/rtx4/cmsis_os1.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/RTX_Config.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/RTX_Config.h 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_M0/TOOLCHAIN_ARM/irq_cm0.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_M0/TOOLCHAIN_GCC/irq_cm0.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_M0/TOOLCHAIN_IAR/irq_cm0.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_M0P/TOOLCHAIN_ARM/irq_cm0.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_M0P/TOOLCHAIN_GCC/irq_cm0.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_M0P/TOOLCHAIN_IAR/irq_cm0.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_M3/TOOLCHAIN_ARM/irq_cm3.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_M3/TOOLCHAIN_GCC/irq_cm3.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_M3/TOOLCHAIN_IAR/irq_cm3.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_RTOS_M4_M7/TOOLCHAIN_ARM/irq_cm4f.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_RTOS_M4_M7/TOOLCHAIN_GCC/irq_cm4f.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TARGET_RTOS_M4_M7/TOOLCHAIN_IAR/irq_cm4f.S 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/TESTS/memory/heap_and_stack/main.cpp 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/cmsis_os2.h 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/core_cm.h 0 → 100644
Too large (Show diff)
View
rtos/TARGET_CORTEX/rtx5/rt_OsEventObserver.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rt_OsEventObserver.h 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_delay.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_evflags.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_evr.c 0 → 100644
Too large (Show diff)
View
rtos/TARGET_CORTEX/rtx5/rtx_evr.h 0 → 100644
Too large (Show diff)
View
rtos/TARGET_CORTEX/rtx5/rtx_kernel.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_lib.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_lib.h 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_memory.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_mempool.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_msgqueue.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_mutex.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_os.h 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_semaphore.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_system.c 0 → 100644
View
rtos/TARGET_CORTEX/rtx5/rtx_thread.c 0 → 100644
Too large (Show diff)
View
rtos/TARGET_CORTEX/rtx5/rtx_timer.c 0 → 100644
View
rtos/mbed_boot.c 100644 → 0
View
rtos/mbed_rtos1_types.h 100644 → 0
View
rtos/mbed_rtos_storage.h 100644 → 0
View
rtos/rtx4/cmsis_os.h 100644 → 0
View
rtos/rtx4/cmsis_os1.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/RTX_Config.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/RTX_Config.h 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_M0/TOOLCHAIN_ARM/irq_cm0.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_M0/TOOLCHAIN_GCC/irq_cm0.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_M0/TOOLCHAIN_IAR/irq_cm0.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_M0P/TOOLCHAIN_ARM/irq_cm0.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_M0P/TOOLCHAIN_GCC/irq_cm0.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_M0P/TOOLCHAIN_IAR/irq_cm0.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_M3/TOOLCHAIN_ARM/irq_cm3.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_M3/TOOLCHAIN_GCC/irq_cm3.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_M3/TOOLCHAIN_IAR/irq_cm3.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_ARM/irq_cm4f.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_GCC/irq_cm4f.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_IAR/irq_cm4f.S 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/TESTS/memory/heap_and_stack/main.cpp 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/cmsis_os2.h 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/core_cm.h 100644 → 0
Too large (Show diff)
View
rtos/rtx5/TARGET_CORTEX_M/rt_OsEventObserver.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rt_OsEventObserver.h 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_delay.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_evflags.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_evr.c 100644 → 0
Too large (Show diff)
View
rtos/rtx5/TARGET_CORTEX_M/rtx_evr.h 100644 → 0
Too large (Show diff)
View
rtos/rtx5/TARGET_CORTEX_M/rtx_kernel.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_lib.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_lib.h 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_memory.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_mempool.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_msgqueue.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_mutex.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_os.h 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_semaphore.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_system.c 100644 → 0
View
rtos/rtx5/TARGET_CORTEX_M/rtx_thread.c 100644 → 0
Too large (Show diff)
View
rtos/rtx5/TARGET_CORTEX_M/rtx_timer.c 100644 → 0
View
rtos/rtx5/mbed_rtx_conf.h 100644 → 0
View
rtos/rtx5/mbed_rtx_handlers.c 100644 → 0
View
tools/targets/__init__.py