This is the timed interrupt example I want to use and doesn't work:
https://github.com/stm32duino/STM32Exam ... llback.ino
When compiling, it gives the following error:
#error "Due to API change, this sketch is compatible with STM32_CORE_VERSION >= 0x01090000"
Now, from what I can see here:
https://github.com/stm32duino/Arduino_C ... 2/releases
The latest core is 1.8.0
But the example sketch requires a newer core.
If I comment the line in the sketch which checks for core version to be equal or above 1.9.0 then I get this error:
invalid conversion from 'void (*)()' to 'void (*)(HardwareTimer*)' [-fpermissive]
Now I see two ways in which you could help me.
Can someone tell me where I can get the 1.9.0 core from, or
Can someone point me to an example of timed interrupts that works on the 1.8.0 core?
Latest version 1.8.0 not working with example files.
Latest version 1.8.0 not working with example files.
Last edited by razvitm on Mon May 04, 2020 7:39 am, edited 1 time in total.
Re: Latest version not working with example files.
Simply use the latest release of the library. The mater is inline with the core master repo
Re: Latest version not working with example files.
Can you dumb that down a little please?
Where is the latest release of the library?
I can't even make heads or tales from the second sentence
) core mater repo???
Where is the latest release of the library?
I can't even make heads or tales from the second sentence

Re: Latest version not working with example files.
If I install the stm32duino core via boards manager I end up with 1.8.0fpiSTM wrote: Sun May 03, 2020 11:01 am Simply use the latest release of the library. The mater is inline with the core mater repo
Is there another way of installing the core to get 1.9.0 so the example file for timed interrupts works?
Re: Latest version not working with example files.
Use the git repo as described in the wiki.
Re: Latest version not working with example files.
Use the library manager to install the latest version or select the latest tag on githib and download it as zip
Re: Latest version not working with example files.
You mean I should install STM32Duino examples v1.0.5 from the library manager and use the timed interrupt example from there?
Re: Latest version not working with example files.
This example compiles OK on the 1.8.0 core.stas2z wrote: Sun May 03, 2020 12:11 pm https://github.com/stm32duino/STM32Exam ... llback.ino
For 1.8.0 core
Thank you!