Closed macthestack closed 2 years ago
That's strange because embassy-time is not used by the bootloader
I just checked the embassy time driver. It seems it properly selects the S or NS peripherals for the time driver.
You've got to make sure to use the nrf9160-ns
feature if you use the SPM and the nrf9160-s
feature if you don't use the SPM.
Thank you for clarifying something for me. I had misunderstood the role of the spm and thought that the bootloader would load in NS too.
We're planning to let it do that in the future though! I've been working on Trustzone tools and once that is done and working I want to apply it to this bootloader
That would be a great addition!
An application using embassy_time and "time-driver-rtc1" from embassy-nrf crashes.
If I run it without any time features it works.