artem_dmitriev Posted August 4, 2015 Report Share Posted August 4, 2015 Hello. I'd like to use hardware acceleration in my project. In the gdisp_lld_STM32F429iDiscovery.c there is two functions: gdisp_lld_fill_area and gdisp_lld_blit_area. Does it support screen rotation? Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted August 4, 2015 Report Share Posted August 4, 2015 First of all, please note that you only want to use the STM32F429iDiscovery driver if you actually are using the STM32F429i-Discovery board. Otherwise please use the generic STM32LTDC driver (make sure you check out the Alternate_Raw32_Scheduler branch of the repository).The STM32F429iDiscovery driver currently doesn't support screen rotations with DMA2D. However, it is easy to add and we already started doing this for the generic STM32LTDC driver. You can see the switch statement in both the gdisp_lld_fill_area() and gdisp_lld_blit_area() functions: https://bitbucket.org/Tectu/ugfx/src/83 ... LTDC.c-401It is just a matter of changing the values for the OMAR, OOR and NLR registers of the DMA2D peripheral.If you add this for the STM32F429iDiscovery driver we would be thankful if you could contribute the code back so we can add it to the repository.~ Tectu Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now