Skip to content

Commit 9b0fb62

Browse files
authored
Revise CMSIS instructions and symbolic link guidance
Updated instructions for using CMSIS 5 and provided git clone commands for Linux and Windows.
1 parent 7f5daed commit 9b0fb62

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

NOTES.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,16 @@ Go to **Project Options > C/C++ Compiler > Preprocessor > Additional Include Dir
2525
Note that some registers changed from `CMSIS_5` to `CMSIS_6`, so that migrating code might be required in some cases. In such cases, consider [Solution 2](#solution-2).
2626

2727
## Solution 2
28-
For a seamless experience, create a symbolic link for supplying the `CMSIS/` folder so that no project modification is required.
28+
Use CMSIS 5 for a seamless experience so that no code migration should be necessary.
2929

30-
Use `git` for fetching the required CMSIS headers:
31-
* Linux (as root):
30+
Clone `CMSIS_5`:
3231
```
33-
cd /opt/iar/
34-
git clone https://github.com/arm-software/cmsis_5
35-
cd ewarm/arm
36-
ln -s ../../cmsis_5/CMSIS
32+
git clone https://github.com/ARM-software/CMSIS_5.git
3733
```
38-
* Windows (Administrative Command Prompt):
34+
Go to **Project Options > C/C++ Compiler > Preprocessor > Additional Include Directories** then add:
3935
```
40-
cd /iar/
41-
git clone https://github.com/arm-software/cmsis_5
42-
cd ewarm-10.xx.x/arm
43-
mklink /D ..\..\cmsis_5\CMSIS
36+
<path/to/CMSIS_5>/CMSIS/Core/Include
4437
```
45-
Replace `ewarm-10.xx.x` by its actual version. The same `cmsis_5` folder can be utilized by more than one Embedded Workbench instance.
4638

4739
### File names on Linux
4840
Many legacy projects were developed primarily on Windows, where file systems are case-insensitive. As a result, **you may encounter case-sensitivity issues when building these projects on Linux**.

0 commit comments

Comments
 (0)