The basic idea is to add a HAL-like driver to the STM32 family. Currently, it is deployed the following way:
- os/
- hal/
- platforms/
- STM32/
- LTDCv1/
- stm32_ltdc_lld.h ~ LLD header
- stm32_ltdc_lld.c ~ LLD source (underscore)
- stm32_ltdc.h ~ HAL-like header
- stm32_ltdc.c ~ HAL-like source (camel case)
- STM32F4xx/
- platform.mk ~ Added STM32/ and STM32F4xx/ sources and directories
- hal_lld.h ~ Added STM32_* auto-defines, and inclusion of stm32_ltdc.h
- hal_lld.c ~ Added ltdcInit() HAL-like initialization to hal_lld_init()
- demos/
- ARMCM4-STM32F429-DISCOVERY-SDRAM/ ~ from https://github.com/ChibiOS/ChibiOS-RT-Community
- mcuconf.h ~ Added STM32_* switches
I will keep you up to date. Next stop will be the DMA2D hardware accelerator... but I still have to finish this LTDC driver
If you just want to give a look to the current source code, you can find it in the attachment (please don't judge hard, it's my first attempt