Skip to content

Commit 7a40195

Browse files
committed
[VirtIO] README: add serial-related run_arduino.sh commands
1 parent bc42692 commit 7a40195

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

variants/STM32MP157_DK/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ After Verify and Upload, you will see a message similar to the following in Ardu
3636

3737
* Linux/macOS:
3838

39-
`/tmp/arduino_build_668148/run_arduino_Blink.sh`
39+
Usage: sh run_arduino.sh [start|stop|restart]
40+
sh run_arduino.sh [install|uninstall]
41+
sh run_arduino.sh [monitor|send-msg|send-file|minicom]
4042

4143
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.
4244

@@ -63,6 +65,18 @@ After uploading the user can use `sh run_arduino_<sketch name>.sh start` in the
6365
sh run_arduino_<sketch name>.sh uninstall
6466
Uninstall the autostart service.
6567

68+
sh run_arduino_<sketch name>.sh monitor
69+
Monitor data received from the coprocessor via the virtual serial.
70+
71+
sh run_arduino_<sketch name>.sh send-msg <message...>
72+
Send a message to the coprocessor via the virtual serial.
73+
74+
sh run_arduino_<sketch name>.sh send-file <filename>
75+
Send a file content to the coprocessor via the virtual serial.
76+
77+
sh run_arduino_<sketch name>.sh minicom
78+
Launch minicom interactive serial communication program.
79+
6680
sh run_arduino_<sketch name>.sh stop
6781
Stop the coprocessor.
6882

0 commit comments

Comments
 (0)