Initial commit

This commit is contained in:
2026-03-29 14:47:13 +02:00
commit b49984b9c0
32 changed files with 2394 additions and 0 deletions
+29
View File
@@ -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