2023-03-23 04:19 AM
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:
Can anybody assist please???
Solved! Go to Solution.
2023-03-23 06:12 AM
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
2023-03-23 06:12 AM
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
2023-03-23 06:27 AM
Hello Yoann,
thank you for this info! It helped and fixed both issues! Thanks a lot - now I can go ahead...
BR GS