diff options
-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 |