rtic-rs / rtic

Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers

Home Page:https://rtic.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STM32 rtic-monotonics APB register names incompatible

diggit opened this issue · comments

Hi,
I am trying to use most recent STM32 rtic-monotonics addition #796 with STM32H730VB and build fails, because apb* register names don't match expectations

enable_timer!(apbenr1, set_tim3en, apbrstr1, set_tim3rst);

needs to be changed to

enable_timer!(apb1lenr, set_tim3en, apb1lrstr, set_tim3rst);

and similarly for other timers.