Comments (5)
Also, embedded-runtimes vs bb-runtimes?
from ada_drivers_library.
Hi @minexew,
I'm interested in adding support for the STM32F103 line of microcontrollers. I would appreciate any guidance on where to start.
That's great! We will do our best to help you.
The first thing to do is to have a working run-time. I know there are some discussion about STM32F103 support in the IRC #ada channel, we also have a porting guide on the blog however it was published one and half year ago so part of it is not relevant anymore.
What I'm particularly confused about is the relation between Ada_Drivers_Library and AdaCore/embedded-runtimes. To support the line of MCUs, would both projects need to be updated?
About Ada_Drivers_library vs bb-runtimes, I wrote a small explanation text that I want to get reviewed before publishing it. I will keep you updated. The short answer is that you will first need a run-time (in the repo bb-runtimes) then you will be able to work on drivers (in the repo Ada_Drivers_Library).
About bb-runtimes
vs embedded-runtimes
, embedded-runtimes
is deprecated. It is an intermediate representation between the sources (now in bb-runtimes
) and the installation that you get in the compiler. Now that we published the bb-runtime
repository, there's no need to use embedded-runtimes
anymore. New contributions should be made to bb-runtime
directly and we will add a notice in the embedded-runtimes
repo.
from ada_drivers_library.
Sorry for the mistake, I meant F303 which is based on the Cortex M4F..
from ada_drivers_library.
That means it will be easier for you to port the run-time, it will mostly be a BSP work. You can start from here AdaCore/bb-runtimes/tree/gpl-2017/arm/stm32, copy the stm32f40x
directory into a new stm32f30x
and change what is needed for the 303.
from ada_drivers_library.
Yeah... I didn't get far.
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
- Support for Adafruit Feather M0 board HOT 3
- 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 HOT 4
- No repository for HAL crate available. HOT 1
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.