XIAO 2040 Takes forever to compile and incurs uploading errors


I just purchased some XIAO 2040 boards without realizing they were different from the originals. I downloaded the XIAO RP2040 board software from the library. A program that used to compile in about 30 seconds now takes about 2 minutes. The upload process begins but hangs up and, if I press the reset button on the XIAO, I receive an error message regarding the upload.

Can anyone suggest anything I should be doing, short of trashing twenty RP2040 boards and reordering the original devices?

Which IDE and SDK are you using?

If it is Arduino, there are two boards packages: one works, the other not.

See XIAO RP2040, RP2040 SDK and APIs - #10 by reivilo to pick the right one.