Initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
; VersaPad v2 – PlatformIO Configuration
|
||||
; Custom SAMD21G18A 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
|
||||
Reference in New Issue
Block a user