Code Monkey home page Code Monkey logo

Comments (3)

JeremyGrosser avatar JeremyGrosser commented on July 27, 2024 1

https://github.com/JeremyGrosser/clock3/tree/master/src

Before the RP2040 came out, I was working on drivers for the samd21 as a part of another project. It's in very rough shape and there are a lot of things in this repo not relevant to the samd21, but I figured I'd push what I have if it might be useful to others. Much of this code is incomplete or broken, but it does work well enough to use the UART and some I2C peripherals.

I was going for more of an Arduino-like experience with the Board package, rather than building drivers that implement the HAL interfaces. If you're developing a reusable set of drivers for this chip, a HAL compatible interface is definitely the way to go.

from ada_drivers_library.

Fabien-Chouteau avatar Fabien-Chouteau commented on July 27, 2024

Hi @faelys

Is there any hope for an ADL newbie like me to add Feather M0 support?

There is hope :) It is indeed not an easy task, but you can do it.

I strongly recommend getting a good debugger setup, and for this the Feather M0 is not the best since there is no Cortex-M debug connector on the board.
The METRO M0 Express would be a better option: https://www.adafruit.com/product/3505

For the debugger you can either get a SEGGER J-Link EDU Mini (https://www.adafruit.com/product/3571) or Black Magic Probe (open source, open hardare): https://www.adafruit.com/product/3839 .

If so, would you have any specific advice for this hardware, or should I just proceed with reading the general documentation and > starting from the MicroBit support?

Nowadays I would look at what is done for the samd51 (myself) and the rp2040 (Jeremy Grosser) in the Alire ecosystem.

I started to write some instructions for you but it quickly turned in to a blog post. So stay tuned on AdaCore blog because I will post the instructions there ASAP.

Is there anybody else interested in this board who would spend time to work with me on this?

In theory I am, and I will help you as best as I can for the drivers. But I don't have much time available at the moment.

from ada_drivers_library.

Fabien-Chouteau avatar Fabien-Chouteau commented on July 27, 2024

Hello @faelys,

The blog post is here: https://blog.adacore.com/starting-micro-controller-ada-drivers-in-the-alire-ecosystem

I hope this will help you getting started. I will close the issue for now. but don't hesitate to ask follow-up questions.

from ada_drivers_library.

Related Issues (20)

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.