From 66757bc85532cb0a9db56e6943303782e0a42637 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Wed, 30 Apr 2025 10:03:08 +0300 Subject: [PATCH 1/2] loader/fixup: Fix SMH init priority. Probably a copy&paste error. --- loader/fixups.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/fixups.c b/loader/fixups.c index 5832319c..cf5e60cd 100644 --- a/loader/fixups.c +++ b/loader/fixups.c @@ -99,7 +99,7 @@ int smh_init(void) { return 0; } -SYS_INIT(smh_init, POST_KERNEL, CONFIG_CLOCK_CONTROL_PWM_INIT_PRIORITY); +SYS_INIT(smh_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT); #endif #if defined(CONFIG_BOARD_ARDUINO_PORTENTA_C33) && defined(CONFIG_LLEXT) @@ -144,4 +144,4 @@ int maybe_flash_bootloader(void) SYS_INIT(maybe_flash_bootloader, POST_KERNEL, CONFIG_FILE_SYSTEM_INIT_PRIORITY); -#endif \ No newline at end of file +#endif From 946f426720b88683172955227fe1c333a4f77c9f Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Wed, 30 Apr 2025 10:06:11 +0300 Subject: [PATCH 2/2] variants/arduino_giga_r1_stm32h747xx_m7: Enable SMH for display. The LTDC will have its own SMH option, and the upstream shield config will Not enable this by default. --- .../arduino_giga_r1_stm32h747xx_m7.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf b/variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf index 5ffbcf1b..1305dea1 100644 --- a/variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf +++ b/variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf @@ -45,4 +45,6 @@ CONFIG_VIDEO_BUFFER_SMH_ATTRIBUTE=2 CONFIG_VIDEO_GC2145=y CONFIG_DISPLAY=y -CONFIG_INPUT=y \ No newline at end of file +CONFIG_INPUT=y +CONFIG_STM32_LTDC_FB_USE_SHARED_MULTI_HEAP=y +CONFIG_STM32_LTDC_FB_SMH_ATTRIBUTE=2 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy