Skip to content

Commit c1c1415

Browse files
committed
Portenta H7: Enable Camera clock
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 cb3531e commit c1c1415

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

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

0 commit comments

Comments
 (0)