Giter Club home page Giter Club logo

Comments (3)

dhalbert avatar dhalbert commented on August 25, 2024

Hi - We only used the .atstart files to download all the relevant header and driver files that we needed, for all the peripherals we support. We then had to fix a few bugs in ASF4, so there are multiple branches in this repo, which reflect that.

We have not tried to regenerate these files in a long time, and have not tried to keep up with ASF4 fixes. It is very painful to regenerate these files with Atmel START and then try to do a merge and figure out which changes we need.

We have found that the clock configuration GUI in Atmel START seems to be buggy, at least in the past. Reasonable clock configurations were not settable or produced errors in the GUI. We have our own code for clock configuration.

Quite frankly, we were much happier with the ASF3 approach. We only went to ASF4 to support the SAMD51, which was not supported by ASF3. If we could find an alternative that was a straightforward tar ball download, we would use that. We do pin allocation and setup at run-time, not compile-time, and the ASF4 header-file approach does not match our use case.

from asf4.

BrianAtDocumentedDesigns avatar BrianAtDocumentedDesigns commented on August 25, 2024

Thanks for the reply. That's pretty much why I went with ASF4 as well: no support for SAMD51 in ASF3 and, as it turns out, garbage support for SAMD51 in ASF4 as (no real useable applications). Unfortunately, I absolutely hate Arduino platform and I'm doing bare metal on a Metro M4 and that is much harder than I expected thanks to Atmel/Microchip.

I'm sure I'll figure it out eventually.

Thanks for the quick feedback

from asf4.

tannewt avatar tannewt commented on August 25, 2024

@BrianAtDocumentedDesigns take a look at https://github.com/adafruit/samd-peripherals it's a very light wrapper above/around ASF4 that we use in circuitpython. It might have some pythonism leaked into it but we can refactor them out if you need it.

from asf4.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.