2019-03-08 06:32 PM
2019-03-11 01:52 AM
Hi @ax0018
The GFXSimulateur is activated if all necessary IPs are activated ie DMA2d and LTDC mainly.
If there are errors, it means that there is a wrong configuration and this depends on your application.
So, can you please send me more details to check the problem?
Best regards,
Nesrine
2019-03-11 08:14 AM
Hi
Example:
New STM32F429ZIT (no board selected). HSE clock, PLL, HCLK set 80 MHz. None of the peripherals and pins are used, only simple timer TIM7 is enabled. Code is generated successfully until TIM7 interrupt is enabled in NVIC. As soon as interrupt is enabled GFX simulator warning is displayed. More than that, even if interrupt is disabled the warning does not disappear. Same happens with other timers with interrupts enabled. And GFX simulator functions are added to the project even if it has nothing to do with LTDC!
Looks like CubeMX 5.1 bug?
2019-03-11 08:15 AM
Hi
Example:
New STM32F429ZIT (no board selected). HSE clock, PLL, HCLK set 80 MHz. None of the peripherals and pins are used, only simple timer TIM7 is enabled. Code is generated successfully until TIM7 interrupt is enabled in NVIC. As soon as interrupt is enabled GFX simulator warning is displayed. More than that, even if interrupt is disabled the warning does not disappear. Same happens with other timers with interrupts enabled. And GFX simulator functions are added to the project even if it has nothing to do with LTDC!
Looks like CubeMX 5.1 bug?
2019-03-14 01:52 AM
Hi @ax0018
I don't think that it's a CubeMX 5.1 bug because having a warning=missing configuration so, could you please send me your .ioc file to check the problem?
Best regards,
Nesrine
2019-03-14 12:37 PM
Hi,
It might be very easy to reproduce:
2019-03-18 08:10 AM
Hi @ax0018
Thanks for the feedback,
You can ignore this GFXSimulator warning and continue working normally, it has no effect on code generation.
Best regards.
Nesrine
2019-03-18 10:47 AM
Hi,
I know it works, it just looks like some cleanup is needed in the next revision of cubemx. In the above scenario when the warning is displayed (and ignored), an empty GFX_Simulator_Init function is still included in the project which has nothing to do with this simulator.
2019-03-18 11:47 AM
I agree, I have a problem with ANY complier Warnings. And with Empty functions that perform no function.
These can't be in my design, they raise too many questions.
2019-03-19 09:02 AM
Hi @ax0018
Thanks for the feedback.
You are right, i was able to reproduce the issue and it will be fixed in the next STM32CubeMX release.
Best Regards,
Nesrine.