From f9f30ed15b7f5df517372e6b432733c8739f5f82 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 26 Jul 2019 17:22:55 +0200 Subject: [PATCH 1/2] cpu/atmega32u4: Removed incorrect interrupt Currently the configuration claims that external interrupt INT4 is present on pin PE7. However, the ATmega32U4 datasheet (section 10.3.4 page 81) contains the following remark to pin PE7: "Not present on pin-out". This commit removes the PE7 from the interrupt config. --- cpu/atmega32u4/include/periph_cpu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpu/atmega32u4/include/periph_cpu.h b/cpu/atmega32u4/include/periph_cpu.h index 7bb719dfc0..603ef70625 100644 --- a/cpu/atmega32u4/include/periph_cpu.h +++ b/cpu/atmega32u4/include/periph_cpu.h @@ -45,8 +45,7 @@ enum { #define CPU_ATMEGA_EXT_INTS { GPIO_PIN(PORT_D, 0), \ GPIO_PIN(PORT_D, 1), \ GPIO_PIN(PORT_D, 2), \ - GPIO_PIN(PORT_D, 3), \ - GPIO_PIN(PORT_E, 7) } + GPIO_PIN(PORT_D, 3) } /** * @name Defines for the I2C interface From e354c8f7816b5d6c9dd2e9041d6f2a99324af116 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 26 Jul 2019 17:27:50 +0200 Subject: [PATCH 2/2] boards/arduino-leonardo: Add missing dependencies Somehow Makefile.dep was missing on the Arduino Leonardo. This commit adds it. --- boards/arduino-leonardo/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 boards/arduino-leonardo/Makefile.dep diff --git a/boards/arduino-leonardo/Makefile.dep b/boards/arduino-leonardo/Makefile.dep new file mode 100644 index 0000000000..580e800f2f --- /dev/null +++ b/boards/arduino-leonardo/Makefile.dep @@ -0,0 +1,3 @@ +USEMODULE += boards_common_arduino-atmega + +include $(RIOTBOARD)/common/arduino-atmega/Makefile.dep