2018-11-27 06:05 AM
1) Created a sample project using CubeMX(5.0.0), TouchGFX(4.10.0) for STM32F46G-Disco board
2) TouchGFX GUI : is very simple just three buttons, and a background image – Code generation was OK, No Error
3) Generated the code from CubeMX for IAR8.x
4) When compile I get error – unsupported bit depth ( See attached image)
5) Now when I replace .a files at location (TestCube is my project folder)
TestCube\Middlewares\ST\TouchGFX\touchgfx\lib\core\cortex_m7\IAR8.x\
touchgfx_core.a and touchgfx_core_release.a
from TouchGFX(v4.9.3) (C:\TouchGFX\4.9.3\touchgfx\lib\core\cortex_m7\IAR8.x\)
everything works OK. I know that is the correct way
The error window:
File : ... \TestCube\EWARM\Middlewares\ST\TouchGFX\framework\include\touchgfx/hal/HAL.hpp
Line : 703
Expression failed:
0 & "Unsupported Bit Depth"
NOTE: TestCube is my project folder