-
Notifications
You must be signed in to change notification settings - Fork 8k
Enable LTDC/DSI on stm32f469i-disco using PLLSAI #95954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,39 @@ config SPI_STM32_INTERRUPT | |
default y | ||
depends on SPI | ||
|
||
if LVGL | ||
|
||
# Double frame buffer maintained by lvgl. | ||
config STM32_LTDC_FB_NUM | ||
default 0 | ||
|
||
config LV_Z_DOUBLE_VDB | ||
default y | ||
|
||
config LV_Z_VDB_ZEPHYR_REGION | ||
default y | ||
|
||
config LV_Z_VDB_ZEPHYR_REGION_NAME | ||
default "SDRAM1" | ||
|
||
config LV_Z_FULL_REFRESH | ||
default y | ||
|
||
config INPUT | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not specific to LVGL. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree, it is not specific to LVGL, however in a sense it often comes with LVGL and I feel that having this LVGL part within the Kconfig.defconfig allows to avoid having to add a board specifc conf in each LVGL sample apps. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, just needs to be outside There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This part is common with settings present in M1166 display shield There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Having checked a bit more, I am having 2nd thought about this config INPUT in fact.
So, for all those reasons, I actually think that we just shouldn't have config INPUT at all in this Kconfig.defconfig, this is a matter of the project to say if it wants to have the INPUT available or not based on its needs. Does this make sense ? While this is also done in several other Kconfig.defconfig around for other STM32 boards/shield, I think this should not be put in here and should actually be removed from the existing places. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @phildefer, if you agree with my analysis, I let you remove this config INPUT from the Kconfig.default and I will shortly push a PR to avoid enforcing INPUT=y in the STM32 board / shield. |
||
default y | ||
|
||
config LV_Z_BITS_PER_PIXEL | ||
default 32 | ||
|
||
config LV_DPI_DEF | ||
default 128 | ||
|
||
config LV_Z_FLUSH_THREAD | ||
default y | ||
|
||
choice LV_COLOR_DEPTH | ||
default LV_COLOR_DEPTH_32 | ||
endchoice | ||
|
||
endif #LVGL | ||
endif # BOARD_STM32F469I_DISCO |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Copyright (c) 2025 Philippe Peurichard <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Initialize after LTDC and MIPI-DSI | ||
CONFIG_DISPLAY_OTM8009A_INIT_PRIORITY=87 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Copyright (c) 2025 STMicroelectronics | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
CONFIG_HEAP_MEM_POOL_SIZE=131072 |
Uh oh!
There was an error while loading. Please reload this page.