cancel
Showing results for 
Search instead for 
Did you mean: 

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)

AnyBridge
Associate II

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

0 REPLIES 0