Why you don't use the CMSIS devide definition of the MCU instead of defining manually each registers?
They are all available without any specific include, simply use it:
https://github.com/stm32duino/Arduino_C ... /Device/ST
if you used the STM32F10C8
https://github.com/stm32duino/Arduino_C ... 32f103xb.h
Migration to STM32 Cores. Changes in Interrupts.
Re: Migration to STM32 Cores. Changes in Interrupts.
https://github.com/stm32duino/Arduino_C ... 32f103xb.hfpiSTM wrote: Tue Apr 28, 2020 5:11 am if you used the STM32F10C8
https://github.com/stm32duino/Arduino_C ... 32f101xb.h

Re: Migration to STM32 Cores. Changes in Interrupts.
Yesstas2z wrote: Tue Apr 28, 2020 6:48 amhttps://github.com/stm32duino/Arduino_C ... 32f103xb.hfpiSTM wrote: Tue Apr 28, 2020 5:11 am if you used the STM32F10C8
https://github.com/stm32duino/Arduino_C ... 32f101xb.h
![]()


Re: Migration to STM32 Cores. Changes in Interrupts.
Thank you for your answers.
I used "extern "C" void TIM1_UP_TIM10_IRQHandler(void)" and my scetch is working fine, with timer1 also.
So in all my sketches, that i use low level, i have to make a few changes, mostly in interrupts handlers.
I used "extern "C" void TIM1_UP_TIM10_IRQHandler(void)" and my scetch is working fine, with timer1 also.
Because it gives me flexibility. Using your core, the uploading code of my sketches became lighter.fpiSTM wrote: Tue Apr 28, 2020 5:11 am Why you don't use the CMSIS devide definition of the MCU instead of defining manually each registers?
They are all available without any specific include, simply use it:
https://github.com/stm32duino/Arduino_C ... /Device/ST
So in all my sketches, that i use low level, i have to make a few changes, mostly in interrupts handlers.