Skip to content

HardwareTimer liberation - #550

Open
Moddingear wants to merge 4 commits into
simplefoc:devfrom
Moddingear:hardwaretimer_liberation
Open

Moddingear wants to merge 4 commits into
simplefoc:devfrom
Moddingear:hardwaretimer_liberation

Conversation

@Moddingear

Copy link
Copy Markdown
Contributor

SimpleFOC relies on some functions from HardwareTimer.

HardwareTimer register all interrupt for all timers, making timer interrupts unusable on STM32.

HardwareTimer can be disabled by defining HAL_TIM_MODULE_ONLY, but then SimpleFOC is missing some functions.

This makes it so that those function exist when HAL_TIM_MODULE_ONLY is defined.

Should be merged at the same time as simplefoc/Arduino-FOC-drivers#94

@Moddingear

Copy link
Copy Markdown
Contributor Author

(test doesn't pass because this isn't enabled, if it was, they would pass)

@Moddingear
Moddingear force-pushed the hardwaretimer_liberation branch from bb4eb87 to a9f7282 Compare September 28, 2026 09:03

This branch has not been deployed

No deployments
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.

1 participant