Latest version 1.8.0 not working with example files.
Posted: Sun May 03, 2020 10:44 am
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?
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?