diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-04-02 21:37:44 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2018-04-02 21:37:44 -0400 |
| commit | beb6ad2e401ba4d1c5a9540fa912831bd49fe30d (patch) | |
| tree | 2e305d6ba8c90de4b7804fd98f4e2ff8a925faf7 | |
| parent | 435e894fa0ec5e9ce82b7bdef308413c6731e06a (diff) | |
Add USB HID support, including Consumer Control
| -rw-r--r-- | ports/atmel-samd/Makefile | 2 | ||||
| m--------- | tools/usb_descriptor | 0 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ports/atmel-samd/Makefile b/ports/atmel-samd/Makefile index 39625ad95..16f789c52 100644 --- a/ports/atmel-samd/Makefile +++ b/ports/atmel-samd/Makefile @@ -72,6 +72,7 @@ BASE_CFLAGS = \ -Wnested-externs \ -Wunreachable-code \ -Wcast-align \ + -Wno-error=lto-type-mismatch \ -D__$(CHIP_VARIANT)__ \ -ffunction-sections \ -fdata-sections \ @@ -81,6 +82,7 @@ BASE_CFLAGS = \ -DCIRCUITPY_SAFE_RESTART_WORD=0xDEADBEEF \ --param max-inline-insns-single=500 + # NDEBUG disables assert() statements. This reduces code size pretty dramatically, per tannewt. ifeq ($(CHIP_FAMILY), samd21) diff --git a/tools/usb_descriptor b/tools/usb_descriptor -Subproject 2edd94c50b67ac2acc665a5b06e34c2625a8f62 +Subproject 1ad93335ef3b41c473612eb49b6cf81f6955579 |
