diff options
| author | itsnoteasy <pyrosoma1@yahoo.ie> | 2020-06-10 22:23:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-10 22:23:11 +0100 |
| commit | 7aa4cc9603b8cdb0ea3ede753eff7d07a86a18b0 (patch) | |
| tree | c48255b3861208d8b85e341b68bbc827b5f06711 /quantum/mcu_selection.mk | |
| parent | e26bc21d1452dcf04332d300a874dacc8d74862d (diff) | |
| download | qmk_firmware-7aa4cc9603b8cdb0ea3ede753eff7d07a86a18b0.tar.gz qmk_firmware-7aa4cc9603b8cdb0ea3ede753eff7d07a86a18b0.zip | |
adds support for the atmega328 (#9043)
Co-authored-by: Ryan <fauxpark@gmail.com>
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 | ||
