diff options
Diffstat (limited to 'quantum/mcu_selection.mk')
| -rw-r--r-- | quantum/mcu_selection.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/quantum/mcu_selection.mk b/quantum/mcu_selection.mk index 33de162bb..a1d2c5fbf 100644 --- a/quantum/mcu_selection.mk +++ b/quantum/mcu_selection.mk | |||
| @@ -288,6 +288,24 @@ ifneq (,$(filter $(MCU),atmega328p)) | |||
| 288 | NO_SUSPEND_POWER_DOWN ?= yes | 288 | NO_SUSPEND_POWER_DOWN ?= yes |
| 289 | endif | 289 | endif |
| 290 | 290 | ||
| 291 | ifneq (,$(filter $(MCU),atmega328)) | ||
| 292 | # MCU name for avrdude | ||
| 293 | AVRDUDE_MCU = m328 | ||
| 294 | |||
| 295 | PROTOCOL = VUSB | ||
| 296 | |||
| 297 | # Processor frequency. | ||
| 298 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 299 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 300 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 301 | # automatically to create a 32-bit value in your source code. | ||
| 302 | F_CPU ?= 16000000 | ||
| 303 | |||
| 304 | # unsupported features for now | ||
| 305 | NO_UART ?= yes | ||
| 306 | NO_SUSPEND_POWER_DOWN ?= yes | ||
| 307 | endif | ||
| 308 | |||
| 291 | ifneq (,$(filter $(MCU),attiny85)) | 309 | ifneq (,$(filter $(MCU),attiny85)) |
| 292 | PROTOCOL = VUSB | 310 | PROTOCOL = VUSB |
| 293 | 311 | ||
