When compiling and uploading XIAO_BLE sketches with ArduinoIDE2.0, the following error may occur.
Compilation error: Error resolving FQBN: getting build properties for board Seeeduino:mbed:xiaonRF52840Sense: invalid option 'softdevice'
Property 'upload.tool.serial' is undefined
The following link shows the cause and workaround.
If the brackets don’t all match up, the result is a compile time error. The fix to this compile error is to add a leading round bracket after the println to make the error go away: int x = 10; System.
I don’t understand how your post relates to this topic “How to avoid compile and upload errors in XIAO_BLE with ArduinoIDE2.0” If you don’t mind, could you please explain a little more?