diff options
author | Joel Challis <git@zvecr.com> | 2020-04-02 22:23:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 22:23:57 +0100 |
commit | 9c4bf0ac4aed4ab315f27bfa5d2f54b0dd931138 (patch) | |
tree | 65e9caa97daa7616565835b0c0b88fe4ce79a8c4 /quantum/mcu_selection.mk | |
parent | f2901375ce9fbf14e4a95eabf3b6abc7bfbc4300 (diff) | |
download | firmware-9c4bf0ac4aed4ab315f27bfa5d2f54b0dd931138.tar.gz firmware-9c4bf0ac4aed4ab315f27bfa5d2f54b0dd931138.tar.bz2 firmware-9c4bf0ac4aed4ab315f27bfa5d2f54b0dd931138.zip |
Initial support for ATtiny85 (#8632)
* Initial support for ATtiny85
* Update mcu selection
Diffstat (limited to 'quantum/mcu_selection.mk')
-rw-r--r-- | quantum/mcu_selection.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/quantum/mcu_selection.mk b/quantum/mcu_selection.mk index ef7e8ae75..33de162bb 100644 --- a/quantum/mcu_selection.mk +++ b/quantum/mcu_selection.mk @@ -287,3 +287,18 @@ ifneq (,$(filter $(MCU),atmega328p)) NO_UART ?= yes NO_SUSPEND_POWER_DOWN ?= yes endif + +ifneq (,$(filter $(MCU),attiny85)) + PROTOCOL = VUSB + + # Processor frequency. + # This will define a symbol, F_CPU, in all source code files equal to the + # processor frequency in Hz. You can then use this symbol in your source code to + # calculate timings. Do NOT tack on a 'UL' at the end, this will be done + # automatically to create a 32-bit value in your source code. + F_CPU ?= 16500000 + + # unsupported features for now + NO_UART ?= yes + NO_SUSPEND_POWER_DOWN ?= yes +endif |