tom@tom:~/repos/edatools/caravel_board$ pip3 install mpremote
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: mpremote in /home/tom/.local/lib/python3.10/site-packages (0.4.0)
Requirement already satisfied: pyserial>=3.3 in /home/tom/.local/lib/python3.10/site-packages (from mpremote) (3.5)
tom@tom:~/repos/edatools/caravel_board$ mpremote connect list
/dev/ttyACM0 None 0424:274d HTC Hub Controller
/dev/ttyACM1 066BFF515786534867193519 0483:374b STMicroelectronics STM32 STLink
/dev/ttyS0 None 0000:0000 None None
tom@tom:~/repos/edatools/caravel_board$ cd firmware_vex/nucleo
tom@tom:~/repos/edatools/caravel_board/firmware_vex/nucleo$ make run
mpremote connect /dev/cu.usbmodem34203 exec "import machine; machine.reset()"
/bin/sh: 1: mpremote: not found
make: *** [Makefile:64: run] Error 127
tom@tom:~/repos/edatools/caravel_board/firmware_vex/nucleo$
m
Matt Venn
01/29/2023, 7:18 PM
best place to discuss is #mpw-two-silicon
Matt Venn
01/29/2023, 7:19 PM
but it looks like you need to install some dependencies. See the listing in the readme of the repo
t
Tom
01/29/2023, 7:27 PM
thanks @Matt Venn, i will try that out
p
Philipp Gühring
01/30/2023, 7:22 PM
The problem is that you installed mpremote as a user, so it isn't being put into the $PATH, and then mpremote isn't found. You can install mpremote as root (with su or sudo), or you could add the directory where mpremote gets installed to $PATH
Philipp Gühring
01/30/2023, 7:22 PM
Or you could change the Makefile so that it finds mpremote
t
Tom
01/31/2023, 8:32 PM
Thanks @Philipp Gühring, I've managed to work around the issue
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.