Hi. I have used STM32CubeMX to define pins and configuration of peripherals. After a bit of searching on tinternet I have commented out various undefined symbols etc. and it compiles :) However, I wanted to include a STMP811 connected to I2C2. So I tried adding the touchscreen from a STM429discovery BSP, with the intention of changing the I2C to port 2.
This results in, the following:
.\Objects\Trial12.axf: Error: L6218E: Undefined symbol hi2c2 (referred from i2c_stm32f4xx.o).
I presume that the I2C port is defined twice. Once within Cube and once within the BSP.
Any clues as to how to resolve please????