Unable to use I2C_1 on UART_1 pins (PB_7 and PB_6) with Mbed OS

I need to connect two I2C sensors with the same slave address to the RAK3172 board.

One of them is connected to pins PA_11 and PA_12 and works properly…

but as soon as I try to configure I2C1 on pins PB_7 (SDA) and PB_6 (SCL) the debugger gets stuck.

Has anyone been able to use a second I2C port with RAK3172?

This works

But this doesn’t work