aboutsummaryrefslogtreecommitdiff
path: root/include/mcu
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-03-09 10:16:36 +0100
committerKarel Kočí <cynerd@email.cz>2016-03-09 10:16:36 +0100
commitbee96673c5853b254a75d91934d92395e4d3aa5c (patch)
tree9bde94041a0fff670edd113bd76dbb1e34b98287 /include/mcu
parent5d29fe79d30f430ae326d9dc57ccfaed6fe61328 (diff)
downloadavr-ioe-bee96673c5853b254a75d91934d92395e4d3aa5c.tar.gz
avr-ioe-bee96673c5853b254a75d91934d92395e4d3aa5c.tar.bz2
avr-ioe-bee96673c5853b254a75d91934d92395e4d3aa5c.zip
Add basic support for ATtiny4313
Diffstat (limited to 'include/mcu')
-rw-r--r--include/mcu/Kconfig3
-rw-r--r--include/mcu/attiny4313.Kconfig7
2 files changed, 10 insertions, 0 deletions
diff --git a/include/mcu/Kconfig b/include/mcu/Kconfig
index a69903f..ef99dbd 100644
--- a/include/mcu/Kconfig
+++ b/include/mcu/Kconfig
@@ -1,11 +1,14 @@
config MMCU
string
default "atmega328p" if ATMEGA328P
+ default "attiny85" if ATTINY85
+ default "attiny4313" if ATTINY4313
choice MCU
prompt "Microcontroller (MMCU)"
source include/mcu/atmega328p.Kconfig
source include/mcu/attiny85.Kconfig
+source include/mcu/attiny4313.Kconfig
endchoice
diff --git a/include/mcu/attiny4313.Kconfig b/include/mcu/attiny4313.Kconfig
new file mode 100644
index 0000000..f685793
--- /dev/null
+++ b/include/mcu/attiny4313.Kconfig
@@ -0,0 +1,7 @@
+config ATTINY4313
+ bool "attiny4313"
+ select MCUSUPPORT_IOPORTS
+ select MCUSUPPORT_PCINT0
+ select MCUSUPPORT_PCINT1
+ select MCUSUPPORT_PCINT2
+ select MCUSUPPORT_USART