Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

L6218E using STM32Cube

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????