While trying to get an I2C device to work on pins 101 and 102 of a Giga R1 I ran into a problem using Wire1. Using the code below causes the board to crash. Both Wire and Wire2 do not appear to have this issue.
#include "Wire.h"
void setup() {
// put your setup code here, to run once:
Wire1.begin();
}
void loop() {
// put your main code here, to run repeatedly:
}
EDIT:
Rolling back to Mbed OS version 4.0.10 this issue does not occur. Only seems to happen on version 4.1.1