RP2040/RP2350: Migrate variants to new structure (#7345)

This commit is contained in:
Austin
2025-07-20 06:20:57 -05:00
committed by GitHub
co-authored by GitHub
parent 44518fea14
commit 9313d04726
25 changed files with 68 additions and 64 deletions
@@ -0,0 +1,15 @@
[env:feather_rp2040_rfm95]
extends = rp2040_base
board = adafruit_feather
upload_protocol = picotool
# add our variants files to the include and src paths
build_flags =
${rp2040_base.build_flags}
-D RP2040_FEATHER_RFM95
-I variants/rp2040/feather_rp2040_rfm95
-D DEBUG_RP2040_PORT=Serial
-D HW_SPI1_DEVICE
lib_deps =
${rp2040_base.lib_deps}
debug_build_flags = ${rp2040_base.build_flags}
debug_tool = cmsis-dap ; for e.g. Picotool