STM32H7 does not have the a functioning Timer driver

Aperta
#835 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
c
Ambito
embedded-iot

Direzione di ricerca

Inizia confrontando le implementazioni esistenti di stm32_tim_lowerhalf.c e stm32_tim.c con i file stm32h7/stm32_tim.h e stm32h7/stm32_tim.c. Segui la chiamata a stm32_timer_initialize da startup.c e verifica il percorso del timer di NUCLEOH743ZI2. Il lavoro è completato quando la build H7 fornisce l’inizializzazione richiesta e startup.c non fallisce più perché manca la funzione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Related to https://github.com/apache/incubator-nuttx-apps/issues/834

I was trying to determine a way to use the timer with my NUCLEOH743ZI2 board. Following the guidelines provided in the above issue, I was still experiencing some problems. I did a deep dive into the what the ultimate cause of the problem was. This is as follows:

When navigating to nuttx -> arc -> arm -> src -> stm32 This folder contains a stm32_tim_lowerhalf.c file that defines the function stm32_timer_initialize which we need in order to get any timer up and operating. However in the stm32h7 folder found in the same location as the stm32 folder I noticed that the stm32_tim.h file defines it, but the stm32_tim.c file does not integrate it. Additionally, the stm32_tim_lowerhalf.c file does not exist.

Ultimately, this cause the startup.c file to fail on calling the stm32_timer_initialize function as it does not think that it exists. I am unsure how to go about using timers with the H7 board.

Any thoughts, or feedback would be great! Thank you for your time!

Lingua principale
C
Stelle
475
Fork
811
Merge medio
1g 11h
PR unite (30g)
181

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 apache/nuttx-apps

Tutte le issue di apache/nuttx-apps

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.