Skip to content

Conversation

@ArcaneNibble
Copy link
Collaborator

The current implementation of Pybricks does not disable IRQs for any significant length of time, which means that we can remove clock driver code supporting it.

The STM32 code still supports microsecond delays.

@coveralls
Copy link

coveralls commented Jul 14, 2025

Coverage Status

coverage: 57.254% (+0.09%) from 57.162%
when pulling 4819a79 on ArcaneNibble:clock-cleanup
into 625e80b on pybricks:master.

@ArcaneNibble
Copy link
Collaborator Author

Hrm, looks like NXT still has blocking delays in its bootup process. Going to keep those in place for now and only remove the mphalport.c support for running with IRQs disabled.

The current implementation of Pybricks does not disable IRQs for any significant
length of time, which means that we can remove clock driver code supporting it.
@dlech dlech merged commit 52228aa into pybricks:master Jul 14, 2025
17 checks passed
@dlech
Copy link
Member

dlech commented Jul 14, 2025

Nice one, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants