Describe the bug
Compiler error when STM32G030C8T6 board is selected
Error does not occur on version 2.4.3 and earlier
Arduino\libraries\Simple_FOC\src\current_sense\hardware_specific\stm32\stm32_adc_utils.cpp
stm32_adc_utils.cpp:191:11: error: 'LL_ADC_INJ_IsTriggerSourceSWStart' was not declared in this scope;
stm32_adc_utils.cpp:203:12: error: 'LL_ADC_INJ_IsTriggerSourceSWStart' was not declared in this scope;
stm32_adc_utils.cpp: In function 'float _readRegularADCVoltage(int)':
stm32_adc_utils.cpp:628:11: error: 'struct ADC_ChannelConfTypeDef' has no member named 'Offset'
Describe the hardware setup
- Which microcontroller
- STM32G030C8T6
- Generic STM32G0 series
- Generic G030C8Tx
- STLink V2
- SWD programing interface
IDE you are using
Describe the bug
Compiler error when STM32G030C8T6 board is selected
Error does not occur on version 2.4.3 and earlier
Arduino\libraries\Simple_FOC\src\current_sense\hardware_specific\stm32\stm32_adc_utils.cpp
stm32_adc_utils.cpp:191:11: error: 'LL_ADC_INJ_IsTriggerSourceSWStart' was not declared in this scope;
stm32_adc_utils.cpp:203:12: error: 'LL_ADC_INJ_IsTriggerSourceSWStart' was not declared in this scope;
stm32_adc_utils.cpp: In function 'float _readRegularADCVoltage(int)':
stm32_adc_utils.cpp:628:11: error: 'struct ADC_ChannelConfTypeDef' has no member named 'Offset'
Describe the hardware setup
IDE you are using