2026-01-31 11:00 AM - last edited on 2026-01-31 12:21 PM by mƎALLEm
STM32G030F6P6 microcontroller CubeIDE environment when enabling interrupt for I2C an LL_I2C_EnableIT_RX (I2C2); error occurs
_______stm32g030xx.h:618:29: error: expected declaration specifiers or '...' before '(' token
error occurs when any I2C interrupt is enabled
2026-01-31 12:09 PM
There are no errors in the code you posted.
If you encounter errors in CubeMX generated code, please include the IOC file used to generate that code.