Skip to content

STM32N6: Add display support #88641

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

Merged
merged 8 commits into from
Apr 22, 2025

Conversation

hfruchet-st
Copy link
Contributor

@hfruchet-st hfruchet-st commented Apr 15, 2025

Add display support for STM32N6. Enabled on STM32N6570-DK board running Rockchip
RK050HR18C 800x480 RGB 24bits panel connected to LTDC display parallel interface.
Framebuffer is configured in 800x480 RGB565 16 bits.

Tested on STM32N6570-DK:
west build -b stm32n6570_dk samples/drivers/display

Non-regression made on STM32H750B-DK:
west build -b stm32h750b_dk samples/drivers/display

Add stm32_psram PSRAM linker section.

Signed-off-by: Hugues Fruchet <[email protected]>
Add support of framebuffer in PSRAM memory.

Signed-off-by: Hugues Fruchet <[email protected]>
Copy link

Hello @hfr72, and thank you very much for your first pull request to the Zephyr project!
Our Continuous Integration pipeline will execute a series of checks on your Pull Request commit messages and code, and you are expected to address any failures by updating the PR. Please take a look at our commit message guidelines to find out how to format your commit messages, and at our contribution workflow to understand how to update your Pull Request. If you haven't already, please make sure to review the project's Contributor Expectations and update (by amending and force-pushing the commits) your pull request if necessary.
If you are stuck or need help please join us on Discord and ask your question there. Additionally, you can escalate the review when applicable. 😊

Copy link
Collaborator

@JarmouniA JarmouniA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to Zephyr :)

@hfruchet-st hfruchet-st force-pushed the iso_stm32n6_display branch from b2f92b7 to b21aaa5 Compare April 16, 2025 07:40
Copy link
Collaborator

@gautierg-st gautierg-st left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your great work, I only have a few comments

Add support of clock_configure() for clock source selection
through devicetree.

Signed-off-by: Hugues Fruchet <[email protected]>
Configure RIF for LTDC layer 1.

Signed-off-by: Hugues Fruchet <[email protected]>
Add LTDC node for STM32N6.

Signed-off-by: Hugues Fruchet <[email protected]>
Add support of Rockchip RK050HR18C 800x480 RGB 24bits
panel connected on LTDC display parallel interface of
STM32N6570-DK board.

Signed-off-by: Hugues Fruchet <[email protected]>
Add stm32n6570_dk conf file in order to increase the amount of
HEAP to ensure k_malloc allocation goes well.

Signed-off-by: Alain Volmat <[email protected]>
@hfruchet-st hfruchet-st force-pushed the iso_stm32n6_display branch from b21aaa5 to e9487b6 Compare April 16, 2025 09:30
gautierg-st
gautierg-st previously approved these changes Apr 16, 2025
In some case, we may need to describe a domain clock for a device
while there is no way to configure it.

Signed-off-by: Hugues Fruchet <[email protected]>
@hfruchet-st
Copy link
Contributor Author

Add patch "drivers: clock: stm32: h7: fixed domain clock configuration" after regression observed on STM32H750B-DK.

@kartben kartben merged commit 24c584d into zephyrproject-rtos:main Apr 22, 2025
27 checks passed
Copy link

Hi @hfr72!
Congratulations on getting your very first Zephyr pull request merged 🎉🥳. This is a fantastic achievement, and we're thrilled to have you as part of our community!

To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge.

Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁

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

Successfully merging this pull request may close these issues.

6 participants