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

69
68
69
+
## How it works?
70
+
The Portenta X8 has some services that once the sketch has been pushed to the required folder, if it detects changes the device will flash the M4 after that happened!
71
+
72
+
This work thanks to the following services:
73
+
* monitor-m4-elf-file.service: this service monitors the directory `/tmp/arduino/m4-user-sketch.elf` each time it detects a new file it will proceed to flash the M4 using the tool `openOCD` and providing the sketch that has been pushed.
74
+
* android-tools-adbd.service: responsible of generating the needed interfaces for the different types of usb gadgets.
75
+
* create-docker-envfile.service: Controls if the device has been plugged for example in some carrier and makes the info available at `/var/run/arduino_hw_info.env` and is meant to be used by the ´docker containers´.
76
+
70
77
## Conclusion
71
78
You now have access to the M4 processor, so for example you are able to connect an I<sup>2</sup>C sensor and interact with it and the Arduino X8 Linux side.
0 commit comments