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
In this example, the user **must** upload `<Arduino build output path>/run_arduino.sh` file manually. Uploading instruction is described later in the [Uploading](#Uploading) section.
28
+
In this example, the user **must** upload `<Arduino build output path>/run_arduino_<sketch name>.sh` file manually. Uploading instruction is described later in the [Uploading](#Uploading) section.
29
29
30
-
After uploading the user can use `sh run_arduino.sh start` in the console of host Linux via either SSH or Serial Console, to run the Arduino firmware.
30
+
After uploading the user can use `sh run_arduino_<sketch name>.sh start` in the console of host Linux via either SSH or Serial Console, to run the Arduino firmware.
31
31
32
-
Note: `sh run_arduino.sh start` is a one-shot command: the Arduino firmware only runs for the current boot. If you want to make it run after reboot, you need to use `sh run_arduino.sh install` command.
32
+
Note: `sh run_arduino_<sketch name>.sh start` is a one-shot command: the Arduino firmware only runs for the current boot. If you want to make it run after reboot, you need to use `sh run_arduino_<sketch name>.sh install` command.
33
33
34
-
`run_arduino.sh` help page summary:
34
+
`run_arduino_<sketch name>.sh` help page summary:
35
35
36
-
Usage: sh run_arduino.sh [start|stop|restart|generate|install|uninstall]
36
+
Usage: sh run_arduino_<sketch name>.sh [start|stop|restart|generate|install|uninstall]
37
37
38
-
run_arduino.sh is a helper script that helps managing an Arduino binary
38
+
run_arduino_<sketch name>.sh is a helper script that helps managing an Arduino binary
39
39
file for the coprocessor using remoteproc framework.
40
40
41
-
sh run_arduino.sh start
41
+
sh run_arduino_<sketch name>.sh start
42
42
Upload the binary to the coprocessor then start it.
43
43
This command must be executed while the script contains the binary
44
44
after generate command is run.
45
45
46
-
sh run_arduino.sh install
46
+
sh run_arduino_<sketch name>.sh install
47
47
Run the binary on boot automatically by installing a systemd service.
48
48
49
-
sh run_arduino.sh uninstall
49
+
sh run_arduino_<sketch name>.sh uninstall
50
50
Uninstall the autostart service.
51
51
52
-
sh run_arduino.sh stop
52
+
sh run_arduino_<sketch name>.sh stop
53
53
Stop the coprocessor.
54
54
55
-
sh run_arduino.sh restart
55
+
sh run_arduino_<sketch name>.sh restart
56
56
Restart the coprocessor.
57
57
58
-
See the source code for the full help page and the more details about [run_arduino.sh].
58
+
See the source code for the full help page and the more details about [run_arduino_<sketchname>.sh].
59
59
60
60
## Pin mapping
61
61
@@ -96,7 +96,7 @@ There are additional pins for LEDs and buttons.
96
96
97
97
## Uploading
98
98
99
-
As mentioned above `run_arduino.sh` file have to be uploaded manually from the PC to the board's Linux file system in order to be executed on the board directly through the board's Linux console. There are many ways to upload the file.
99
+
As mentioned above `run_arduino_<sketch name>.sh` file have to be uploaded manually from the PC to the board's Linux file system in order to be executed on the board directly through the board's Linux console. There are many ways to upload the file.
100
100
101
101
### Over Network
102
102
@@ -152,7 +152,7 @@ And then the Device Tree should enable TIM1 for the coprocessor, although this d
0 commit comments