[env:rak11310]
extends = rp2040_base
board = wiscore_rak11300
upload_protocol = picotool
# keep an old SDK to use less memory.
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#3.7.2

# add our variants files to the include and src paths
build_flags = ${rp2040_base.build_flags} 
  -DRAK11310
  -Ivariants/rak11310
  -DDEBUG_RP2040_PORT=Serial
  -L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m0plus"
lib_deps =
  ${rp2040_base.lib_deps}
debug_build_flags = ${rp2040_base.build_flags}
debug_tool = cmsis-dap ; for e.g. Picotool