Hello,
I tried a few ways to deal with ESP32 MCU, and I am very pleased by mpfshell.
But when handling my WiPy3, I found that 'ls' command is not working : it is due to the ilistdir call in the imported library
python3.8/dist-packages/mp/mpfexp.py
def ls(self, add_files=True, add_dirs=True, add_details=False):
files = []
try:
res = self.eval("list(uos.ilistdir('%s'))" % self.dir)
except Exception as e:
if _was_file_not_existing(e):
Up to now, I use mpremote when working with WiPy3, but it should be nice to use mpfshell in everycase !
Hello, I tried a few ways to deal with ESP32 MCU, and I am very pleased by mpfshell. But when handling my WiPy3, I found that 'ls' command is not working : it is due to the ilistdir call in the imported library python3.8/dist-packages/mp/mpfexp.py
def ls(self, add_files=True, add_dirs=True, add_details=False): files = [] try: res = self.eval("list(uos.ilistdir('%s'))" % self.dir) except Exception as e: if _was_file_not_existing(e):
Up to now, I use mpremote when working with WiPy3, but it should be nice to use mpfshell in everycase !
Best regrads, thanks for your work, Alain