Page 3 of 3

Re: Raspberry Pi Pico: how to access the filesystem

Posted: Wed Jan 27, 2021 12:19 pm
by JumpZero
Roberthh wrote:
Wed Jan 27, 2021 9:59 am
If on the target a file board.py exists, which define a symbol called name with the name of that board, pyboard mounts the board under that name. e.g a board,py file with the content:

name = "esp32"

causes the board mounter under the directory /esp32. Side effect: If you use:

name = ""

the board will be mounted under /, but no files can be copied to that place. Using e.g. esp32 works.
Thanks for that! Just tried and yes it works (name = "esp8266")
Nice fonctionnality

Re: Raspberry Pi Pico: how to access the filesystem

Posted: Wed Jan 27, 2021 12:22 pm
by JumpZero
Roberthh wrote:
Wed Jan 27, 2021 10:21 am
I CAN edit files & write them back with the linux version of my pye editor.
Some time ago I had no success trying your pye editor. But reading this now it seems I misunderstood.
pye runs on the linux host, not on the micropython device itself?

edit: my Raspberry Pi Pico isn't yet arrived. Ordered last Thursday (1st day on sale) coming by Int'l mail from UK to France... Still waiting :(

Re: Raspberry Pi Pico: how to access the filesystem

Posted: Wed Jan 27, 2021 12:30 pm
by Roberthh
Pye is designed to run on Micropython boards. For the sake of completeness, there is also a Linux version.

Re: Raspberry Pi Pico: how to access the filesystem

Posted: Wed Jan 27, 2021 6:11 pm
by JumpZero
Ok thanks, I think I was missing of RAM. I'll try again when I'll receive the Pico.

Re: Raspberry Pi Pico: how to access the filesystem

Posted: Wed Jan 27, 2021 6:18 pm
by Roberthh
I had to make a specific vetsoon for the pico, because the standard build does not include the module re. It is in the git repository.

Re: Raspberry Pi Pico: how to access the filesystem

Posted: Sat Jan 30, 2021 3:02 pm
by Angainor
Same issue here I guess.

Got a pico, wanted to use rshell. repl works fine, but cp to the /pyboard creates an empty file with timeout error.

Installed thonny, that copied the file ok.

However I'd like to use the "usual" simple rshell, so following that thread.

Re: Raspberry Pi Pico: how to access the filesystem

Posted: Sat Jan 30, 2021 3:37 pm
by Roberthh

Re: Raspberry Pi Pico: how to access the filesystem

Posted: Sat Jan 30, 2021 3:55 pm
by Angainor
Awesome, thanks!