Skip to content

Fix giga display config. #117

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

Open
wants to merge 2 commits into
base: arduino
Choose a base branch
from

Conversation

iabdalkader
Copy link

The SMH will not be enabled for the shield by default, so we need to enable it here. There's also a new option to enable SMH for the display (and configure its attributes) which is used here. This should be merged when zephyrproject-rtos/zephyr#89246 is merged and after an update.

Note this dc22eb9 can probably be reverted. The whole SDRAM can be used for SMH, unless some other drivers use SDRAM outside of SMH (in this case they should also be converted to use SMH).

Probably a copy&paste error.
The LTDC will have its own SMH option, and the upstream shield
config will Not enable this by default.
@KurtE
Copy link

KurtE commented Apr 30, 2025

@iabdalkader - I tried bringing this into my current build and it fails to build the variant:

/home/kurte/git/ArduinoCore-zephyr/loader/../variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf:50: warning: attempt to assign the value '2' to the undefined symbol STM32_LTDC_FB_SMH_ATTRIBUTE
Parsing /home/kurte/git/zephyr/Kconfig

Now that I look at it, looks like it failed on the same line in the code checks. as well.

Is it maybe supposed to be: CONFIG_STM32_LTDC_FB_NUM ?
And allocating two frame buffers?

@iabdalkader
Copy link
Author

This should be merged when zephyrproject-rtos/zephyr#89246 is merged and after an update.

Also this PR may change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants