Boot stops if built with BHI and debug prints
If i build it with:
./bootstrap.sh -Ddebug_prints=true
and BHI
The boot UART looks nice like it starts the main.py
but it keep in bootloaders splashscreen.
After pressing the menu button the UART shows Failed to acquire I2C
:
Bootloader v1.4-1-gb0ee7a65
card10 init...
MAX7765x DIDM: 0x01 CID: 0x08
PWM started.
f_open error 4
card10.bin not found!
Trying to boot
[ 0] startup: Epicardium startup ...
[ 0] startup: Version v1.4-1-gb0ee7a65
[ 0] startup: Initializing hardware ...
MAX7765x DIDM: 0x01 CID: 0x08
[ 0] fatfs: FatFs mounted
[ 0] startup: Initializing tasks ...
[ 0] ble: BLE is enabled.
[ 0] startup: Starting FreeRTOS ...
[ 0] lifecycle: Booting core 1 ...0m
m
[ 5] dispatcher: Ready.
[ 15] lifecycle: Loading "main.py" ...
[ 18] lifecycle: Triggering core 1 reset.
[ 26] init: Starting light sensor ...
[ 10097] hwlock: Lock 0 is busy.
[ 10099] pmic: Failed to acquire I2C. Retrying ...
[ 10607] hwlock: Lock 0 is busy.
[ 10609] pmic: Failed to acquire I2C. Retrying ...
[ 11117] hwlock: Lock 0 is busy.
[ 11119] pmic: Failed to acquire I2C. Retrying ...