-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
base: arduino
Are you sure you want to change the base?
Conversation
Probably a copy&paste error.
The LTDC will have its own SMH option, and the upstream shield config will Not enable this by default.
@iabdalkader - I tried bringing this into my current build and it fails to build the variant:
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 ? |
Also this PR may change. |
Thanks. I have tried to build a few different Zephyr ones like:
But it fails to build.
Note: My zephyr branch I am using is one that I have changes to add the Teensy Micromod board, which I rebased a few days ago. Thanks! |
I don't know of any samples that do that, but I haven't tried many samples.
Yes, that's what I'm fixing in zephyrproject-rtos/zephyr#89246 |
@KurtE zephyrproject-rtos/zephyr#89246 has been merged, so you should be able to build the upstream samples. |
Thanks I will try it. Note: On THIS pr I believe you will also need to update boards.txt in the root directory.
And I believe that last line needs to change to: |
I tried it and now the build fails with the code not fitting...
|
Maybe there's not enough flash for that demo/sample, but this now builds:
|
Fixed, thanks! |
Thanks, that does build and run. It shows hello world and a little text at bottom with what looks like loop count... Thanks again |
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).