2025-08-26 6:14 PM
The goal is to test the Adafruit Gamepad QT with the Nucleo-G071RB board. This requires using the Adafruit seesaw C++ library of source files, which transmits analog joystick signals using the I2C protocol.
I used the code example I2C_TwoBoards_ComPolling (C-code) as a starting point an...
Problem: the project does not built the Adafruit libraries, the compiler just ignores them.
What is the solution for this? How do I build the entire project, including the Adafruit libraries? Thank you!!!
Figure 1.
Solved! Go to Solution.
2025-08-26 7:03 PM
The solution is to convert the STM32CubeIDE project from a C to a C++ project. In the Solution Explorer right-click the project and select "Convert to C++". I wrongly assumed that renaming the main.c to main.cpp is sufficient, but it is not.
2025-08-26 7:03 PM
The solution is to convert the STM32CubeIDE project from a C to a C++ project. In the Solution Explorer right-click the project and select "Convert to C++". I wrongly assumed that renaming the main.c to main.cpp is sufficient, but it is not.