Programming board from terminal
andyh13 last edited by
Is there a simple way to load a new program on the board from the command line, over USB? I do not want to use atom or vs code. I'd like to be able to use Makefiles and Make compatible build systems.
I have tried using FTP. It almost kind of worked the first time I tried it, but timed out pretty routinely. Now it just doesn't connect (I have verified the IP configuration through the serial repl, made sure the device is connected to the network, and made sure the configuration of the FTP tool is correct)
jcaron last edited by
@andyh13 note that the built-in FTP server only supports one connection at a time, when many clients try to open several at once. Check the docs for settings for clients due as FileZilla.
robert-hh last edited by robert-hh
@andyh13 You can use:
rshell.py: by dave Hylands. Install it e.g. with
pip install rshell, or here: https://github.com/dhylands/rshell.git
ampy: by adafruit.. Install e.h with
pip3 install adafruit-ampy
Edit: They all depend on the board to soft-boot with Ctrl-D. The newest PyCom firmware disabled that, for whatever reason, which is a pain.