cancel
Showing results for 
Search instead for 
Did you mean: 

ToughGFX 4.21.3: blendL8CLUT undefined and CMSIS package missing for CUBE MX

GS1
Senior III

I installed the latest TouchGFX release 4.21.3 for my new project. Separately I now opened the project in the latest Cube Version 6.8.0. and I get a message that tells me that the CMSIS-Pack for my TouchGFX project is unknown.

Where can I get the new corresponding release?

The reason I opened the CubeMX editor was, that I get a compiler error which is create for the touch HAL file PaintRGB565Impl.h:

compiling TouchGFXGeneratedHAL.cpp...

../middlewares/st/touchgfx/framework/include/touchgfx/hal/PaintRGB565Impl.hpp(156): error: #20: identifier "blendL8CLUT" is undefined

             const uint8_t* src = &blendL8CLUT[*bitmapPointer++ * 3];

../middlewares/st/touchgfx/framework/include/touchgfx/hal/PaintRGB565Impl.hpp(168): error: #20: identifier "blendL8CLUT" is undefined

             const uint8_t* src = &blendL8CLUT[*bitmapPointer++ * 3];

../middlewares/st/touchgfx/framework/include/touchgfx/hal/PaintRGB565Impl.hpp(190): error: #20: identifier "blendL8CLUT" is undefined

         const uint32_t newpix = reinterpret_cast<const uint32_t*>(blendL8CLUT)[*bitmapPointer++];

../TouchGFX/target/generated/TouchGFXGeneratedHAL.cpp: 0 warnings, 3 errors

I thought it might be fixed if I regenerate the code using STM32CubeMX, but then I get a warning that the CMSIS pack is missing:

0693W00000aJZCiQAO.png 

Can anybody assist please???

1 ACCEPTED SOLUTION

Accepted Solutions
Yoann KLEIN
ST Employee

Hello,

You need to install the X-CUBE-TouchGFX manually into CubeMX, please follow the steps described by @Romain DIELEMAN​  in the comment of this post.

Let me know if that fixes your issues.

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX

View solution in original post

2 REPLIES 2
Yoann KLEIN
ST Employee

Hello,

You need to install the X-CUBE-TouchGFX manually into CubeMX, please follow the steps described by @Romain DIELEMAN​  in the comment of this post.

Let me know if that fixes your issues.

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX

Hello Yoann,

thank you for this info! It helped and fixed both issues! Thanks a lot - now I can go ahead...

BR GS