I'm running into an issue in which I cannot initialized the I2C drivers on an Arduino Nano 33 BLE (nrf52840). The output from error logging is
I have this prj.conf file:
I have also modified the arduino_nano_33_ble.dts to enable mcu_boot and added the sensors into the &i2c1 device tree.
Additionally, I changed zephyr/boards/arm/arduino_nano_33_ble/src/init_sensors.c such that initializing function is called at APPLICATION instead of PRE_KERNEL_1. Not sure why but initializing GPIO devices will cause the device to go fault at Pre_KERNEL_1.
Here's my main.c file.
Let me know if you want me to provide any other information about my setup. I'm currently flashing the board with a NRF52840dk with a JLink cable. I have been stuck on this problem for a few days now and I'm not sure what's the problem is.