Skip to content

Commit 45e45a1

Browse files
committed
Add important notes about CMSIS
1 parent e260999 commit 45e45a1

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

NOTES.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Important Notes
2+
3+
### Updated CMSIS headers
4+
CMSIS, or Cortex Microcontroller Software Interface Standard, consists of a vendor-independent hardware abstraction layer for Arm Cortex processors which provides consistent device support. Developed by Arm, it provides simple software interfaces to the processor and the peripherals, simplifying software re-use, reducing the learning curve for developers, and reducing the time to market for new devices.
5+
6+
Some of the example projects use legacy versions of CMSIS. If when building a project requiring them, you might face a fatal error such as:
7+
8+
>Fatal Error[Pe1696]: cannot open source file “core_cm3.h”
9+
10+
The recommended solution is to use `git` for fetching the required CMSIS headers:
11+
* Linux (as root):
12+
```
13+
cd /opt/iar/
14+
git clone https://github.com/arm-software/cmsis_5
15+
cd ewarm/arm
16+
ln -s ../../cmsis_5/CMSIS
17+
```
18+
* Windows (Administrative Command Prompt):
19+
```
20+
cd /iar/
21+
git clone https://github.com/arm-software/cmsis_5
22+
mklink -d ewarm-10.xx.x ewarm
23+
cd ewarm/arm
24+
mklink -d ../../cmsis_5/CMSIS
25+
```

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
This repository offers a compendium of links to device vendor repositories with example projects.
44

5+
>[!IMPORTANT]
6+
>See [important notes](NOTES.md)
7+
58
## Quick Navigation
69
- [Arm example projects](#for-arm)
710
- [RISC-V example projects](#for-risc-v)

0 commit comments

Comments
 (0)