mirror of https://github.com/ARMmbed/mbed-os.git
cmsis: fix iar asm build error with including header
mbed-cli1 does not pass -I to IAR for iarasm (comparing to other toolchains). Because old tools are frozen, we implement this workaround for fixing the build. We use preprocessor macros that are passed to .S files anyway, so we do not loose anything but we do diverge again from CMSIS, for now..pull/15016/head
parent
3377f083b3
commit
77f8a30749
|
@ -27,7 +27,6 @@
|
|||
NAME irq_armv6m.s
|
||||
|
||||
|
||||
#include "rtx_def.h"
|
||||
|
||||
I_T_RUN_OFS EQU 20 ; osRtxInfo.thread.run offset
|
||||
TCB_SP_OFS EQU 56 ; TCB.SP offset
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
NAME irq_armv6m.s
|
||||
|
||||
|
||||
#include "rtx_def.h"
|
||||
|
||||
I_T_RUN_OFS EQU 20 ; osRtxInfo.thread.run offset
|
||||
TCB_SP_OFS EQU 56 ; TCB.SP offset
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
NAME irq_armv8mbl.s
|
||||
|
||||
|
||||
#include "rtx_def.h"
|
||||
|
||||
#ifndef DOMAIN_NS
|
||||
#define DOMAIN_NS 0
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
NAME irq_armv7m.s
|
||||
|
||||
|
||||
#include "rtx_def.h"
|
||||
|
||||
#ifdef __ARMVFP__
|
||||
FPU_USED EQU 1
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
NAME irq_armv8mml.s
|
||||
|
||||
|
||||
#include "rtx_def.h"
|
||||
|
||||
#ifndef DOMAIN_NS
|
||||
#define DOMAIN_NS 0
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
NAME irq_armv7m.s
|
||||
|
||||
|
||||
#include "rtx_def.h"
|
||||
|
||||
|
||||
#ifdef __ARMVFP__
|
||||
FPU_USED EQU 1
|
||||
|
|
Loading…
Reference in New Issue