Comments (3)
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.
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.
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)
- Support LSM303AGR for newer micro:bit hardware revisions HOT 1
- Target not found for Micro:Bit with Debian Linux HOT 3
- Project Wizard doesn't generate startup files HOT 3
- Include directions in examples/README.md to have compatible versions of bb-runtimes and compiler
- mma8653 initialization fails on MicroBit HOT 21
- EXAMPLES: Installing run-time dependencies fails with both Python 2 and Python 3 on Linux HOT 2
- Make HAL packages preelaborable HOT 1
- I2C HAL ideas HOT 15
- Many warnings with GCC 12 HOT 2
- RISC-V requires "zicsr" ISA extension to build with FSF GNAT 12.1.1 HOT 11
- IO expander MCP23x08 reports GPIO mode always as Output HOT 1
- Support for STM32F411CEU6 board HOT 1
- Extension zicsr required in HiFive1_rev_B board
- Microbit.Time resets the board
- How to get the toolchain up and running? HOT 15
- Compiler crash with pragma Ada_2022 on body HOT 2
- gnatprove incompatibility
- Incorrect usage of 'Val instead of 'Enum_Val
- No repository for HAL crate available.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ada_drivers_library.