Skip to content

Remove lengthy interrupt disables #524

Closed
@terrillmoore

Description

@terrillmoore

On some BSPs "interrupts disabled" stop the clock from advancing properly. hal_waitUntil() hangs in os_init() because time is not advancing. See #523 and #521.

Various BSPs handle time differently when interrupts are disabled, and start up with different interrupt enabled/disabled state. The MCCI BSPs all have the property that time advances even when interrupts are disabled. But many BSPs do not.

The LMIC needs to be reworked to remove all the interrupt enable/disable logic that's presently there, as I am certain that there's no need for extended interrupt disables. Thanks @aparcar and @JackGruber for finding the root cause.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions