aboutsummaryrefslogtreecommitdiff
path: root/atmel-samd/Makefile
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2016-11-22 12:03:42 -0800
committerScott Shawcroft <scott.shawcroft@gmail.com>2016-11-22 12:03:42 -0800
commitcc412a80adf8ace5e5daa94be995d710727a1ead (patch)
treeac2952d40effa9512f78b0399185bf670c002562 /atmel-samd/Makefile
parent8d5c90b0d0194f6b9f94d8f5758852e49b0255f3 (diff)
atmel-samd: Support Trinket and Gemma M0 prototypes.
Diffstat (limited to 'atmel-samd/Makefile')
-rw-r--r--atmel-samd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/atmel-samd/Makefile b/atmel-samd/Makefile
index 90bde67a5..a83c71e4b 100644
--- a/atmel-samd/Makefile
+++ b/atmel-samd/Makefile
@@ -95,7 +95,7 @@ CFLAGS_CORTEX_M0 = \
-Wnested-externs \
-Wunreachable-code \
-Wcast-align \
- -D__SAMD21G18A__ \
+ -D__$(CHIP_VARIANT)__ \
-DUSB_DEVICE_PRODUCT_ID=$(USB_PID) \
-DUSB_DEVICE_VENDOR_ID=$(USB_VID) \
-DBOARD=USER_BOARD \