Is there a requirements.txt for the board? What is...
# mpw-2-silicon
m
Is there a requirements.txt for the board? What is pyb?
I get this error: mpremote connect /dev/ttyACM0 exec "import machine; machine.reset()" Traceback (most recent call last): File "main.py", line 1 SyntaxError: invalid syntax MicroPython v1.19.1-616-g5987130af-dirty on 2022-11-20; NUCLEO-F746ZG with STM32F746 Type "help()" for more information.
>> quit
^
p
pyb
is an board support package (for the target board) that's available in the micropython environment
are you able to type:
Copy code
import machine
machine.reset()
in the micropython REPL environment
m
import machine just hangs. I wonder if I need to get a better powered USB hub
Hooking directly to my desktop does the same
If I use mpremote directly and then do import machine, it works. But then machine.reset() is what gives the above syntax error
pyb.info() then seems to produce something
Reflashing seems to have fixed this problem