Files
VersaMCU/platformio.ini
T

30 lines
1.0 KiB
INI
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
; VersaPad v2 PlatformIO Configuration
; Custom SAMD21G17D board (custom PCB)
; Programmer: Atmel-ICE via SWD (kein Bootloader nötig)
[common]
platform = atmelsam
framework = arduino
board_build.variants_dir = ${PROJECT_DIR}/variants
lib_deps = adafruit/Adafruit NeoPixel
build_flags =
-DUSB_PRODUCT='"VersaPad v2"'
-DUSB_MANUFACTURER='"Custom"'
-DUSB_VID=0x239A
-DUSB_PID=0x0042
-DCRYSTALLESS
; ── Atmel-ICE via SWD (Hauptkonfiguration) ────────────────────────────────────
[env:versapad]
extends = common
board = versapad_nobl
upload_protocol = custom
extra_scripts = upload_openocd.py
debug_tool = openocd
; ── USB SAM-BA (nur wenn Bootloader geflasht ist) ─────────────────────────────
; [env:versapad_usb]
; extends = common
; board = versapad
; upload_protocol = sam-ba