You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NOTES.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@ This file is linked to from the EWARM 10.10 release notes regarding "Missing CMS
3
3
This should be taken into account when changing the file.
4
4
END OF NOTE -->
5
5
6
-
##Important Notes
6
+
# Important Notes
7
7
8
-
###Missing CMSIS headers
8
+
## Missing CMSIS headers
9
9
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.
10
10
11
11
Some of the example projects use legacy versions of CMSIS. When building a project requiring them, you might face a fatal error such as:
12
12
13
13
>Fatal Error[Pe1696]: cannot open source file “core_cm3.h”
14
-
## Solution 1
14
+
###Solution 1
15
15
For the latest CMSIS, update the project settings to match your environment.
16
16
17
17
Clone `CMSIS_6`:
@@ -24,7 +24,7 @@ Go to **Project Options > C/C++ Compiler > Preprocessor > Additional Include Dir
24
24
```
25
25
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).
26
26
27
-
## Solution 2
27
+
###Solution 2
28
28
Use CMSIS 5 for a seamless experience so that no code migration should be necessary.
29
29
30
30
Clone `CMSIS_5`:
@@ -36,12 +36,12 @@ Go to **Project Options > C/C++ Compiler > Preprocessor > Additional Include Dir
36
36
<path/to/CMSIS_5>/CMSIS/Core/Include
37
37
```
38
38
39
-
###File names on Linux
39
+
## File names on Linux
40
40
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**.
41
41
42
42
Linux treats file names like `MyFavoriteMCU.icf`, `MYFAVORITEMCU.ICF`, and `myfavoritemcu.icf` as completely different files, whereas Windows sees them as the same. This can lead to broken file references, missing assets, or building errors if the exact case doesn't match.
43
43
44
44
Adjusting the affected file names to comply with such requirements should fix these issues.
45
45
46
-
###Path names on Linux
46
+
## Path names on Linux
47
47
Many legacy projects were developed primarily on Windows, where the path separators can be either backward-slash `\` or forward-slash `/`. Backward-slashes however are not portable across Linux file systems. When building projects on Linux, you might find hardcoded backward-slashes in some path names. Any path names using backward-slashes as separators are going to need to be selectively updated to use forward-slashes wherever required, e.g., on hard-coded include paths.
0 commit comments