Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v1.8.5-20161020-13-gf5ca668 experimental build boot.py and file writing #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ptorrone opened this issue Oct 25, 2016 · 3 comments
Closed

Comments

@ptorrone
Copy link
Member

this is for the experimental build (v1.8.5-20161020-13-gf5ca668 on 2016-10-24', machine='Adafruit Metro M0 with Flash (Experimental) with samd21g18)

boot.py does not load on start and writing to the file system on mac 10.11.6 (usb drive MICROPYTHON) gives an error, but does save (see screenshot).
.................
Traceback (most recent call last):
File "", line 1, in
NameError: name 'help' is not defined
import os
os.uname()
(sysname='samd21', nodename='samd21', release='1.8.5', version='v1.8.5-20161020-13-gf5ca668 on 2016-10-24', machine='Adafruit Metro M0 with Flash (Experimental) with samd21g18')
...............

adafruit_1822

@tannewt
Copy link
Member

tannewt commented Oct 25, 2016

What program were you using to edit the file? It looks like its configured to save multiple versions of the same file.

Could you please do a soft reset (CTRL-D) and paste the output here? Output of "os.listdir()" would be welcome too. Thanks!

@ptorrone
Copy link
Member Author

i was using a text edit.

interesting, after a soft reboot it runs boot.py and main.py so that "fixes" it.

soft reboot
Traceback (most recent call last):
File "main.py", line 7, in
KeyboardInterrupt:
Adafruit MicroPython v1.8.5-20161020-13-gf5ca668 on 2016-10-24; Adafruit Metro M0 with Flash (Experimental) with samd21g18
help
'Welcome to Adafruit Micropython!!!!'
os.listdir()
['._.Trashes', '.TemporaryItems', 'boot.py', '.boot.py', '.fseventsd', '.Trashes', 'main.py', '..TemporaryItems']

@tannewt
Copy link
Member

tannewt commented Nov 29, 2016

I think this is fixed now.

@tannewt tannewt closed this as completed Nov 29, 2016
dhalbert pushed a commit that referenced this issue Jan 5, 2021
update from adafruit main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants