Skip to content

fix: timers on STM32F411xE boards#138

Open
JeppeKlitgaard wants to merge 7 commits into
luni64:STM32from
JeppeKlitgaard:master
Open

fix: timers on STM32F411xE boards#138
JeppeKlitgaard wants to merge 7 commits into
luni64:STM32from
JeppeKlitgaard:master

Conversation

@JeppeKlitgaard

@JeppeKlitgaard JeppeKlitgaard commented Jul 12, 2022

Copy link
Copy Markdown

This PR fixes the TimerField for STM32F411xE boards such as the Nucleo F411RE board.

It preserves compatibility with the existing supported board (STM32F429xx) and introduces an error for boards that haven't been explicitly defined as working. Adding new boards is easy - simply look up the timers in the documentation and add the appropriate define clause.

Note that I have not run tests on STM32F429xx's, as I don't have access to any. @ramboerik if you still have the hardware and feel like it, it would be fantastic if you could confirm that this works for your setup.

@RoboCrafty

RoboCrafty commented May 10, 2026

Copy link
Copy Markdown

Hi @JeppeKlitgaard , would this also work on STM32F446ZET6?

I would like to use this library on the BTT Octopus board. I want to know before I order it.

@JeppeKlitgaard

Copy link
Copy Markdown
Author

It might, but otherwise you can go through the relatively minor changes here and see if you can make any potentially required changes for your board. It should be similar enough that any required fixes are relatively minor.

@RoboCrafty

Copy link
Copy Markdown

Well, it compiled successfully on a platformIO project which I chose that board for and added this lib as a dependency. Does that mean I’m good to go?

@JeppeKlitgaard

JeppeKlitgaard commented May 11, 2026

Copy link
Copy Markdown
Author

I don't believe that this necessarily is enough to prove that it would work, but it is a good start. The maintainer of the project might be able to help you better, otherwise I would encourage you just to tinker.

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.

4 participants