Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit 18b912c

Browse files
committed
Merge pull request #216 from cw2/issue-186-cmsis-update
Update CMSIS to 4.3.0
2 parents 23fc98c + 655381c commit 18b912c

File tree

10 files changed

+19
-16
lines changed

10 files changed

+19
-16
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77

88
# CMSIS and CMSIS_RTX
99
/CMSIS/CMSIS/
10-
/CMSIS/CMSIS_RTX/*
1110
/CMSIS/Device/*
1211
/CMSIS/ARM.CMSIS.pdsc
13-
!/CMSIS/CMSIS_RTX/dotNetMF.proj
12+
!/CMSIS/CMSIS/RTOS/RTX/dotNetMF.proj
1413

1514
# Visual Studio
1615
*.aps

CMSIS/CMSIS-SP-00300-r4p2-00rel0.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Description>CMSIS-RTX OS</Description>
99
<Level>HAL</Level>
1010
<LibraryFile>CMSIS_RTX.$(LIB_EXT)</LibraryFile>
11-
<ProjectPath>$(SPOCLIENT)\CMSIS\CMSIS_RTX\dotNetMF.proj</ProjectPath>
11+
<ProjectPath>$(SPOCLIENT)\CMSIS\CMSIS\RTOS\RTX\dotNetMF.proj</ProjectPath>
1212
<ManifestFile>CMSIS_RTX.$(LIB_EXT).manifest</ManifestFile>
1313
<Groups>OS\CMSIS_RTOS</Groups>
1414
<LibraryCategory>
@@ -31,8 +31,8 @@
3131
</PropertyGroup>
3232
<Import Project="$(SPOCLIENT)\tools\targets\Microsoft.SPOT.System.Settings" />
3333
<ItemGroup>
34-
<IncludePaths Include="CMSIS\CMSIS_RTX\INC" />
35-
<IncludePaths Include="CMSIS\CMSIS_RTX\SRC" />
34+
<IncludePaths Include="CMSIS\CMSIS\RTOS\RTX\INC" />
35+
<IncludePaths Include="CMSIS\CMSIS\RTOS\RTX\SRC" />
3636
<IncludePaths Include="CMSIS\CMSIS\Include" />
3737
<IncludePaths Include="CMSIS\CMSIS\Driver\Include" />
3838
</ItemGroup>

CMSIS/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
This folder is a placeholder for the CMSIS source code installation. CMSIS is available from ARM on
33
the [ARM web site](http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php)
44

5-
CMSIS comes as a ZIP file, **_the version this code base is validated and tested with is v4.2 (CMSIS-SP-00300-r4p2-00rel0.zip)_**
5+
CMSIS comes as a ZIP file, **_the version this code base is validated and tested with is v4.3 (CMSIS-SP-00300-r4p3-00rel0.zip)_**
66
Extract the contents of the zip file into the same directory as this readme.md file. The build system will look for the
77
CMSIS support files here.

DeviceCode/Targets/OS/CMSIS_RTOS/CMSIS_RTOS.settings

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
<TARGETCODEBASE>CMSIS_RTOS</TARGETCODEBASE>
1616
<TARGETCODEBASETYPE>OS</TARGETCODEBASETYPE>
1717
<IsSolutionWizardVisible>false</IsSolutionWizardVisible>
18+
<CMSIS_RequiredVersion>4.3.0</CMSIS_RequiredVersion>
1819
</PropertyGroup>
1920
<ItemGroup>
2021
<CC_CPP_Defines Include="__CMSIS_RTOS" />
21-
<CC_CPP_Defines Include="PLATFORM_ARM_OS_PORT" />
22+
<CC_CPP_Defines Include="PLATFORM_ARM_OS_PORT" />
2223
</ItemGroup>
2324
<ItemGroup>
2425
<IncludePaths Include="CMSIS\CMSIS\Include" />
25-
<IncludePaths Include="CMSIS\CMSIS_RTX" />
26-
<IncludePaths Include="CMSIS\CMSIS_RTX\INC" />
26+
<IncludePaths Include="CMSIS\CMSIS\RTOS\RTX\INC" />
2727
</ItemGroup>
2828
<ItemGroup Condition="'$(TCP_IP_STACK)'=='LWIP_1_4_1_OS'">
2929
<IncludePaths Include="DeviceCode\Targets\OS\CMSIS_RTOS\DeviceCode\lwip_1_4_1_os"/>
@@ -33,5 +33,15 @@
3333
Condition="!EXISTS('$(SPOCLIENT)\CMSIS\ARM.CMSIS.pdsc')"
3434
Text="Missing CMSIS installation at: $(SPOCLIENT)\CMSIS\*"
3535
/>
36+
<!-- Check CMSIS version -->
37+
<XmlPeek XmlInputPath="$(SPOCLIENT)\CMSIS\ARM.CMSIS.pdsc"
38+
Query="/package/releases/release[1]/@version"
39+
>
40+
<Output TaskParameter="Result" PropertyName="CMSIS_CurrentVersion" />
41+
</XmlPeek>
42+
<Error Code="NETMFBLD"
43+
Condition="'$(CMSIS_RequiredVersion)'!='$(CMSIS_CurrentVersion)'"
44+
Text="Required CMSIS version $(CMSIS_RequiredVersion) (detected $(CMSIS_CurrentVersion))"
45+
/>
3646
</Target>
3747
</Project>

Solutions/MCBSTM32F400/DeviceCode/Initialization/dotNetMF.proj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
<Compile Include="tinyhal.cpp" />
5757
<Compile Include="SystemState.cpp" />
5858
<IncludePaths Include="DeviceCode\Targets\Native\STM32F4\DeviceCode" />
59-
<IncludePaths Include="DeviceCode\Cores\arm\CMSIS\Include" />
6059
</ItemGroup>
6160
<Import Project="$(SPOCLIENT)\tools\targets\Microsoft.SPOT.System.Targets" />
6261
</Project>

Solutions/MCBSTM32F400/DeviceCode/Initialization/dotNetMF_loader.proj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
<Compile Include="tinyhal.cpp" />
5959
<Compile Include="SystemState.cpp" />
6060
<IncludePaths Include="DeviceCode\Targets\Native\STM32F4\DeviceCode" />
61-
<IncludePaths Include="DeviceCode\Cores\arm\CMSIS\Include" />
6261
</ItemGroup>
6362
<Import Project="$(SPOCLIENT)\tools\targets\Microsoft.SPOT.System.Targets" />
6463
</Project>

Solutions/MCBSTM32F400/TinyCLR/TinyCLR.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
<RequiredProjects Include="$(SPOCLIENT)\CLR\libraries\spot_net\dotNetMF.proj" />
427427
</ItemGroup>
428428
<ItemGroup>
429-
<RequiredProjects Include="$(SPOCLIENT)\CMSIS\CMSIS_RTX\dotnetmf.proj" />
429+
<RequiredProjects Include="$(SPOCLIENT)\CMSIS\CMSIS\RTOS\RTX\dotnetmf.proj" />
430430
<DriverLibs Include="CMSIS_RTX.$(LIB_EXT)" />
431431
</ItemGroup>
432432
<ItemGroup>

Solutions/STM32F4DISCOVERY/DeviceCode/Initialization/dotNetMF.proj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
<Compile Include="tinyhal.cpp" />
5757
<Compile Include="SystemState.cpp" />
5858
<IncludePaths Include="DeviceCode\Targets\Native\STM32F4\DeviceCode" />
59-
<IncludePaths Include="DeviceCode\Cores\arm\CMSIS\Include" />
6059
</ItemGroup>
6160
<Import Project="$(SPOCLIENT)\tools\targets\Microsoft.SPOT.System.Targets" />
6261
</Project>

Solutions/STM32F4DISCOVERY/DeviceCode/Initialization/dotNetMF_loader.proj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
<Compile Include="tinyhal.cpp" />
5959
<Compile Include="SystemState.cpp" />
6060
<IncludePaths Include="DeviceCode\Targets\Native\STM32F4\DeviceCode" />
61-
<IncludePaths Include="DeviceCode\Cores\arm\CMSIS\Include" />
6261
</ItemGroup>
6362
<Import Project="$(SPOCLIENT)\tools\targets\Microsoft.SPOT.System.Targets" />
6463
</Project>

0 commit comments

Comments
 (0)