Study if Pin remapping for some G0 could be rederence in PeripheralPins.c or PinNameVar.h See https://github.com/stm32duino/Arduino_Core_STM32/issues/858