Skip to content

trying to add support stm32g070kb uC #1286

Closed
@King-anderson

Description

@King-anderson

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions