forked from RT-Thread/rt-thread
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bsp][renesas]fix ra6m3 can't use lcd problem.
- Loading branch information
1 parent
24373e1
commit 61fac62
Showing
4 changed files
with
59 additions
and
45 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
bsp/renesas/libraries/HAL_Drivers/config/ra6m3/lcd_config.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright (c) 2006-2024, RT-Thread Development Team | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Change Logs: | ||
* Date Author Notes | ||
* 2024-03-01 Rbb666 the first version | ||
*/ | ||
#ifndef __LCD_CONFIG_H_ | ||
#define __LCD_CONFIG_H_ | ||
|
||
typedef enum | ||
{ | ||
ROTATION_ZERO = 0, | ||
ROTATION_090 = 90, | ||
ROTATION_180 = 180, | ||
ROTATION_270 = 270, | ||
} bsp_rotation; | ||
|
||
#define LCD_WIDTH DISPLAY_HSIZE_INPUT0 | ||
#define LCD_HEIGHT DISPLAY_VSIZE_INPUT0 | ||
#define LCD_BITS_PER_PIXEL DISPLAY_BITS_PER_PIXEL_INPUT1 | ||
#define LCD_PIXEL_FORMAT RTGRAPHIC_PIXEL_FORMAT_RGB565 | ||
#define LCD_BUF_SIZE (LCD_WIDTH * LCD_HEIGHT * LCD_BITS_PER_PIXEL / 8) | ||
|
||
#define ENABLE_DOUBLE_BUFFER (0) | ||
|
||
#define LCD_BL_PIN BSP_IO_PORT_01_PIN_00 | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters