cancel
Showing results for 
Search instead for 
Did you mean: 

Unsupported bit depth : CubeMX(5.0.0), TouchGFX(4.10.0), IAR8.x

JJoha.2
Associate III

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

0 REPLIES 0