diff options
author | Karel Kočí <cynerd@email.cz> | 2016-03-09 10:16:36 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-03-09 10:16:36 +0100 |
commit | bee96673c5853b254a75d91934d92395e4d3aa5c (patch) | |
tree | 9bde94041a0fff670edd113bd76dbb1e34b98287 | |
parent | 5d29fe79d30f430ae326d9dc57ccfaed6fe61328 (diff) | |
download | avr-ioe-bee96673c5853b254a75d91934d92395e4d3aa5c.tar.gz avr-ioe-bee96673c5853b254a75d91934d92395e4d3aa5c.tar.bz2 avr-ioe-bee96673c5853b254a75d91934d92395e4d3aa5c.zip |
Add basic support for ATtiny4313
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | include/mcu/Kconfig | 3 | ||||
-rw-r--r-- | include/mcu/attiny4313.Kconfig | 7 |
3 files changed, 16 insertions, 0 deletions
@@ -65,6 +65,9 @@ ifeq (,$(findstring help,$(MAKECMDGOALS))) ifeq (,$(findstring docs,$(MAKECMDGOALS))) ifeq (,$(findstring serve-docs,$(MAKECMDGOALS))) ifeq (,$(findstring clean-docs,$(MAKECMDGOALS))) +ifeq (,$(findstring config,$(MAKECMDGOALS))) +ifeq (,$(findstring oldconfig,$(MAKECMDGOALS))) +ifeq (,$(findstring menuconfig,$(MAKECMDGOALS))) include $(CONFIG) -include $(DEP) @@ -97,6 +100,9 @@ endif endif endif endif +endif +endif +endif else libioe.a: 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 |