Adds AT90USB162 support (#11570)

* at90usb162 support

* fix missing bracket

* Apply suggestions from code review

Co-authored-by: Ryan <[email protected]>

Co-authored-by: Ryan <[email protected]>
This commit is contained in:
DaskyandRyan authored and GitHub committed 2021-01-29 19:53:56 -08:00
1 parent 3780ab3fcd
commit d92ffd1157
19 files changed
+42 -34

No files matched your search

+1 -1
View File
@@ -222,7 +222,7 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
$(error "$(RGB_MATRIX_DRIVER)" is not a valid matrix type)
endif
OPT_DEFS += -DRGB_MATRIX_ENABLE
ifneq (,$(filter $(MCU), atmega16u2 atmega32u2))
ifneq (,$(filter $(MCU), atmega16u2 atmega32u2 at90usb162))
# ATmegaxxU2 does not have hardware MUL instruction - lib8tion must be told to use software multiplication routines
OPT_DEFS += -DLIB8_ATTINY
endif