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
correct mismatch of sample output for freertos_blinky and xymem
add multicore example README.rst
correct license to copyright 2021
Signed-off-by: Yuguo Zou <yuguo.zou@synopsys.com>
Copy file name to clipboardExpand all lines: example/baremetal/arc_feature/multicore/README.rst
+77Lines changed: 77 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,89 @@ ARC SMP Example
6
6
Overview
7
7
********
8
8
9
+
This example shows a paradigm of multi-core programming in |embarc|.
10
+
9
11
Detailed Description
10
12
====================
11
13
14
+
* Extra Required Tools
15
+
NO
16
+
17
+
* Extra Required Peripherals
18
+
NO
19
+
20
+
* Design Concept
21
+
This example is designed to show the basics of |arc| multi-core features, including spinlock, inter-core interrupts (ici). This example works on nsim and hsdk.
22
+
23
+
.. note::
24
+
In makefile we provide extra command work for multi-core secnarios. Please use mp_run or mp_gui for running or debugging the example.
25
+
12
26
Buidling and Running
13
27
********************
28
+
This example outputs to the console. It is supported by all platform. The commands
29
+
to run this example are as follows:
30
+
31
+
.. code-block:: console
32
+
33
+
$ cd <embarc_root>/example/baremetal/arc_feature/multicore
Copy file name to clipboardExpand all lines: example/freertos/freertos_blinky/README.rst
+15-22Lines changed: 15 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
.. _example_freertos_demo:
1
+
.. _example_freertos_blinky:
2
2
3
3
FreeRTOS Demo
4
4
#############
@@ -38,27 +38,16 @@ to run this example are as follows:
38
38
39
39
.. code-block:: console
40
40
41
-
$ cd <embarc_root>/example/freertos_demo
42
-
$ make BOARD=emsk BD_VER=11 CUR_CORE=arcem6 TOOLCHAIN=gnu run
41
+
$ cd <embarc_root>/example/freertos/freertos_blinky
42
+
$ make BOARD=emsk run
43
43
44
44
If you do not have an EMSK development board, you can use the nSIM simulator
45
45
which have been installed in MetaWare IDE.
46
46
47
47
.. code-block:: console
48
48
49
-
$ cd <embarc_root>/example/freertos_demo
50
-
$ gmake BOARD=nsim BD_VER=1506 CUR_CORE=arcemfull TOOLCHAIN=mw run
51
-
52
-
.. note:: Make sure you have selected the correct configuration of EMSK via dipswitches and that you have reset the board (button above “R”) to confirme its configuration
53
-
54
-
If you wish to run ARC v1 series cores on nSIM simulator
55
-
which have been installed in MetaWare IDE.
56
-
Core here is specified to arc610d, other choices are arc605, arc710d
57
-
58
-
.. code-block:: console
59
-
60
-
$ cd <embarc_root>/example/freertos_demo
61
-
$ gmake BOARD=nsim CUR_CORE=arc610d TOOLCHAIN=mw_mcc run
49
+
$ cd <embarc_root>/example/freertos/freertos_blinky
50
+
$ gmake BOARD=nsim run
62
51
63
52
Sample Output
64
53
=============
@@ -69,9 +58,11 @@ download is successful.
69
58
70
59
.. code-block:: console
71
60
72
-
C:\embarc_bsp\example\freertos_demo> gmake BOARD=nsim CUR_CORE=arc610d TOOLCHAIN=mw_mcc run
73
-
"Download & Run obj_nsim_10/mw_mcc_arc610d/freertos_demo_mw_mcc_arc610d.elf"
0 commit comments