SoftI2C with MKRZero

Hi,
I'm having issues with SoftI2C library with MKRZero and I'm wondering if it is due to the fact that MKRZero has an ARM micro.
The issue seems to be coming from port assignment commands (from the library):

#define SCL_PIN 2
#define SCL_PORT PORTD
#define SDA_PIN 0
#define SDA_PORT PORTC

do I need to use a different command for ARM micros, and would SoftI2C work with MKRZero?
Thanks,

Umberto

You forgot the link to your library but from the short excerpt you posted it seems that only AVR CPUs are supported.

The SoftWire library (not to be confused with SoftwareWire library which is also for AVRs only) uses the Arduino primitives and should be compatible with most platforms available in the Arduino IDE. But it's not API compatible with the Wire library so you need to change a lot to adapt a library built for the Wire library to the SoftWire library.