Skip to content

HardwareTimer liberation - #550

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

HardwareTimer liberation#550
Moddingear wants to merge 3 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
Moddingear force-pushed the hardwaretimer_liberation branch from daa5aba to f910d7e Compare July 28, 2026 09:56
@Moddingear

Copy link
Copy Markdown
Contributor Author

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

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