ntoll / uflash

A module and command to easily flash Python onto the BBC's micro:bit device.
http://micropython.org/
MIT License
101 stars 27 forks source link

flashing a script is different from putting a main.py #60

Closed rhubarbdog closed 5 years ago

rhubarbdog commented 5 years ago

I was trying a test program. I plan to have a large file so thought i'd give it a dummy run. if i flash my script like this uflash test_fs.py . When the script executes it crashes with OSError: 28. When i flash a blank micropython.hex uflash then put my script as main.py ufs put test_fs.py main.py it executes ok. Here's a copy of the program which crashes: test_fs.py.txt

ntoll commented 5 years ago

This isn't a bug with uflash. This is a bug with MicroPython on the micro:bit. Could you please report it to that project please..?

https://github.com/bbcmicrobit/micropython

Thank you.