mbed-os/rtos/TARGET_CORTEX/rtx5
Kevin Bracey 0adc7dc927 RTX5: Make rtx_core_ca.h cope with compiler in Thumb mode
Assembler in rtx_core_ca.h is on the whole unified syntax such that it
should work fine if assembled as either ARM or Thumb-2.

The exception was __get_PSP, which uses STM^, which is only available
in ARM state.

Flagging for this function was incorrect, except for IAR - it switched
assembler state without telling the compiler, meaning that the resulting
assembler output could be incorrect, and that the function itself would
not be correctly marked as an ARM function - the CPU would enter in
Thumb state.

Alternative fix would be to switch to System mode, which would work
as either ARM or Thumb-2 assembler, like the rest of the file, but
this is the minimal change.

Fixes #526.
2019-02-28 11:55:20 -06:00
..
Include [CMSIS_5]: Updated to 0b521765 2018-08-25 20:41:00 -05:00
RTX RTX5: Make rtx_core_ca.h cope with compiler in Thumb mode 2019-02-28 11:55:20 -06:00
Source CMSIS/RTX: Remove the file os_tick_gtim.c 2018-08-25 20:41:11 -05:00