CMSIS/RTX: Patch RTX includes to match mbed OS scheme

pull/5342/head
Bartek Szatkowski 2017-07-04 15:01:10 +01:00
parent d5933f198c
commit 5d6abd6572
9 changed files with 12 additions and 19 deletions

View File

@ -24,8 +24,7 @@
#include <stddef.h>
#include "RTE_Components.h"
#include CMSIS_device_header
#include <cmsis.h>
#include "irq_ctrl.h"

View File

@ -27,7 +27,9 @@
#ifndef RTX_CONFIG_H_
#define RTX_CONFIG_H_
#include "mbed_rtx_conf.h"
//-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
// <h>System Configuration

View File

@ -22,9 +22,8 @@
*
* -----------------------------------------------------------------------------
*/
#include "RTE_Components.h"
#include CMSIS_device_header
#include <cmsis.h>
//Fault Status Register (IFSR/DFSR) definitions
#define FSR_ALIGNMENT_FAULT 0x01 //DFSR only. Fault on first lookup

View File

@ -26,8 +26,7 @@
#ifndef RTX_CORE_C_H_
#define RTX_CORE_C_H_
#include "RTE_Components.h"
#include CMSIS_device_header
#include <cmsis.h>
#ifndef __ARM_ARCH_6M__
#define __ARM_ARCH_6M__ 0U

View File

@ -26,8 +26,7 @@
#ifndef RTX_CORE_CA_H_
#define RTX_CORE_CA_H_
#include "RTE_Components.h"
#include CMSIS_device_header
#include <cmsis.h>
#define __DOMAIN_NS 0U
#define __EXCLUSIVE_ACCESS 1U

View File

@ -26,8 +26,7 @@
#ifndef RTX_CORE_CM_H_
#define RTX_CORE_CM_H_
#include "RTE_Components.h"
#include CMSIS_device_header
#include <cmsis.h>
#ifdef RTE_CMSIS_RTOS2_RTX5_ARMV8M_NS
#define __DOMAIN_NS 1U

View File

@ -27,8 +27,6 @@
#include "cmsis_compiler.h"
#include "rtx_evr.h" // RTX Event Recorder definitions
#include "RTE_Components.h"
#ifdef RTE_Compiler_EventRecorder
#include "EventRecorder.h" // Keil::Compiler:Event Recorder

View File

@ -24,8 +24,7 @@
#include "os_tick.h"
#include "RTE_Components.h"
#include CMSIS_device_header
#include <cmsis.h>
#ifdef SysTick

View File

@ -22,13 +22,12 @@
* limitations under the License.
*/
#if defined(PTIM)
#include "os_tick.h"
#include "irq_ctrl.h"
#include "RTE_Components.h"
#include CMSIS_device_header
#if defined(PTIM)
#include <cmsis.h>
#ifndef PTIM_IRQ_PRIORITY
#define PTIM_IRQ_PRIORITY 0xFFU