Open pacmac opened 7 years ago
The esp8266 doesn't have /flash. It makes the internal flash filesystem be at root /
However, rshell considers / to be on the host filesystem. There is an alternative in that you can use /pyboard to reference the root filesystem of the first connected board.
Thanks, that works but I now have another issue, it is verrrrrry slow.
I am connected at -b 115200 and it takes around 5 seconds to connect, once connected if I enter ls /pyboard, only around 5 seconds later is the listing produced.
I don't have any speed issues when connected normally, and entering repl gets me in immediatly
any ideas ??
Every "command" that rshell sends to the board requires pyboard.py to execute it, which in turns causes a soft-reset.
At start time, rshell sends 4 commands to the board. The ls command will send 2 commands.
So if your boot.py or main.py command has any delays in it, then that will slow down rshell.
You should see the delay by pressing Control-D from the repl. Any delay seen doing a Control-D will be seen by rshell.
I have rshell installed on OSX and connected to my esp8266 via UART, however I am unable to access the file system, I can access the device using the repl command, but all of the filesystem commends only appear to work on the local file system ??
If I access via repl, then I can see the files:
I thought that maybe the device did not have a flash folder, so just in case I created one off the root, but the error is the same, it does not appear to access the remote fs at all??
This is NOT a pyboard but it is running the very latest version of micropython.
What am I doing wrong ??