avr: Add support for atmega328 chip

The atmega328 is basically the same as the atmega168 - it just adds
some additional memory.  Allow the chip to be selected during the
build.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2017-05-28 10:45:32 -04:00
parent 7e3d7e071f
commit d2547ce6b0
3 changed files with 8 additions and 5 deletions

View File

@@ -24,6 +24,8 @@ choice
bool "at90usb1286"
config MACH_atmega644p
bool "atmega644p"
config MACH_atmega328
bool "atmega328"
config MACH_atmega168
bool "atmega168"
endchoice
@@ -31,6 +33,7 @@ endchoice
config MCU
string
default "atmega168" if MACH_atmega168
default "atmega328" if MACH_atmega328
default "atmega644p" if MACH_atmega644p
default "at90usb1286" if MACH_at90usb1286
default "atmega1280" if MACH_atmega1280