Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards/xplained-pro: Provide board files for SAMD21 Xplained Pro. #219

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions boards/xplained-pro/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21J18A
18 changes: 18 additions & 0 deletions boards/xplained-pro/board_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define __SAMD21J18A__ 1

#define VENDOR_NAME "Microchip"
#define PRODUCT_NAME "SAMD21 Xplained Pro"
#define VOLUME_LABEL "SAMD21XPL"

#define USB_VID 0x04D8 // Microchip
#define USB_PID 0x2402 // Generic HID device

#define BOARD_ID "SAMD21J18A-Xplained-Pro"

#define LED_PIN PIN_PB30


#endif