From 82cd95d3c5b22234d22ca7b3d7f902163c839bea Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 9 Nov 2019 14:59:44 -0800 Subject: [PATCH] Add Arduino NANO 33 IoT Pretty basic SAMD21G18A port with a single LED on PA17 https://store.arduino.cc/usa/nano-33-iot Signed-off-by: Keith Packard --- boards/nano33iot/board.mk | 2 ++ boards/nano33iot/board_config.h | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 boards/nano33iot/board.mk create mode 100644 boards/nano33iot/board_config.h diff --git a/boards/nano33iot/board.mk b/boards/nano33iot/board.mk new file mode 100644 index 00000000..0a90fdf6 --- /dev/null +++ b/boards/nano33iot/board.mk @@ -0,0 +1,2 @@ +CHIP_FAMILY = samd21 +CHIP_VARIANT = SAMD21G18A diff --git a/boards/nano33iot/board_config.h b/boards/nano33iot/board_config.h new file mode 100644 index 00000000..ac4f89ce --- /dev/null +++ b/boards/nano33iot/board_config.h @@ -0,0 +1,17 @@ +#ifndef BOARD_CONFIG_H +#define BOARD_CONFIG_H + +#define CRYSTALLESS 1 + +#define VENDOR_NAME "Arduino SA" +#define PRODUCT_NAME "Arduino NANO 33 IoT" +#define VOLUME_LABEL "NANOBOOT" +#define INDEX_URL "https://store.arduino.cc/usa/nano-33-iot" +#define BOARD_ID "SAMD21G18A-NANO-33" + +#define USB_VID 0x2341 +#define USB_PID 0x0057 + +#define LED_PIN PIN_PA17 + +#endif