2021-07-12 07:28 AM
Hi,
i use DSI Host with generation in separate file dsihost.c
In HAL_DSI_MspInit CubeMX and STM32IDE generate next lines
/* DSI clock enable */
__HAL_RCC_DSI_CLK_ENABLE();
( );
__HAL_RCC_GPIOB_CLK_ENABLE();
error: expected expression before ')' token
2021-07-12 09:10 AM
Hello @x893-00,
Can you precise which STM32CubeMX, CubeH7 package versions you are using?
Can you also share your ioc file? This will help us check the problem.
Chahinez.
2021-07-12 09:32 AM
2021-07-13 06:16 AM
Hi @x893-00,
I checked your file and generated the project but I couldn't reproduce the same behavior from my side.
Chahinez.
2021-07-18 02:02 AM
Hi,
looks strange. I open H747XIH.ioc in CubeMX, click GENERATE CODE and see line 174 in file
CM7\Core\Src\dsihost.c
/* DSI clock enable */
__HAL_RCC_DSI_CLK_ENABLE();
();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**DSIHOST GPIO Configuration