Skip to content

Problem about developing STM32 in Platformio #187

Closed
@ZhangYanglyu

Description

@ZhangYanglyu

Describe the bug
.pio\libdeps\genericSTM32F103ZE\Simple FOC\src\current_sense\hardware_specific\stm32\stm32f1\stm32f1_hal.cpp: In function 'uint32_t _timerToRegularTRGO(HardwareTimer*)':
.pio\libdeps\genericSTM32F103ZE\Simple FOC\src\current_sense\hardware_specific\stm32\stm32f1\stm32f1_hal.cpp:36:12: error: 'ADC_EXTERNALTRIGINJECCONV_T8_TRGO' was not declared in this scope; did you mean 'ADC_EXTERNALTRIGINJECCONV_T1_TRGO'?
36 | return ADC_EXTERNALTRIGINJECCONV_T8_TRGO;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ADC_EXTERNALTRIGINJECCONV_T1_TRGO
*** [.pio\build\genericSTM32F103ZE\libcf4\Simple FOC\current_sense\hardware_specific\stm32\stm32f1\stm32f1_hal.cpp.o] Error 1

IDE you are using

  • Platformio
  • Win10

SimpleFoc version

  • SimpleFoc2.2.2+sha.817f45

Please help me to solve this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions