Variable to identify which type of Xiao we are on?

Hi !
I made a code which works perfectly on the regular Xiao, but it seems Xiao RP2040 uses Serial1 instead of Serial, so I’m trying to make my code compatible with both versions

I tested with a user variable I set to “true”, but I think there is perhaps a way to use a pre-defined variable which exists when we compile for RP2040 and which doesn’t exist if we compile for regular Xiao.

I found ARDUINO_ARCH_RP2040, does it work for RP2040 Xiao ?

Thanks