Handling of drivers referencing non-existant hardware features in svd
@pat-rogers ci sta già lavorando.
Dal 14/4/2020.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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?
- Lingua principale
- Ada
- Stelle
- 286
- Fork
- 165
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AdaCore/Ada_Drivers_Library
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
AdaCore/Ada_Drivers_Library#482 · 3 commenti ·
-
Outdated SVD bindingsAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
AdaCore/Ada_Drivers_Library#481 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
AdaCore/Ada_Drivers_Library#462 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 58/100
AdaCore/Ada_Drivers_Library#447 · 2 reazioni ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
AdaCore/Ada_Drivers_Library#440 · 2 commenti ·