From d8b077aaa1a000444fe833e752c28f147115504c Mon Sep 17 00:00:00 2001 From: Luqmanul Hakim Zulkifli <49841356+mlhakimz@users.noreply.github.com> Date: Thu, 26 May 2022 00:19:11 +0800 Subject: [PATCH 1/2] Create board.mk for Cytron Maker Zero SAMD21 --- boards/cytron_maker_zero_samd21/board.mk | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 boards/cytron_maker_zero_samd21/board.mk diff --git a/boards/cytron_maker_zero_samd21/board.mk b/boards/cytron_maker_zero_samd21/board.mk new file mode 100644 index 00000000..0a90fdf6 --- /dev/null +++ b/boards/cytron_maker_zero_samd21/board.mk @@ -0,0 +1,2 @@ +CHIP_FAMILY = samd21 +CHIP_VARIANT = SAMD21G18A From d1f3f53a2c996074e7b4051cdb72d6d44b028fbb Mon Sep 17 00:00:00 2001 From: Luqmanul Hakim Zulkifli <49841356+mlhakimz@users.noreply.github.com> Date: Thu, 26 May 2022 00:21:09 +0800 Subject: [PATCH 2/2] Create board_config.h for Maker Zero SAMD21 --- boards/cytron_maker_zero_samd21/board_config.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 boards/cytron_maker_zero_samd21/board_config.h diff --git a/boards/cytron_maker_zero_samd21/board_config.h b/boards/cytron_maker_zero_samd21/board_config.h new file mode 100644 index 00000000..7eeb71e9 --- /dev/null +++ b/boards/cytron_maker_zero_samd21/board_config.h @@ -0,0 +1,17 @@ +#ifndef BOARD_CONFIG_H +#define BOARD_CONFIG_H + +#define VENDOR_NAME "Cytron Technologies" +#define PRODUCT_NAME "Maker Zero SAMD21" +#define VOLUME_LABEL "ZEROBOOT" + +#define BOARD_ID "SAMD21G18A-Zero-v0" + +#define USB_VID 0x04D8 +#define USB_PID 0xE799 + +#define LED_PIN PIN_PA17 +#define LED_TX_PIN PIN_PA27 +#define LED_RX_PIN PIN_PB03 + +#endif