AdaCore / AdaCore/Ada_Drivers_Library
Handling of drivers referencing non-existant hardware features in svd
@pat-rogers is already working on this.
Since Apr 14, 2020.
- Dominant language
- Ada
- Stars
- 286
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am currently implementing the STM32F411RE Nucleo board.
I have downloaded the svd files from ST and generated the svd ada files.
I've then copied the device folder from another device and started modifying.
While doing so, I commented all the periphirals out, that the STM32F411 doesn't have (The extra timers, the extra usarts, the dac).
I've also created the necessary entries and runtime projects for the board.
When I open the duplicated example project, the compiler copmlains about the missing references of from the stm drivers. An example is seen here:

Now if I understand it correctly, the drivers are common for all STM32 devices.
My question is, how should missing peripherals be handled?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.