From a271049e59ba54176142fba508c1d8c570c49498 Mon Sep 17 00:00:00 2001 From: Kurt Eckhardt Date: Thu, 14 Aug 2025 06:47:59 -0700 Subject: [PATCH] Enable Camera clock on Arduino Portenta H7 We need to start the clock in the same way as we do for the Arduino GIGA. As without the clock started, most cameras will not even make the camera visible to I2C --- loader/fixups.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/loader/fixups.c b/loader/fixups.c index cf5e60cd..acd569e3 100644 --- a/loader/fixups.c +++ b/loader/fixups.c @@ -39,7 +39,8 @@ SYS_INIT(disable_bootloader_mpu, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAU SYS_INIT(disable_mpu_rasr_xn, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT); #endif -#if defined(CONFIG_BOARD_ARDUINO_GIGA_R1) && defined(CONFIG_VIDEO) +#if (defined(CONFIG_BOARD_ARDUINO_GIGA_R1) || defined(CONFIG_BOARD_ARDUINO_PORTENTA_H7)) \ + && defined(CONFIG_VIDEO) #include #include #include