Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Handling of drivers referencing non-existant hardware features in svd

Aperta
#340 12 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@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:
image

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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AdaCore/Ada_Drivers_Library

Tutte le issue di AdaCore/Ada_Drivers_Library

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.