2025-05-15 8:39 AM
Hello everyone,
I’m developing an STM32H750 application using STM32CubeIDE and TouchGFX, and I’m trying to integrate a sensor using I2C.
I implemented a sensor driver and added the corresponding source files, but I’m running into linker errors like:
undefined reference to `Sensor_Calc()'
I made sure the source files are included in the build and headers properly referenced, but the errors persist.
If anyone has working examples, suggestions, I’d be grateful.
Thanks for your help!
STM32CubeIDE version: 1.17.0
Compiler: arm-none-eabi-gcc 12.3.1
Target MCU: STM32H750B-DK
Using C++ and TouchGFX framework