After installing the new board libraries, I’m getting the following error when compiling:
Detecting libraries used...
/home/user/.arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040/defines.txt @/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10815 -DARDUINO_SEEED_XIAO_RP2040 -DARDUINO_ARCH_RP2040 -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/cores/arduino -I/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040 -I/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/cores/arduino/api/deprecated -I/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/cores/arduino/api/deprecated-avr-comp -iprefix/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/cores/arduino @/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040/includes.txt /tmp/arduino_build_251158/sketch/Blink.ino.cpp -o /dev/null
Error while detecting libraries included by /tmp/arduino_build_251158/sketch/Blink.ino.cpp
Generating function prototypes...
/home/user/.arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040/defines.txt @/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10815 -DARDUINO_SEEED_XIAO_RP2040 -DARDUINO_ARCH_RP2040 -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/cores/arduino -I/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040 -I/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/cores/arduino/api/deprecated -I/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/cores/arduino/api/deprecated-avr-comp -iprefix/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/cores/arduino @/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040/includes.txt /tmp/arduino_build_251158/sketch/Blink.ino.cpp -o /tmp/arduino_build_251158/preproc/ctags_target_for_gcc_minus_e.cpp
arm-none-eabi-g++: error: /home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040/defines.txt: No such file or directory
arm-none-eabi-g++: error: /home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040/cxxflags.txt: No such file or directory
arm-none-eabi-g++: error: /home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP2040/includes.txt: No such file or directory
exit status 1
Error compiling for board Seeed XIAO RP2040.
This error is occurring because
/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/SEEED_XIAO_RP204
was installed to
/home/user/.arduino15/packages/Seeeduino/hardware/rp2040/2.7.2/variants/Seeed_XIAO_RP204
If I change the directory name it compiles.