refactor: DMA2D and LTDC conversion to HAL/LL (#3036)

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
Malte Langermann
2023-10-23 18:58:02 +10:00
committed by GitHub
co-authored by Peter Feerick
parent d0ae5bd85c
commit 1af8b78256
24 changed files with 488 additions and 745 deletions
+8 -2
View File
@@ -571,10 +571,10 @@
#define LCD_RCC_APB2Periph RCC_APB2Periph_LTDC
#if defined(PCBX12S)
#define LCD_GPIO_NRST GPIOF
#define LCD_GPIO_PIN_NRST GPIO_Pin_10 // PF.10
#define LCD_GPIO_PIN_NRST LL_GPIO_PIN_10 // PF.10
#elif defined(PCBX10)
#define LCD_GPIO_NRST GPIOI
#define LCD_GPIO_PIN_NRST GPIO_Pin_10 // PI.10
#define LCD_GPIO_PIN_NRST LL_GPIO_PIN_10 // PI.10
#endif
#if defined(PCBX10) && !defined(RADIO_T18)
#define LCD_VERTICAL_INVERT
@@ -1052,4 +1052,10 @@
#define BT_EN_GPIO_PIN LL_GPIO_PIN_10 // PG.10
#endif
#define LCD_W 480
#define LCD_H 272
#define LCD_PHYS_H LCD_H
#define LCD_PHYS_W LCD_W
#define LCD_DEPTH 16
#endif // _HAL_H_