Skip to content

[BUG] STM32G030C8T6 does not compile V2.4.0 #539

@Rosewill2

Description

@Rosewill2

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

  • Arduino IDE

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions