cancel
Showing results for 
Search instead for 
Did you mean: 

Touchgfx 4.18.1, CubeMX 6.5.0, Keil 5.36 LCD1bpp.h header not found

Jnevi.1
Senior

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Yoann KLEIN
ST Employee

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 :

0693W00000Y9EYVQA3.png 

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX

View solution in original post

3 REPLIES 3
Jnevi.1
Senior

any update on this? it is a error of the code generation. after every generation i manually have to add this header

Jnevi.1
Senior

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

Yoann KLEIN
ST Employee

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 :

0693W00000Y9EYVQA3.png 

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX