[env:pico2]
extends = rp2350_base
board = rpipico2
board_level = pr
upload_protocol = picotool

# add our variants files to the include and src paths
build_flags =
  ${rp2350_base.build_flags}
  -D RPI_PICO2
  -I variants/rp2350/rpipico2
  -D DEBUG_RP2040_PORT=Serial
  -D HW_SPI1_DEVICE
lib_deps =
  ${rp2350_base.lib_deps}
debug_build_flags = ${rp2350_base.build_flags}, -g
debug_tool = cmsis-dap ; for e.g. Picotool
