[env:seeed_xiao_rp2040]
extends = rp2040_base
board = seeed_xiao_rp2040
board_level = pr
upload_protocol = picotool
# add our variants files to the include and src paths
build_src_filter = ${rp2040_base.build_src_filter} +<../variants/rp2040/seeed_xiao_rp2040/>
build_flags =
  ${rp2040_base.build_flags}
  -D PRIVATE_HW
  -D SEEED_XIAO_RP2040
  -I variants/rp2040/seeed_xiao_rp2040
  -D DEBUG_RP2040_PORT=Serial
  ;-D HW_SPI1_DEVICE
debug_build_flags = ${rp2040_base.build_flags}, -g
debug_tool = cmsis-dap ; for e.g. Picotool
