-
-
Notifications
You must be signed in to change notification settings - Fork 48
Auto-get atpacks, get+process DA-series atpack, files for recent issues (but see within - I don't know how to make it use them) #68
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
Conversation
Also grab the DA-series ones too.
See info.txt in alsoneeded directory for more information on this. These files need to replace the standard versions of them in order to fix arduino#66, arduino#67, and an issue with eeprom_is_ready() in eeprom.h that manifests on the newer parts. Unfortunately I'm not good enough at shell scripting to make the build scripts slip these fixes in
The key files are in the descriptively names "alsoneeded" directory... |
Hi @SpenceKonde ,
Said that, I'd be glad to build this toolchain using our CI infrastructure; let me know if you can target issue 1 (for the second I'd create a build anyway while waiting for news) |
Anyway, yeah, since I didn't know how to do the last step, I dumped it in your lap >.>
|
Hi @SpenceKonde , |
In fact I couldn't wait and published them in megaavr json; feel free to test from there and report any issue you may find, thanks! |
Awesome! Thank you! I will check it out tonight and let you know! Very exciting, especially since I'm planning to drop the initial DACore release within a week. |
Hmm - unfortunately it doesn't seem to include the fixes to the linker scripts (changes to avrxmega3.* is needed to make most of the tinies work correctly, avrxmega4.* for AVR-DA), nor does it include AVR-DA stuff... |
Ooooooh! The json is still pointing to arduino6 not arduino7 |
Hmm, I tried editing it and hosting it myself with it pointing to arduino7 avr-gcc package, and pointing the IDE to that json file in preferences, but it doesn't want to show the new version when I do that... Can you switch your json file to point to arduino7 to use the new compiler package, and I'll give it a spin with DA-series hardware? Thanks |
@SpenceKonde done, 1.9.9 now points to toolchain 7.3.0-atmel3.6.1-arduino7 😉 |
Awwww yeaaaaah! eeprom.h, power.h look good, linker scripts look good, and I can compile for DA-series parts! |
Is there any reason I can't start pointing new versions of megaTinyCore to the arduino7 toolchain package? |
No reason except it's not yet in the official json, so you need to duplicate it instead than just referencing 🙂 I'll move to the right json as soon as I finish rebuilding the arm64 toolchain |
@SpenceKonde the toolchain is now in official package_index.json, so you can simply add it to your core by specifying
without any dependency on other jsons |
I'm closing the PR since the commits were manually merged |
This includes modification to scripts that go and grab the specified atpacks from microchip website with wget (not sure why this wasn't done before? other than the extra / in URL?) instead of requiring manual downloading and conveying them to build server.
Also grabs the DA-series atpack and processes the files in it and adds lines to io.h
This also includes the FILES to fix #66 and #67, and a problem with eeprom.h - but I just don't know how to make the scripts use those replacement versions of the files.... I have checked that things seem to work with those versions of the files work with those versions of the files.... Let me know if any questions!