Closed Yandrik closed 1 year ago
Possible caveats:
usable-from-interrupts
feature enables the critical-section-impl
feature. This might not be desired behavior in every casemaybe some more cases need to be added to the ci scripts to cover this properly, tho it might not really be necessary
Portal upgrade should be completely done now
This allows using the Portal from interrupts by locking all important resources with a
CriticalSectionRawMutex
if that is desired. Switches to aThreadModeRawMutex
automatically when the featureusable-from-interrupts
is not enabled. When using the portal (or the softdevice overall) from interrupts without enabling it explicitly, a helpful message that reminds the user to activate the feature if they so desire is displayed.