Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to RTFM #57

Merged
merged 6 commits into from
May 26, 2020
Merged

Port to RTFM #57

merged 6 commits into from
May 26, 2020

Conversation

dbrgn
Copy link
Contributor

@dbrgn dbrgn commented May 10, 2020

RTFM should enable cleaner resource management and interrupt handling.

For now I did not set up the task scheduling system. For this we would need a monotonic timer. The STM32L071 only has 16 bit timers, so for high resolution we would have to tie together two timers in master-slave mode to get 32 bits of precision. However, we don't really need it, we can simply use the timer directly instead (for stuff like blinking LEDs).

@dbrgn dbrgn requested a review from rnestler May 10, 2020 22:21
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
src/leds.rs Show resolved Hide resolved
Copy link
Contributor

@rnestler rnestler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌈

@dbrgn dbrgn merged commit f21f871 into master May 26, 2020
@dbrgn dbrgn deleted the rtfm branch May 26, 2020 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants