Skip to content

Commit 1dca3f7

Browse files
authored
Merge pull request #15 from TTornblom/develop
IAR: Add support for IAR
2 parents dd7793a + 193c226 commit 1dca3f7

1 file changed

Lines changed: 68 additions & 1 deletion

File tree

ARM.CMSIS-FreeRTOS.pdsc

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,61 @@
276276
<require condition="GCC"/>
277277
</condition>
278278

279+
<!-- IAR compiler -->
280+
<condition id="CM0_IAR">
281+
<description>Cortex-M0 or Cortex-M0+ or SC000 processor based device for the IAR Compiler</description>
282+
<require condition="CM0"/>
283+
<require condition="IAR"/>
284+
</condition>
285+
286+
<condition id="CM3_IAR">
287+
<description>Cortex-M3 or SC300 processor based device for the IAR Compiler</description>
288+
<require condition="CM3"/>
289+
<require condition="IAR"/>
290+
</condition>
291+
292+
<condition id="CM4_IAR">
293+
<description>Cortex-M4 processor based device for the IAR Compiler</description>
294+
<require condition="CM4"/>
295+
<require condition="IAR"/>
296+
</condition>
297+
298+
<condition id="CM4_FP_IAR">
299+
<description>Cortex-M4 processor based device using Floating Point Unit for the IAR Compiler</description>
300+
<require condition="CM4_FP"/>
301+
<require condition="IAR"/>
302+
</condition>
303+
304+
<condition id="CM7_IAR">
305+
<description>Cortex-M7 processor based device for the IAR Compiler</description>
306+
<require condition="CM7"/>
307+
<require condition="IAR"/>
308+
</condition>
309+
310+
<condition id="CM7_SP_IAR">
311+
<description>Cortex-M7 processor based device using Floating Point Unit (SP) for the IAR Compiler</description>
312+
<require condition="CM7_SP"/>
313+
<require condition="IAR"/>
314+
</condition>
315+
316+
<condition id="CM7_DP_IAR">
317+
<description>Cortex-M7 processor based device using Floating Point Unit (DP) for the IAR Compiler</description>
318+
<require condition="CM7_DP"/>
319+
<require condition="IAR"/>
320+
</condition>
321+
322+
<condition id="CA9_DP_IAR">
323+
<description>Cortex-A9 processor based device for the IAR Compiler</description>
324+
<require condition="CA9_DP"/>
325+
<require condition="IAR"/>
326+
</condition>
327+
279328
<condition id="CMSIS RTOS2 FreeRTOS">
280329
<require Cclass="CMSIS" Cgroup="RTOS2" Csub="FreeRTOS"/>
281330
</condition>
282331

283332
<condition id="FreeRTOS">
284-
<require condition="ARMCC GCC"/>
333+
<require condition="ARMCC GCC IAR"/>
285334
<require Cclass="Device" Cgroup="Startup"/>
286335
<require Cclass="RTOS" Cbundle="FreeRTOS" Cgroup="Config"/>
287336
<require Cclass="RTOS" Cbundle="FreeRTOS" Cgroup="Heap"/>
@@ -440,6 +489,24 @@
440489
<file category="source" condition="CA9_DP_GCC" name="Source/portable/GCC/ARM_CA9/port.c"/>
441490
<file category="sourceAsm" condition="CA9_DP_GCC" name="Source/portable/GCC/ARM_CA9/portASM.S"/>
442491

492+
<file category="include" condition="CM0_IAR" name="Source/portable/IAR/ARM_CM0/"/>
493+
<file category="source" condition="CM0_IAR" name="Source/portable/IAR/ARM_CM0/port.c"/>
494+
<file category="include" condition="CM3_IAR" name="Source/portable/IAR/ARM_CM3/"/>
495+
<file category="source" condition="CM3_IAR" name="Source/portable/IAR/ARM_CM3/port.c"/>
496+
<file category="include" condition="CM4_IAR" name="Source/portable/IAR/ARM_CM3/"/>
497+
<file category="source" condition="CM4_IAR" name="Source/portable/IAR/ARM_CM3/port.c"/>
498+
<file category="include" condition="CM4_FP_IAR" name="Source/portable/IAR/ARM_CM4F/"/>
499+
<file category="source" condition="CM4_FP_IAR" name="Source/portable/IAR/ARM_CM4F/port.c"/>
500+
<file category="include" condition="CM7_IAR" name="Source/portable/IAR/ARM_CM3/"/>
501+
<file category="source" condition="CM7_IAR" name="Source/portable/IAR/ARM_CM3/port.c"/>
502+
<file category="include" condition="CM7_DP_IAR" name="Source/portable/IAR/ARM_CM7/r0p1/"/>
503+
<file category="source" condition="CM7_DP_IAR" name="Source/portable/IAR/ARM_CM7/r0p1/port.c"/>
504+
<file category="include" condition="CM7_SP_IAR" name="Source/portable/IAR/ARM_CM7/r0p1/"/>
505+
<file category="source" condition="CM7_SP_IAR" name="Source/portable/IAR/ARM_CM7/r0p1/port.c"/>
506+
<file category="include" condition="CA9_DP_IAR" name="Source/portable/IAR/ARM_CA9/"/>
507+
<file category="source" condition="CA9_DP_IAR" name="Source/portable/IAR/ARM_CA9/port.c"/>
508+
<file category="sourceAsm" condition="CA9_DP_IAR" name="Source/portable/IAR/ARM_CA9/portASM.s"/>
509+
443510
<file category="header" name="CMSIS/RTOS2/FreeRTOS/Include/freertos_evr.h"/>
444511
<file category="source" name="CMSIS/RTOS2/FreeRTOS/Source/freertos_evr.c"/>
445512
<file category="other" name="CMSIS/RTOS2/FreeRTOS/FreeRTOS.scvd"/>

0 commit comments

Comments
 (0)