After installation, I ran in to the py3k_compat error, which was resolved by changing collections.Callable to collections.abc.Callable, however, this error does not go away:
$ rshell -p COM5
Fails after connecting to REPL:
Using buffer-size of 32
Connecting to COM5 (buffer-size 32)...
Trying to connect to REPL connected
Retrieving sysname ... Traceback (most recent call last):
.....
....\Python\Python311\Lib\site-packages\rshell\pyboard.py", line 250, in exec_raw_no_follow
raise PyboardError('could not exec command')
rshell.pyboard.PyboardError: could not exec command
In the code at:
# check if we could exec command
data = self.serial.read(2)
if data != b'OK':
raise PyboardError('could not exec command')
It is should get b'OK' but instead is getting b'>>'.
Any ideas on how to resolve this?