I wanted to add secondary timer support to the microblaze bsp.
I have an initial working change to the rtems source here
https://github.com/RTEMS/rtems/compare/master...thesamprice:rtems:timer_debug
And an initial test example here
https://github.com/thesamprice/rtems_mb_timer
Unsure how to integ
Hi Sam,You need to add the timer.h file to the list of files to be installed:https://git.rtems.org/rtems/tree/spec/build/bsps/microblaze/microblaze_fpga/obj.yml#n14AlanĀ From: Sam PriceSent: Sunday, November 6, 2022 12:52 AMTo: DevelopmentSubject: Re: Microblaze 2nd timer interruptĀ I pushed my
I pushed my changes to rtems source
https://github.com/RTEMS/rtems/compare/master...thesamprice:rtems:timer_debug
and setup a hello world an example project to test with
https://github.com/thesamprice/rtems_mb_timer/blob/main/hello.c
However im getting the following error.
rtems_mb_timer/hello.c:
The current microblaze design only has a single timer.
I want to use the 2nd timer on the microblaze to run some low level tasks.
Wondering if someone could see if i'm on the right track.
Regarding the timer from the Xilinx api api
"""The interrupt service routine reads the timer control/statu