2022-03-24 08:02 AM
I created a MDK-ARM project in CubeMXwith touchgfx custom target, BW display 128x64
I generate the sources via cube mx adn the touchgfx Designer
I try to compile and get
TouchGFX\target\generated\TouchGFXConfiguration.cpp(32): error: #20: identifier "LCD1bpp" is undefined
It looks like the Middlewares\ST\touchgfx\framework\include\platform\driver\lcd\LCD1bpp.h is not included.
Had anyone this problem before?
Solved! Go to Solution.
2023-01-26 05:10 AM
Hello @Jnevi.1,
Sorry we apparently forgot to answer your post some months ago.
Indeed, this bug was fixed in 4.21.0, you can see it if you open the .pdsc inside the X-CUBE-TouchGFX installation repository :
/Yoann
2022-04-20 02:33 AM
any update on this? it is a error of the code generation. after every generation i manually have to add this header
2023-01-26 04:39 AM
i think this bug is fixed now...if i regenrate the code this header gets added.
i think there were some bigger changes in code generation because in the past you had these markers for private code and code managed by touchgfx/cubeMX which are not there anymore
2023-01-26 05:10 AM
Hello @Jnevi.1,
Sorry we apparently forgot to answer your post some months ago.
Indeed, this bug was fixed in 4.21.0, you can see it if you open the .pdsc inside the X-CUBE-TouchGFX installation repository :
/Yoann