Skip to content

Commit a271049

Browse files
committed
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
1 parent ced207d commit a271049

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

loader/fixups.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ SYS_INIT(disable_bootloader_mpu, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAU
3939
SYS_INIT(disable_mpu_rasr_xn, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
4040
#endif
4141

42-
#if defined(CONFIG_BOARD_ARDUINO_GIGA_R1) && defined(CONFIG_VIDEO)
42+
#if (defined(CONFIG_BOARD_ARDUINO_GIGA_R1) || defined(CONFIG_BOARD_ARDUINO_PORTENTA_H7)) \
43+
&& defined(CONFIG_VIDEO)
4344
#include <zephyr/kernel.h>
4445
#include <zephyr/device.h>
4546
#include <zephyr/drivers/clock_control.h>

0 commit comments

Comments
 (0)