Skip to content

Commit 3bbf8a0

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 0d80138 commit 3bbf8a0

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
@@ -71,7 +71,8 @@ static void zephyr_input_callback(struct input_event *evt, void *user_data) {
7171
INPUT_CALLBACK_DEFINE(NULL, zephyr_input_callback, NULL);
7272
#endif
7373

74-
#if defined(CONFIG_BOARD_ARDUINO_GIGA_R1) && defined(CONFIG_VIDEO)
74+
#if (defined(CONFIG_BOARD_ARDUINO_GIGA_R1) || defined(CONFIG_BOARD_ARDUINO_PORTENTA_H7)) \
75+
&& defined(CONFIG_VIDEO)
7576
#include <zephyr/kernel.h>
7677
#include <zephyr/device.h>
7778
#include <zephyr/drivers/clock_control.h>

0 commit comments

Comments
 (0)