-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: shield: add support for stm32f769i_disco board
Add support for STMicroelectronics B-LCD40-DSI1 shield to stm32f769i_disco board. Default config for lvgl is adjusted to lower value to fix compilation issue on low memory footprint stm32f769i_disco. region `IDT_LIST' overflowed by 121081 bytes bss ' will not fit in region `RAM' ld.bfd: region `RAM' overflowed by 1220664 bytes collect2: error: ld returned 1 exit status Signed-off-by: Saravanan Sekar <[email protected]>
- Loading branch information
Showing
7 changed files
with
119 additions
and
8 deletions.
There are no files selected for viewing
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
5 changes: 5 additions & 0 deletions
5
boards/shields/st_b_lcd40_dsi1_mb1166/boards/st_b_lcd40_dsi1_mb1166/stm32f769i_disco.conf
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,5 @@ | ||
# Copyright (c) 2024 Linumiz | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Initialize after LTDC and MIPI-DSI | ||
CONFIG_DISPLAY_OTM8009A_INIT_PRIORITY=87 |
22 changes: 22 additions & 0 deletions
22
boards/shields/st_b_lcd40_dsi1_mb1166/boards/st_b_lcd40_dsi1_mb1166/stm32f769i_disco.overlay
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,22 @@ | ||
/* | ||
* Copyright (c) 2024 Linumiz | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
<dc { | ||
/* orisetech, otm8009a */ | ||
display-timings { | ||
compatible = "zephyr,panel-timing"; | ||
hsync-active = <0>; | ||
vsync-active = <0>; | ||
de-active = <0>; | ||
pixelclk-active = <0>; | ||
hsync-len = <2>; | ||
vsync-len = <1>; | ||
hback-porch = <34>; | ||
vback-porch = <15>; | ||
hfront-porch = <34>; | ||
vfront-porch = <16>; | ||
}; | ||
}; |
6 changes: 6 additions & 0 deletions
6
boards/shields/st_b_lcd40_dsi1_mb1166/boards/stm32f769i_disco.conf
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,6 @@ | ||
# Copyright (c) 2024 Linumiz | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
CONFIG_MEMC=y | ||
CONFIG_STM32_LTDC_RGB888=y | ||
CONFIG_HEAP_MEM_POOL_SIZE=65536 |
41 changes: 41 additions & 0 deletions
41
boards/shields/st_b_lcd40_dsi1_mb1166/boards/stm32f769i_disco.overlay
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,41 @@ | ||
/* | ||
* Copyright (c) 2024 Linumiz | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <zephyr/dt-bindings/display/panel.h> | ||
|
||
/ { | ||
lvgl_pointer { | ||
compatible = "zephyr,lvgl-pointer-input"; | ||
input = <&ft5336>; | ||
}; | ||
|
||
chosen { | ||
zephyr,display = <dc; | ||
}; | ||
}; | ||
|
||
<dc { | ||
status = "okay"; | ||
ext-sdram = <&sdram1>; | ||
width = <800>; | ||
height = <480>; | ||
def-back-color-red = <0>; | ||
def-back-color-green = <0>; | ||
def-back-color-blue = <0>; | ||
pixel-format = <PANEL_PIXEL_FORMAT_RGB_888>; | ||
}; | ||
|
||
&mipi_dsi { | ||
status = "okay"; | ||
|
||
pll-ndiv = <100>; | ||
pll-idf = <5>; | ||
pll-odf = <0>; | ||
|
||
vs-active-high; | ||
hs-active-high; | ||
de-active-high; | ||
}; |
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 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