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: variants/STM32MP157_DK/README.md
+11-5
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,10 @@ Because every OS may have different software configurations (especially Device T
13
13
*[STM32 MPU OpenSTLinux Distribution]
14
14
*[Balena OS]
15
15
16
-
Note that the first two OSes should select `stm32mp157c-dk2-m4-examples-sdcard` boot mode (or device tree configuration) on boot time. `stm32mp157c-dk2-sdcard` boot mode is also known to work but it is not guaranteed. See [ST Wiki page on boot mode] for more detail. If you are using it for your own OS, see the [Linux Device Tree considerations](#Linux-Device-Tree-considerations) section.
16
+
#### Note
17
+
* Other distributions not listed here may run Arduino firmware but they are not tested.
18
+
*__The first two OSes should select `stm32mp157c-dk2-m4-examples-sdcard` boot mode (or device tree configuration) on boot time.__
19
+
*`stm32mp157c-dk2-sdcard` boot mode is also known to work but it is not guaranteed. See [ST Wiki page on boot mode] for more detail. If you are using it for your own OS, see the [Linux Device Tree considerations](#Linux-Device-Tree-considerations) section.
17
20
18
21
## How to use
19
22
@@ -29,7 +32,8 @@ In this example, the user **must** upload `<Arduino build output path>/run_ardui
29
32
30
33
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.
31
34
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.
35
+
#### Note
36
+
*`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.
33
37
34
38
`run_arduino.sh` help page summary:
35
39
@@ -55,7 +59,9 @@ Note: `sh run_arduino.sh start` is a one-shot command: the Arduino firmware only
55
59
sh run_arduino.sh restart
56
60
Restart the coprocessor.
57
61
58
-
See the source code for the full help page and the more details about [run_arduino.sh].
62
+
See the source code [run_arduino_gen.sh] for the full help page and the more details about the `run_arduino.sh` generated.
63
+
64
+
[run_arduino_gen.sh] is the shell script that produces a copy of the script called `run_arduino.sh` but with the sketch binary self-contained.
59
65
60
66
## Pin mapping
61
67
@@ -96,7 +102,7 @@ There are additional pins for LEDs and buttons.
96
102
97
103
## Uploading
98
104
99
-
As mentioned above `run_arduino.sh` file should be uploaded manually in order to work. There are many ways to upload the file.
105
+
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.
100
106
101
107
### Over Network
102
108
@@ -152,7 +158,7 @@ And then the Device Tree should enable TIM1 for the coprocessor, although this d
0 commit comments