aboutsummaryrefslogtreecommitdiff
path: root/include/mcu
diff options
context:
space:
mode:
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