Skip to main content
AnyBridge
Associate II
May 3, 2019 6:35 PM UTC
Question

The option 'generate code as pair of .c/.h files per peripherals and middleware' does not seem to work (at least for Keil MDK-ARM)

When selecting this option in the Project Manager section of CubeMX, the build process in Keil generates a linker error:

.\Objects\Aeolics.axf: Error: L6218E: Undefined symbol MX_GPIO_Init (referred from main.o).

.\Objects\Aeolics.axf: Error: L6218E: Undefined symbol MX_I2C2_Init (referred from main.o).

The files are generated, but not added to the Keil project

This topic has been closed for replies.