Skip to content

HardwareTimer liberation#550

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

HardwareTimer liberation#550
Moddingear wants to merge 2 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

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