[env:catsniffer]
extends = rp2040_base
board = rpipico
upload_protocol = picotool

build_flags = ${rp2040_base.build_flags} 
  -DRPI_PICO
  -Ivariants/ec_catsniffer
  -DDEBUG_RP2040_PORT=Serial
  # -DHW_SPI1_DEVICE
  -L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m0plus"
lib_deps =
  ${rp2040_base.lib_deps}
debug_build_flags = ${rp2040_base.build_flags}, -g
debug_tool = cmsis-dap