Error while reading `rshell` execuable path.
I am using Ubuntu 18.04 and python 3.6 from Anaconda distribution, when I try build and run the main script I am getting the following error:
Error while reading `rshell` execuable path. Please recheck `tools.rshell` setting inside Micropython config file (`.micropythonrc`) then try again!
Turns out that .micropythonrc had on the tools field:
"tools": {
"ampy": "/opt/programs/anaconda3/bin/rshell",
"rshell": ""
}
I changed it to:
"tools": {
"ampy": "/opt/programs/anaconda3/bin/ampy",
"rshell": "/opt/programs/anaconda3/bin/rshell"
}
Now I get the following error: Command failed: export LANG="en_US.UTF-8" && /opt/programs/anaconda3/bin/ampy --port /dev/ttyUSB0 --baud 115200 ls Traceback (most recent call last): File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/files.py", line 96, in ls out = self.pyboard.exec(textwrap.dedent(command)) File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/pyboard.py", line 263, in exec_ ret, ret_err = self.exec_raw(command) File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/pyboard.py", line 254, in exec_raw self.exec_raw_no_follow(command); File "/opt/programs/anaconda3/lib/python3.6/site-packages/ampy/pyboard.py", line 251, in exec_raw_no_follow raise PyboardError('could not exec command') ampy.pyboard.PyboardError: could not exec command
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/programs/anaconda3/bin/ampy", line 11, in