Skip to content
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

[compile error] Arduino Zero #115

Open
deladriere opened this issue Aug 11, 2024 · 2 comments
Open

[compile error] Arduino Zero #115

deladriere opened this issue Aug 11, 2024 · 2 comments

Comments

@deladriere
Copy link

I am running the script with

make BOARD=zero

everything run fines until it reaches

cc1: fatal error: build/zero/selfdata.c: No such file or directory
compilation terminated

any ideas to solve this ?

@dhalbert
Copy link
Collaborator

dhalbert commented Aug 11, 2024

selfdata.c is generated by scripts/gendata.py. When I run the make command above on a fresh clone, the build fails because is there is no python2. Are you seeing that as well?

I maintain https://github.com/adafruit/uf2-samdx1. It is more up-to-date in some respects; we work closely with upstream. I don't see such an error there. We removed the python2 dependency.

@deladriere
Copy link
Author

Woaw thanks for the update !
Sorry, I should have mentioned that I corrected the script to use Python 3 instead of Python 2, but I'm still encountering the error I mentioned earlier.
in fact, I came here because I was using the Adafruit version: UF2 dragging works fine, but as I code with PlatformIO, I prefer to upload via the emulated serial port. However, this often fails and stops midway (I'm working with my own SAMD21 board), so I plan to compare both (Adafruit and Microsoft). (btw, the classical Arduino bootloader never fails to upload)

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