How compatible is the Xiao to an Arduino e.g. Nano?

Back to the subject of output drive strength : This from another forum. It compiles OK but I haven’t tested it.

To increase a given pin’s driver strength and allow it to source 7mA and sink 10mA, just add the following line after calling the pinMode() function. In this example the driver strength of digital pin D7 is increased:

PORT->Group[g_APinDescription[7].ulPort].PINCFG[g_APinDescription[7].ulPin].bit.DRVSTR = 1;

Subsequent calls to the digitalWrite() function don’t affect the DRVSTR bit in any way.