Closed huming2207 closed 2 months ago
Okay I had a read in RTIC issues and I can understand now that I don't (and I shouldn't) touch NVIC stuff as RTIC has done that for me... I will just implement the code like yours without worrying about the NVIC stuff then.
You can expand macros (I forget how off the top of my head) to better see what RTIC does under the hood.
You can expand macros (I forget how off the top of my head) to better see what RTIC does under the hood.
Yea, I forgot that earlier too, I will have a look.
Hi @newAM
Sorry this might be stupid question. I've got some time recently and I went back learning Rust on STM32WL again. Now I'm just curious how do you set up the interrupts with RTIC?
For example, in the
init()
routine in yourclient/src/main.rs
, I haven't seen you calling NVIC's unmask() to enable the NVIC for LPTimer or SubGHZ peripherals. I've only seen you called theset_ier()
forlptim1
. Has RTIC itself done this implicitly when ininit()
?Regards, Jackson