STM32H7B3I-DK__Build Errors
To:
STTwo-32
ST Employee
Dear STTwo-32,
Thank you very much for your reply for the last post (2024-12-02 10:42 PM): STM32H7B3I-DK__Build Errors__MX_I2C4_Init__have void (void)
I have updated the software, and now using the STM32CubeMX V6.13.0, STM32CubeIDE V1.17.0 and the STM32CubeH7 V1.12.0.
So far, do not see the build errors asked before; thank you!
But having the following new build errors, and do not know what to do:
(Copy from the Console of STM32CubeIDE after build)
In file included from C:/STM32H7BWorkshop2020/STM32H7B3I-DK/Drivers/BSP/STM32H7B3I-DK/stm32h7b3i_discovery_ts.c:51,
from <command-line>:
../../Core/Inc/stm32h7b3i_discovery_ts.h:73:37: error: expected unqualified-id before numeric constant
73 | #define TS_I2C_ADDRESS 0x70U
| ^~~~~
../../TouchGFX/target/STM32TouchController.hpp:67:27: note: in expansion of macro 'TS_I2C_ADDRESS'
67 | static const uint16_t TS_I2C_ADDRESS = ((uint16_t)0x70);
| ^~~~~~~~~~~~~~
make: *** [Application/User/TouchGFX/target/generated/subdir.mk:32: Application/User/TouchGFX/target/generated/TouchGFXConfiguration.o] Error 1
make: *** Waiting for unfinished jobs....
"make -j2 all" terminated with exit code 2. Build might be incomplete.
14:13:49 Build Failed. 3 errors, 0 warnings. (took 1m:33s.39ms)
(End of Copy from the Console)
Below are the screenshots:


Could you please advise what to do?
Thank you very much for your attention and support.
With best regards
EY1
