Closed
Description
I have tried to add stm32g070kb support to the project. I have created the variant steps as is said in wiki, but I see below error during compilation
note that the stm32g070kb doesn't support LPTIM at all but stm32duino mistaken the supportability. when or how can check configuration header files to fix this issue?
In file included from C:\Users\Sadegh\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\libraries\SrcWrapper\src\stm32\timer.c:14:
C:\Users\Sadegh\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\libraries\SrcWrapper\src\stm32\timer.c: In function 'getTimerUpIrq':
C:\Users\Sadegh\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/stm32/timer.h:79:19: error: 'TIM7_LPTIM2_IRQn' undeclared (first use in this function)
79 | #define TIM7_IRQn TIM7_LPTIM2_IRQn
| ^~~~~~~~~~~~~~~~
C:\Users\Sadegh\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\libraries\SrcWrapper\src\stm32\timer.c:404:16: note: in expansion of macro 'TIM7_IRQn'
404 | IRQn = TIM7_IRQn;