2
2
3
3
This folder includes the port of mbed OS on the example system of the Cortex-M3
4
4
Design Start Eval package. This example is implemented in FPGA on the MPS2+
5
- board. Please check the [ mbed page] ( https://os.mbed.com/platforms/ARM-CM3DS/ ) of
5
+ board. Please check the [ Mbed page] ( https://os.mbed.com/platforms/ARM-CM3DS/ ) of
6
6
this target for more information.
7
7
For convenience, this target is called ** CM3DS** .
8
8
9
- ## Compiling : construction_worker :
9
+ ## Compiling
10
10
11
- The target name is ` ARM_CM3DS_MPS2 ` , you should be able to compile mbed OS
11
+ The target name is ` ARM_CM3DS_MPS2 ` , you should be able to compile Mbed OS
12
12
projects for CM3DS with:
13
13
14
14
``` bash
@@ -17,28 +17,28 @@ mbed compile -t COMPILER -m ARM_CM3DS_MPS2
17
17
18
18
The following compilers are supported (replace ` COMPILER ` with):
19
19
20
- * ` ARM ` for Arm Compiler version 5
21
- * ` GCC_ARM ` for GNU Compiler for Arm
22
- * ` IAR ` for IAR compiler
20
+ * ` ARM ` for Arm Compiler version 5.
21
+ * ` GCC_ARM ` for GNU Compiler for Arm.
22
+ * ` IAR ` for IAR compiler.
23
23
24
- ## Running : running :
24
+ ## Running
25
25
26
26
Because of the new memory configuration introduced in commit `CM3DS: switch to
27
- larger memories for code and data` it
28
- has become more easy (and portable amoung all compilers) to use ` .elf ` files
27
+ larger memories for code and data`, it
28
+ has become easier (and portable amoung all compilers) to use ` .elf ` files
29
29
instead of ` .bin ` . ` .elf ` files are now the default for CM3DS projects and only
30
- they will be generated out of the compilation.
31
- For ` .elf ` files to work, you will need ** at least version 2.2.5** of the MPS2+
32
- firmware. You can find firmware version 2.2.6 and instructions on how to put it
33
- in the MPS2+ board [ here ] ( https://community.arm.com/processors/designstart/f/discussions/9727/mps2-firmware-for-mbed ) .
30
+ they will be generated from the compilation.
31
+ For ` .elf ` files to work, you need ** at least version 2.2.5** of the MPS2+
32
+ firmware. For more information, please see the [ firmware version 2.2.6 and instructions on how to put it
33
+ in the MPS2+ board] ( https://community.arm.com/processors/designstart/f/discussions/9727/mps2-firmware-for-mbed ) .
34
34
35
- ## Testing : zap :
35
+ ## Testing
36
36
37
- If you want to execute the mbed OS greentea tests on CM3DS, you will need
37
+ If you want to execute the Mbed OS greentea tests on CM3DS, you need
38
38
** at least firmware version 2.2.6** .
39
39
40
40
* ` mbedls ` does not automatically recognize which serial port is linked to the
41
- board. Check it manually and create a file named ` mbedls.json ` containing
41
+ board. Check it manually, and create a file named ` mbedls.json ` containing
42
42
(at the same level than where you execute all commands):
43
43
``` bash
44
44
{
@@ -50,12 +50,12 @@ board. Check it manually and create a file named `mbedls.json` containing
50
50
Replace ` /dev/ttyUSB0 ` with your correct serial port
51
51
(something like ` COM6 ` on Windows).
52
52
53
- * ` mbedls ` does not link CM3DS target ID with its name so execute the command:
53
+ * ` mbedls ` does not link CM3DS target ID with its name, so execute the command:
54
54
``` bash
55
55
mbedls --mock 5004:ARM_CM3DS_MPS2
56
56
```
57
57
58
- * You can now compile and run the tests : +1 : :
58
+ * You can now compile and run the tests
59
59
``` bash
60
60
mbed test -m ARM_CM3DS_MPS2 -t COMPILER
61
61
```
0 commit comments