2021-08-05 01:58 AM
When we started the project, we were using double frame buffer and then we wanted to change it to single frame buffer. Also we needed the animation storage. In CubeMX, when we select the single frame buffer, the code didn't work. Then we continued with double frame buffer and added the animation storage in TouchHGFXHAL.cpp. Again the code didn't work. Lastly we selected double frame buffer in CubeMX and change it to single frame buffer, add the animation storage in TouchGFXGeneratedHAL.cpp. This is the only way the code works.
What could be the reason?
EDIT: When I select the single frame buffer in CubeMX and than I assign lockDMAToFrontPorch(true) in TouchgfxGeneratedHAL.cpp, the code works.
2021-08-05 02:38 AM
Maybe show how you add the animation storage in TouchHGFXHAL.cpp ...