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
Martin Kojtal 2021-08-20 12:17:25 +01:00
parent 3377f083b3
commit 77f8a30749
6 changed files with 1 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -27,7 +27,6 @@
NAME irq_armv8mbl.s
#include "rtx_def.h"
#ifndef DOMAIN_NS
#define DOMAIN_NS 0

View File

@ -27,7 +27,6 @@
NAME irq_armv7m.s
#include "rtx_def.h"
#ifdef __ARMVFP__
FPU_USED EQU 1

View File

@ -27,7 +27,6 @@
NAME irq_armv8mml.s
#include "rtx_def.h"
#ifndef DOMAIN_NS
#define DOMAIN_NS 0

View File

@ -27,7 +27,7 @@
NAME irq_armv7m.s
#include "rtx_def.h"
#ifdef __ARMVFP__
FPU_USED EQU 1