From 44803ea4fdfc592c06c8dc97e2d338c56a9dce55 Mon Sep 17 00:00:00 2001 From: Thomas Perrot Date: Mon, 3 Jul 2017 19:23:20 +0200 Subject: [PATCH 1/7] cpu/atmega32u4: add support for ATmega32U4 --- .../include/periph_conf_atmega_common.h | 69 +++++++++++++----- cpu/atmega32u4/Makefile | 6 ++ cpu/atmega32u4/Makefile.features | 1 + cpu/atmega32u4/Makefile.include | 18 +++++ cpu/atmega32u4/cpu.c | 30 ++++++++ cpu/atmega32u4/doc.txt | 10 +++ cpu/atmega32u4/include/cpu_conf.h | 50 +++++++++++++ cpu/atmega32u4/include/periph_cpu.h | 71 ++++++++++++++++++ cpu/atmega32u4/startup.c | 73 +++++++++++++++++++ .../include/atmega_regs_common.h | 7 ++ cpu/atmega_common/periph/adc.c | 2 +- cpu/atmega_common/periph/spi.c | 5 ++ cpu/atmega_common/periph/uart.c | 26 +++++++ cpu/atmega_common/thread_arch.c | 9 ++- sys/pipe/pipe_dynamic.c | 2 +- 15 files changed, 356 insertions(+), 23 deletions(-) create mode 100644 cpu/atmega32u4/Makefile create mode 100644 cpu/atmega32u4/Makefile.features create mode 100644 cpu/atmega32u4/Makefile.include create mode 100644 cpu/atmega32u4/cpu.c create mode 100644 cpu/atmega32u4/doc.txt create mode 100644 cpu/atmega32u4/include/cpu_conf.h create mode 100644 cpu/atmega32u4/include/periph_cpu.h create mode 100644 cpu/atmega32u4/startup.c diff --git a/boards/common/atmega/include/periph_conf_atmega_common.h b/boards/common/atmega/include/periph_conf_atmega_common.h index 257f1fba9df1..24cc3f3d5ea9 100644 --- a/boards/common/atmega/include/periph_conf_atmega_common.h +++ b/boards/common/atmega/include/periph_conf_atmega_common.h @@ -93,6 +93,14 @@ extern "C" { * The timer driver only supports the four 16-bit timers (Timer1, Timer3, * Timer4, Timer5), so those are the only onces we can use here. * + * + * ATmega32U4 + * ========== + * The ATmega32U4 has 4 timers. Timer0 and Timer2 are 8 Bit Timers. + * + * The timer driver only supports the two 16-bit timers (Timer1 and + * Timer3), so those are the only ones we can use here. + * * @{ */ #ifndef TIMER_NUMOF @@ -129,7 +137,7 @@ extern "C" { #define TIMER_0_FLAG &TIFR1 #define TIMER_0_ISRA TIMER1_COMPA_vect #define TIMER_0_ISRB TIMER1_COMPB_vect -#elif defined(CPU_ATMEGA1284P) +#elif defined(CPU_ATMEGA1284P) || defined(CPU_ATMEGA32U4) #define TIMER_NUMOF (2U) #define TIMER_CHANNELS (2) @@ -138,12 +146,18 @@ extern "C" { #define TIMER_0_FLAG &TIFR1 #define TIMER_0_ISRA TIMER1_COMPA_vect #define TIMER_0_ISRB TIMER1_COMPB_vect + #ifdef CPU_ATMEGA32U4 + #define TIMER_0_ISRC TIMER1_COMPC_vect + #endif #define TIMER_1 MEGA_TIMER3 #define TIMER_1_MASK &TIMSK3 #define TIMER_1_FLAG &TIFR3 #define TIMER_1_ISRA TIMER3_COMPA_vect #define TIMER_1_ISRB TIMER3_COMPB_vect + #ifdef CPU_ATMEGA32U4 + #define TIMER_1_ISRC TIMER3_COMPC_vect + #endif #elif defined(CPU_ATMEGA2560) || defined(CPU_ATMEGA1281) #define TIMER_NUMOF (2U) #define TIMER_CHANNELS (3) @@ -192,6 +206,11 @@ extern "C" { #define UART_0 MEGA_UART0 #define UART_0_ISR USART_RX_vect +#elif defined(CPU_ATMEGA32U4) + #define UART_NUMOF (1U) + + #define UART_0 MEGA_UART1 + #define UART_0_ISR USART1_RX_vect #else #define UART_NUMOF (0U) #endif @@ -205,23 +224,33 @@ extern "C" { * All currently supported ATmega MCUs have only one hardware SPI with fixed pin * configuration, so all we can do here, is to enable or disable it... * - * The fixed pins ATmega328p are: - * MOSI - PB3 - * MISO - PB4 - * SCK - PB5 - * SS - PB2 -> this pin is configured as output, but not used + * The fixed pins ATmega328P are: + * + * | Function | Pin | + * |:-------- |:--- | + * | MOSI | PB3 | + * | MISO | PB4 | + * | SCK | PB5 | + * | SS | PB2 | * - * The fixed pins for the ATmega128rp are: - * MOSI - PB5 - * MISO - PB6 - * SCK - PB7 - * SS - PB4 -> this pin is configured as output, but not used + * The fixed pins for the ATmega1284P are: * - * The fixed pins for the ATmega1281, ATmega256rfr2, and ATmega2560 are: - * MOSI - PB2 - * MISO - PB3 - * SCK - PB1 - * SS - PB0 -> this pin is configured as output, but not used + * | Function | Pin | + * |:-------- |:--- | + * | MOSI | PB5 | + * | MISO | PB6 | + * | SCK | PB7 | + * | SS | PB4 | + * + * The fixed pins for the ATmega1281, ATmega256RFR2, ATmega2560, and ATmega32U4 + * are: + * + * | Function | Pin | + * |:-------- |:--- | + * | MOSI | PB2 | + * | MISO | PB3 | + * | SCK | PB1 | + * | SS | PB0 | * * The SS pin must be configured as output for the SPI device to work as * master correctly, though we do not use it for now (as we handle the chip @@ -255,7 +284,7 @@ extern "C" { * @{ */ #ifndef ADC_NUMOF -#if defined(CPU_ATMEGA256RFR2) || defined(CPU_ATMEGA328P) || defined(CPU_ATMEGA1281) || defined(CPU_ATMEGA1284P) +#if defined(CPU_ATMEGA256RFR2) || defined(CPU_ATMEGA328P) || defined(CPU_ATMEGA1281) || defined(CPU_ATMEGA1284P) || defined(CPU_ATMEGA32U4) #define ADC_NUMOF (8U) #elif defined (CPU_ATMEGA2560) #define ADC_NUMOF (16U) @@ -287,22 +316,26 @@ extern "C" { #elif defined(CPU_ATMEGA2560) #define PWM_PINS_CH0 { GPIO_PIN(PORT_B, 7), GPIO_PIN(PORT_G, 5) } #define PWM_PINS_CH1 { GPIO_PIN(PORT_B, 4), GPIO_PIN(PORT_H, 6) } +#elif defined(CPU_ATMEGA32U4) + #define PWM_PINS_CH0 { GPIO_PIN(PORT_B, 7), GPIO_PIN(PORT_D, 0) } #else #define PWM_NUMOF (0U) #endif -#if defined(CPU_ATMEGA328P) || defined(CPU_ATMEGA1281) || defined(CPU_ATMEGA2560) +#if defined(CPU_ATMEGA328P) || defined(CPU_ATMEGA1281) || defined(CPU_ATMEGA2560) || defined(CPU_ATMEGA32U4) static const pwm_conf_t pwm_conf[] = { { .dev = MINI_TIMER0, .pin_ch = PWM_PINS_CH0, .div = MINI_TIMER0_DIV, }, +#ifndef CPU_ATMEGA32U4 { .dev = MINI_TIMER2, .pin_ch = PWM_PINS_CH1, .div = MINI_TIMER2_DIV, } +#endif }; #define PWM_NUMOF (sizeof(pwm_conf) / sizeof(pwm_conf[0])) diff --git a/cpu/atmega32u4/Makefile b/cpu/atmega32u4/Makefile new file mode 100644 index 000000000000..81f110b68d09 --- /dev/null +++ b/cpu/atmega32u4/Makefile @@ -0,0 +1,6 @@ +# define the module that is build +MODULE = cpu +# add a list of subdirectories, that should also be build +DIRS = $(ATMEGA_COMMON) + +include $(RIOTBASE)/Makefile.base diff --git a/cpu/atmega32u4/Makefile.features b/cpu/atmega32u4/Makefile.features new file mode 100644 index 000000000000..008260685b10 --- /dev/null +++ b/cpu/atmega32u4/Makefile.features @@ -0,0 +1 @@ +-include $(RIOTCPU)/atmega_common/Makefile.features diff --git a/cpu/atmega32u4/Makefile.include b/cpu/atmega32u4/Makefile.include new file mode 100644 index 000000000000..baaebcb3514b --- /dev/null +++ b/cpu/atmega32u4/Makefile.include @@ -0,0 +1,18 @@ +# this CPU implementation is using the new core/CPU interface +export CFLAGS += -DCOREIF_NG=1 + +# tell the build system that the CPU depends on the atmega common files +USEMODULE += atmega_common + +# define path to atmega common module, which is needed for this CPU +export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/ + +RAM_LEN = 2560 +ROM_LEN = 32K + +# explicitly tell the linker to link the syscalls and startup code. +# Without this the interrupt vectors will not be linked correctly! +export UNDEF += $(BINDIR)/cpu/startup.o + +# CPU depends on the atmega common module, so include it +include $(ATMEGA_COMMON)Makefile.include diff --git a/cpu/atmega32u4/cpu.c b/cpu/atmega32u4/cpu.c new file mode 100644 index 000000000000..0eca9cb905c4 --- /dev/null +++ b/cpu/atmega32u4/cpu.c @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2017 Thomas Perrot + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @ingroup cpu_atmega32u4 + * @{ + * + * @file + * @brief Implementation of the CPU initialization + * + * @author Thomas Perrot + * @} + */ + +#include "cpu.h" +#include "periph/init.h" + +/** + * @brief Initialize the CPU, set IRQ priorities + */ +void cpu_init(void) +{ + /* trigger static peripheral initialization */ + periph_init(); +} diff --git a/cpu/atmega32u4/doc.txt b/cpu/atmega32u4/doc.txt new file mode 100644 index 000000000000..37b6eef43196 --- /dev/null +++ b/cpu/atmega32u4/doc.txt @@ -0,0 +1,10 @@ +/** + * @defgroup cpu_atmega32u4 Atmel ATmega32u4 + * @ingroup cpu + * @brief Implementation of Atmel's ATmega32u4 MCU + */ + +/** + * @defgroup cpu_atmega32u4_definitions Atmel ATmega32u4 Definitions + * @ingroup cpu_atmega32u4 + */ diff --git a/cpu/atmega32u4/include/cpu_conf.h b/cpu/atmega32u4/include/cpu_conf.h new file mode 100644 index 000000000000..31812c92b192 --- /dev/null +++ b/cpu/atmega32u4/include/cpu_conf.h @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2017 Thomas Perrot + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @ingroup cpu_atmega32u4 + * @{ + * + * @file + * @brief Implementation specific CPU configuration options + * + * @author Thomas Perrot + * + */ + +#ifndef CPU_CONF_H +#define CPU_CONF_H + +#include "atmega_regs_common.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @name Kernel configuration + * + * Since printf seems to get memory allocated by the linker/avr-libc the stack + * size tested successfully even with pretty small stacks.k + * @{ + */ +#define THREAD_EXTRA_STACKSIZE_PRINTF (128) + +#ifndef THREAD_STACKSIZE_DEFAULT +#define THREAD_STACKSIZE_DEFAULT (256) +#endif + +#define THREAD_STACKSIZE_IDLE (128) +/** @} */ + +#ifdef __cplusplus +} +#endif + +#endif /* CPU_CONF_H */ +/** @} */ diff --git a/cpu/atmega32u4/include/periph_cpu.h b/cpu/atmega32u4/include/periph_cpu.h new file mode 100644 index 000000000000..7bb719dfc000 --- /dev/null +++ b/cpu/atmega32u4/include/periph_cpu.h @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2017 Thomas Perrot + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @ingroup cpu_atmega32u4 + * @{ + * + * @file + * @brief CPU specific definitions for internal peripheral handling + * + * @author Thomas Perrot + * + */ + +#ifndef PERIPH_CPU_H +#define PERIPH_CPU_H + +#include "periph_cpu_common.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @brief Available ports on the ATmega32u4 family + */ +enum { + PORT_B = 1, /**< port B */ + PORT_C = 2, /**< port C */ + PORT_D = 3, /**< port D */ + PORT_E = 4, /**< port E */ + PORT_F = 5 /**< port F */ +}; + +/** + * @brief Available external interrupt pins on the ATmega32u4 family + * + * In order of their interrupt number. + */ +#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) } + +/** + * @name Defines for the I2C interface + * @{ + */ +#define I2C_PORT_REG PORTD +#define I2C_PIN_MASK (1 << PORTD0) | (1 << PORTD1) +/** @} */ + +/** + * @name EEPROM configuration + * @{ + */ +#define EEPROM_SIZE (1024U) /* 1kB */ +/** @} */ + +#ifdef __cplusplus +} +#endif + +#endif /* PERIPH_CPU_H */ +/** @} */ diff --git a/cpu/atmega32u4/startup.c b/cpu/atmega32u4/startup.c new file mode 100644 index 000000000000..d5a798948698 --- /dev/null +++ b/cpu/atmega32u4/startup.c @@ -0,0 +1,73 @@ +/* + * Copyright (C) 2017 Thomas Perrot + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @ingroup cpu_atmega32u4 + * @{ + * + * @file + * @brief Startup code and interrupt vector definition + * + * @author Thomas Perrot + * + * @} + */ + +#include +#include +#include + +/* For Catchall-Loop */ +#include "board.h" + + +/** + * @brief functions for initializing the board, std-lib and kernel + */ +extern void board_init(void); +extern void kernel_init(void); +extern void __libc_init_array(void); + +/** + * @brief This pair of functions hook circumvent the call to main + * + * avr-libc normally uses the .init9 section for a call to main. This call + * seems to be not replaceable without hacking inside the library. We + * circumvent the call to main by using section .init7 to call the function + * reset_handler which therefore is the real entry point and section .init8 + * which should never be reached but just in case jumps to exit. + * This way there should be no way to call main directly. + */ +void init7_ovr(void) __attribute__((section(".init7"))); +void init8_ovr(void) __attribute__((section(".init8"))); + + +__attribute__((used,naked)) void init7_ovr(void) +{ + __asm__("call reset_handler"); +} + +__attribute__((used,naked)) void init8_ovr(void) +{ + __asm__("jmp exit"); +} + +/** + * @brief This function is the entry point after a system reset + * + * After a system reset, the following steps are necessary and carried out: + * 1. initialize the board (sync clock, setup std-IO) + * 2. initialize and start RIOTs kernel + */ +__attribute__((used)) void reset_handler(void) +{ + /* initialize the board and startup the kernel */ + board_init(); + /* startup the kernel */ + kernel_init(); +} diff --git a/cpu/atmega_common/include/atmega_regs_common.h b/cpu/atmega_common/include/atmega_regs_common.h index b2e8c07fe49a..85cd67abc77a 100644 --- a/cpu/atmega_common/include/atmega_regs_common.h +++ b/cpu/atmega_common/include/atmega_regs_common.h @@ -1,6 +1,7 @@ /* * Copyright (C) 2016 Freie Universität Berlin * 2016 INRIA + * 2017 Thomas Perrot * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -16,6 +17,8 @@ * * @author Hauke Petersen * @author Francisco Acosta + * @author Thomas Perrot + * */ #ifndef ATMEGA_REGS_COMMON_H @@ -66,7 +69,11 @@ typedef struct { REG8 CSRA; /**< control and status register A */ REG8 CSRB; /**< control and status register B */ REG8 CSRC; /**< control and status register C */ +#ifdef CPU_ATMEGA32U4 + REG8 CSRD; /**< control and status register D */ +#else REG8 reserved; /**< reserved */ +#endif REG16 BRR; /**< baud rate register */ REG8 DR; /**< data register */ } mega_uart_t; diff --git a/cpu/atmega_common/periph/adc.c b/cpu/atmega_common/periph/adc.c index db6fd7950242..a51f2e929dbe 100644 --- a/cpu/atmega_common/periph/adc.c +++ b/cpu/atmega_common/periph/adc.c @@ -111,7 +111,7 @@ int adc_sample(adc_t line, adc_res_t res) _prep(); /* set conversion channel */ -#if defined(CPU_ATMEGA328P) || defined(CPU_ATMEGA1281) || defined(CPU_ATMEGA1284P) +#if defined(CPU_ATMEGA328P) || defined(CPU_ATMEGA1281) || defined(CPU_ATMEGA1284P) || defined(CPU_ATMEGA32U4) ADMUX &= 0xf0; ADMUX |= line; #elif defined(CPU_ATMEGA2560) || defined(CPU_ATMEGA256RFR2) diff --git a/cpu/atmega_common/periph/spi.c b/cpu/atmega_common/periph/spi.c index de4ac97cfc8a..c0124c21479a 100644 --- a/cpu/atmega_common/periph/spi.c +++ b/cpu/atmega_common/periph/spi.c @@ -2,6 +2,7 @@ * Copyright (C) 2015 Daniel Amkaer Sorensen * 2016 Freie Universität Berlin * 2017 Hamburg University of Applied Sciences + * 2017 Thomas Perrot * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -19,6 +20,7 @@ * @author Daniel Amkaer Sorensen * @author Hauke Petersen * @author Dimitri Nahm + * @author Thomas Perrot * * @} */ @@ -71,6 +73,9 @@ void spi_init_pins(spi_t bus) * */ DDRB |= ((1 << DDB2) | (1 << DDB1)); #endif +#ifdef CPU_ATMEGA32U4 + DDRB |= ((1 << DDB0) | (1 << DDB1) | (1 << DDB2)); +#endif } int spi_acquire(spi_t bus, spi_cs_t cs, spi_mode_t mode, spi_clk_t clk) diff --git a/cpu/atmega_common/periph/uart.c b/cpu/atmega_common/periph/uart.c index 2a195f78c448..1d62bc164035 100644 --- a/cpu/atmega_common/periph/uart.c +++ b/cpu/atmega_common/periph/uart.c @@ -1,5 +1,6 @@ /* * Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen + * 2017 Thomas Perrot * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -16,6 +17,7 @@ * * @author Hauke Petersen * @author Hinnerk van Bruinehsen + * @author Thomas Perrot * * * Support static BAUD rate calculation using STDIO_UART_BAUDRATE. @@ -78,11 +80,16 @@ static mega_uart_t *dev[] = { */ static uart_isr_ctx_t isr_ctx[UART_NUMOF]; + static void _update_brr(uart_t uart, uint16_t brr, bool double_speed) { dev[uart]->BRR = brr; if (double_speed) { +#ifdef CPU_ATMEGA32U4 + dev[uart]->CSRA |= (1 << U2X1); +#else dev[uart]->CSRA |= (1 << U2X0); +#endif } } @@ -119,20 +126,35 @@ int uart_init(uart_t uart, uint32_t baudrate, uart_rx_cb_t rx_cb, void *arg) isr_ctx[uart].arg = arg; /* disable and reset UART */ +#ifdef CPU_ATMEGA32U4 + dev[uart]->CSRD = 0; +#endif dev[uart]->CSRB = 0; dev[uart]->CSRA = 0; /* configure UART to 8N1 mode */ +#ifdef CPU_ATMEGA32U4 + dev[uart]->CSRC = (1 << UCSZ10) | (1 << UCSZ11); +#else dev[uart]->CSRC = (1 << UCSZ00) | (1 << UCSZ01); +#endif /* set clock divider */ _set_brr(uart, baudrate); /* enable RX and TX and the RX interrupt */ if (rx_cb) { +#ifdef CPU_ATMEGA32U4 + dev[uart]->CSRB = ((1 << RXCIE1) | (1 << RXEN1) | (1 << TXEN1)); +#else dev[uart]->CSRB = ((1 << RXCIE0) | (1 << RXEN0) | (1 << TXEN0)); +#endif } else { +#ifdef CPU_ATMEGA32U4 + dev[uart]->CSRB = (1 << TXEN1); +#else dev[uart]->CSRB = (1 << TXEN0); +#endif } return UART_OK; @@ -141,7 +163,11 @@ int uart_init(uart_t uart, uint32_t baudrate, uart_rx_cb_t rx_cb, void *arg) void uart_write(uart_t uart, const uint8_t *data, size_t len) { for (size_t i = 0; i < len; i++) { +#ifdef CPU_ATMEGA32U4 + while (!(dev[uart]->CSRA & (1 << UDRE1))) {}; +#else while (!(dev[uart]->CSRA & (1 << UDRE0))) {} +#endif dev[uart]->DR = data[i]; } } diff --git a/cpu/atmega_common/thread_arch.c b/cpu/atmega_common/thread_arch.c index 763b716c528d..db9607d11fad 100644 --- a/cpu/atmega_common/thread_arch.c +++ b/cpu/atmega_common/thread_arch.c @@ -1,5 +1,6 @@ /* * Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen + * 2017 Thomas Perrot * 2018 RWTH Aachen, Josua Arndt * * This file is subject to the terms and conditions of the GNU Lesser @@ -15,6 +16,7 @@ * @brief Implementation of the kernel's architecture dependent thread interface * * @author Hinnerk van Bruinehsen + * @author Thomas Perrot * @author Josua Arndt * * @} @@ -122,7 +124,7 @@ char *thread_stack_init(thread_task_func_t task_func, void *arg, stk--; *stk = (uint8_t)0x00; #endif -#if defined(RAMPZ) +#if defined(RAMPZ) && !defined(__AVR_ATmega32U4__) stk--; *stk = (uint8_t)0x00; #endif @@ -262,7 +264,7 @@ __attribute__((always_inline)) static inline void __context_save(void) "in __tmp_reg__, __SREG__ \n\t" "cli \n\t" "push __tmp_reg__ \n\t" -#if defined(RAMPZ) +#if defined(RAMPZ) && !defined(__AVR_ATmega32U4__) "in __tmp_reg__, __RAMPZ__ \n\t" "push __tmp_reg__ \n\t" #endif @@ -354,7 +356,8 @@ __attribute__((always_inline)) static inline void __context_restore(void) "pop __tmp_reg__ \n\t" "out 0x3c, __tmp_reg__ \n\t" #endif -#if defined(RAMPZ) + +#if defined(RAMPZ) && !defined(__AVR_ATmega32U4__) "pop __tmp_reg__ \n\t" "out __RAMPZ__, __tmp_reg__ \n\t" #endif diff --git a/sys/pipe/pipe_dynamic.c b/sys/pipe/pipe_dynamic.c index b6ecd2982dcc..410b41a3cc5c 100644 --- a/sys/pipe/pipe_dynamic.c +++ b/sys/pipe/pipe_dynamic.c @@ -25,7 +25,7 @@ * @} */ -#if defined(MCU_ATMEGA2560) || defined(MCU_ATMEGA1281) || defined(MCU_ATMEGA328P) +#if defined(MCU_ATMEGA2560) || defined(MCU_ATMEGA1281) || defined(MCU_ATMEGA328P) || defined(MCU_ATMEGA32U4) #include #else #include From b63121c5888d6ae70483564f31587b31d99f11af Mon Sep 17 00:00:00 2001 From: Thomas Perrot Date: Mon, 3 Jul 2017 19:23:28 +0200 Subject: [PATCH 2/7] board: add support for arduino-leonardo --- boards/arduino-leonardo/Makefile | 5 ++ boards/arduino-leonardo/Makefile.features | 3 + boards/arduino-leonardo/Makefile.include | 17 +++++ boards/arduino-leonardo/board.c | 42 +++++++++++ boards/arduino-leonardo/doc.txt | 62 ++++++++++++++++ boards/arduino-leonardo/include/board.h | 35 +++++++++ boards/arduino-leonardo/led_init.c | 34 +++++++++ .../arduino-atmega/include/arduino_board.h | 10 ++- .../arduino-atmega/include/arduino_pinmap.h | 47 ++++++++++++ .../arduino-atmega/include/board_common.h | 29 +++++++- boards/common/atmega/board.c | 4 + .../include/periph_conf_atmega_common.h | 27 +++++-- cpu/atmega32u4/Makefile.include | 4 - cpu/atmega32u4/startup.c | 73 ------------------- .../vagrant/udev_rules/99-atmega32u4.rules | 1 + examples/default/Makefile | 1 - makefiles/tools/avrdude.inc.mk | 2 +- sys/pipe/pipe_dynamic.c | 2 +- 18 files changed, 306 insertions(+), 92 deletions(-) create mode 100644 boards/arduino-leonardo/Makefile create mode 100644 boards/arduino-leonardo/Makefile.features create mode 100644 boards/arduino-leonardo/Makefile.include create mode 100644 boards/arduino-leonardo/board.c create mode 100644 boards/arduino-leonardo/doc.txt create mode 100644 boards/arduino-leonardo/include/board.h create mode 100644 boards/arduino-leonardo/led_init.c delete mode 100644 cpu/atmega32u4/startup.c create mode 100644 dist/tools/vagrant/udev_rules/99-atmega32u4.rules diff --git a/boards/arduino-leonardo/Makefile b/boards/arduino-leonardo/Makefile new file mode 100644 index 000000000000..8c6f44eb536f --- /dev/null +++ b/boards/arduino-leonardo/Makefile @@ -0,0 +1,5 @@ +MODULE = board + +DIRS = $(RIOTBOARD)/common/arduino-atmega + +include $(RIOTBASE)/Makefile.base diff --git a/boards/arduino-leonardo/Makefile.features b/boards/arduino-leonardo/Makefile.features new file mode 100644 index 000000000000..00b2d135b85b --- /dev/null +++ b/boards/arduino-leonardo/Makefile.features @@ -0,0 +1,3 @@ +include $(RIOTBOARD)/common/arduino-atmega/Makefile.features + +include $(RIOTCPU)/atmega32u4/Makefile.features diff --git a/boards/arduino-leonardo/Makefile.include b/boards/arduino-leonardo/Makefile.include new file mode 100644 index 000000000000..96cfb4faaa2c --- /dev/null +++ b/boards/arduino-leonardo/Makefile.include @@ -0,0 +1,17 @@ +# define the cpu used by the arduino uno board +export CPU = atmega32u4 + +# export needed for flash rule +PORT_LINUX ?= /dev/ttyUSB0 +AVRDUDE_PORT ?= /dev/ttyACM0 +PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*))) +BAUD ?= 9600 + +# PROGRAMMER defaults to avr109 which is the internal flasher via USB. Can be +# overridden for debugging (which requires changes that require to use an ISP) +PROGRAMMER ?= avr109 + +BOOTLOADER_SIZE ?= 4K +ROM_RESERVED ?= $(BOOTLOADER_SIZE) + +include $(RIOTBOARD)/common/arduino-atmega/Makefile.include diff --git a/boards/arduino-leonardo/board.c b/boards/arduino-leonardo/board.c new file mode 100644 index 000000000000..32403ecaf234 --- /dev/null +++ b/boards/arduino-leonardo/board.c @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2017 Thomas Perrot + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @ingroup boards_arduino-leonardo + * @{ + * + * @file + * @brief Board specific initialization for Arduino Leonardo + * + * @author Thomas Perrot + * + * @} + */ + +#include "board.h" +#include "cpu.h" +#include "irq.h" +#include "periph/gpio.h" + +#ifndef CPU_ATMEGA_CLK_SCALE_INIT +#define CPU_ATMEGA_CLK_SCALE_INIT CPU_ATMEGA_CLK_SCALE_DIV1 +#endif + +void led_init(void); + +void board_init(void) +{ + /* disable usb interrupt */ + PRR1 |= 1< + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @defgroup boards_arduino-leonardo Arduino Leonardo + * @ingroup boards + * @brief Support for the Arduino Leonardo board + * @{ + * + * @file + * @brief Board specific definitions for the Arduino Leonardo board + * + * @author Thomas Perrot + */ + +#ifndef BOARD_H +#define BOARD_H + +#include "board_common.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* BOARD_H */ +/** @} */ diff --git a/boards/arduino-leonardo/led_init.c b/boards/arduino-leonardo/led_init.c new file mode 100644 index 000000000000..07c764b4d674 --- /dev/null +++ b/boards/arduino-leonardo/led_init.c @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2017 Thomas Perrot + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @ingroup boards_arduino-leonardo + * @{ + * + * @file + * @brief Board specific led initialization for Arduino Leonardo + * + * @author Thomas Perrot + * + * @} + */ + +#include "board.h" +#include "cpu.h" +#include "periph/gpio.h" + +void led_init(void) +{ + /* initialize the on-board LEDs */ + gpio_init(LED0_PIN, GPIO_OUT); + LED0_OFF; + gpio_init(LED1_PIN, GPIO_OUT); + LED2_OFF; + gpio_init(LED2_PIN, GPIO_OUT); + LED2_OFF; +} diff --git a/boards/common/arduino-atmega/include/arduino_board.h b/boards/common/arduino-atmega/include/arduino_board.h index a9397676fe9c..25b311325050 100644 --- a/boards/common/arduino-atmega/include/arduino_board.h +++ b/boards/common/arduino-atmega/include/arduino_board.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2016 Freie Universität Berlin + * 2017 Thomas Perrot * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -15,6 +16,7 @@ * * @author Hauke Petersen * @author Laurent Navet + * @author Thomas Perrot */ #ifndef ARDUINO_BOARD_H @@ -55,18 +57,24 @@ static const gpio_t arduino_pinmap[] = { ARDUINO_PIN_17, ARDUINO_PIN_18, ARDUINO_PIN_19, -#ifdef CPU_ATMEGA2560 +#if defined(CPU_ATMEGA2560) || defined(CPU_ATMEGA32U4) ARDUINO_PIN_20, ARDUINO_PIN_21, ARDUINO_PIN_22, ARDUINO_PIN_23, +#endif +#ifdef CPU_ATMEGA2560 ARDUINO_PIN_24, ARDUINO_PIN_25, ARDUINO_PIN_26, ARDUINO_PIN_27, ARDUINO_PIN_28, ARDUINO_PIN_29, +#endif +#if defined(CPU_ATMEGA2560) || defined(CPU_ATMEGA32U4) ARDUINO_PIN_30, +#endif +#ifdef CPU_ATMEGA2560 ARDUINO_PIN_31, ARDUINO_PIN_32, ARDUINO_PIN_33, diff --git a/boards/common/arduino-atmega/include/arduino_pinmap.h b/boards/common/arduino-atmega/include/arduino_pinmap.h index 00b7bf0ab72f..b68ac6c5cb18 100644 --- a/boards/common/arduino-atmega/include/arduino_pinmap.h +++ b/boards/common/arduino-atmega/include/arduino_pinmap.h @@ -1,6 +1,7 @@ /* * Copyright (C) 2015 Freie Universität Berlin * 2016 Laurent Navet + * 2017 Thomas Perrot * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -20,6 +21,7 @@ * @author Hauke Petersen * @author Daniel Nordahl * @author Laurent Navet + * @author Thomas Perrot */ #ifndef ARDUINO_PINMAP_H @@ -71,6 +73,51 @@ extern "C" { #define ARDUINO_PIN_A5 ARDUINO_PIN_19 #endif +#ifdef CPU_ATMEGA32U4 +/* Digital pins */ +#define ARDUINO_PIN_0 GPIO_PIN(PORT_D, 2) +#define ARDUINO_PIN_1 GPIO_PIN(PORT_D, 3) +#define ARDUINO_PIN_2 GPIO_PIN(PORT_D, 1) +#define ARDUINO_PIN_3 GPIO_PIN(PORT_D, 0) +#define ARDUINO_PIN_5 GPIO_PIN(PORT_C, 6) +#define ARDUINO_PIN_7 GPIO_PIN(PORT_E, 6) +#define ARDUINO_PIN_11 GPIO_PIN(PORT_B, 7) +#define ARDUINO_PIN_13 GPIO_PIN(PORT_C, 7) +#define ARDUINO_PIN_14 GPIO_PIN(PORT_B, 3) +#define ARDUINO_PIN_15 GPIO_PIN(PORT_B, 1) +#define ARDUINO_PIN_16 GPIO_PIN(PORT_B, 2) +#define ARDUINO_PIN_17 GPIO_PIN(PORT_B, 0) +#define ARDUINO_PIN_30 GPIO_PIN(PORT_D, 5) + +/* Analog pins */ +#define ARDUINO_PIN_4 GPIO_PIN(PORT_D, 4) +#define ARDUINO_PIN_6 GPIO_PIN(PORT_D, 7) +#define ARDUINO_PIN_8 GPIO_PIN(PORT_B, 4) +#define ARDUINO_PIN_9 GPIO_PIN(PORT_B, 5) +#define ARDUINO_PIN_10 GPIO_PIN(PORT_B, 6) +#define ARDUINO_PIN_12 GPIO_PIN(PORT_D, 6) +#define ARDUINO_PIN_18 GPIO_PIN(PORT_F, 7) +#define ARDUINO_PIN_19 GPIO_PIN(PORT_F, 6) +#define ARDUINO_PIN_20 GPIO_PIN(PORT_F, 5) +#define ARDUINO_PIN_21 GPIO_PIN(PORT_F, 4) +#define ARDUINO_PIN_22 GPIO_PIN(PORT_F, 3) +#define ARDUINO_PIN_23 GPIO_PIN(PORT_F, 2) + +/* Analog input */ +#define ARDUINO_PIN_A0 ARDUINO_PIN_18 +#define ARDUINO_PIN_A1 ARDUINO_PIN_19 +#define ARDUINO_PIN_A2 ARDUINO_PIN_20 +#define ARDUINO_PIN_A3 ARDUINO_PIN_21 +#define ARDUINO_PIN_A4 ARDUINO_PIN_22 +#define ARDUINO_PIN_A5 ARDUINO_PIN_23 +#define ARDUINO_PIN_A6 ARDUINO_PIN_4 +#define ARDUINO_PIN_A7 ARDUINO_PIN_6 +#define ARDUINO_PIN_A8 ARDUINO_PIN_8 +#define ARDUINO_PIN_A9 ARDUINO_PIN_9 +#define ARDUINO_PIN_A10 ARDUINO_PIN_10 +#define ARDUINO_PIN_A11 ARDUINO_PIN_12 +#endif + #ifdef CPU_ATMEGA2560 #define ARDUINO_PIN_0 GPIO_PIN(PORT_E, 0) #define ARDUINO_PIN_1 GPIO_PIN(PORT_E, 1) diff --git a/boards/common/arduino-atmega/include/board_common.h b/boards/common/arduino-atmega/include/board_common.h index d299e36df47b..b9b2c87f00c8 100644 --- a/boards/common/arduino-atmega/include/board_common.h +++ b/boards/common/arduino-atmega/include/board_common.h @@ -1,6 +1,7 @@ /* * Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen * 2016 Laurent Navet + * 2017 Thomas Perrot * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -18,6 +19,7 @@ * * @author Hinnerk van Bruinehsen * @author Laurent Navet + * @author Thomas Perrot */ #ifndef BOARD_COMMON_H @@ -49,14 +51,35 @@ extern "C" { #define LED0_MASK (1 << DDB5) #endif +#ifdef CPU_ATMEGA32U4 +#define LED0_PIN GPIO_PIN(2, 7) /**< BUILTIN LED */ +#define LED0_MASK (1 << DDC7) +#define LED1_PIN GPIO_PIN(1, 0) /**< RX LED */ +#define LED1_MASK (1 << DDB0) +#define LED2_PIN GPIO_PIN(3, 5) /**< TX LED */ +#define LED2_MASK (1 << DDD5) +#endif + #ifdef CPU_ATMEGA2560 #define LED0_PIN GPIO_PIN(1, 7) #define LED0_MASK (1 << DDB7) #endif -#define LED0_ON (PORTB |= LED0_MASK) -#define LED0_OFF (PORTB &= ~LED0_MASK) -#define LED0_TOGGLE (PORTB ^= LED0_MASK) +#ifdef CPU_ATMEGA32U4 +#define LED0_ON (PORTC |= LED0_MASK) /**< BUILTIN LED */ +#define LED0_OFF (PORTC &= ~LED0_MASK) +#define LED0_TOGGLE (PORTC ^= LED0_MASK) +#define LED1_OFF (PORTB |= LED1_MASK) /**< RX LED */ +#define LED1_ON (PORTB &= ~LED1_MASK) +#define LED1_TOGGLE (PORTB ^= LED1_MASK) +#define LED2_OFF (PORTD |= LED2_MASK) /**< TX LED */ +#define LED2_ON (PORTD &= ~LED2_MASK) +#define LED2_TOGGLE (PORTD ^= LED2_MASK) +#else +#define LED0_ON (PORTD |= LED0_MASK) +#define LED0_OFF (PORTD &= ~LED0_MASK) +#define LED0_TOGGLE (PORTD ^= LED0_MASK) +#endif /** @} */ /** diff --git a/boards/common/atmega/board.c b/boards/common/atmega/board.c index a85199b82889..9e0fe6ebd0fd 100644 --- a/boards/common/atmega/board.c +++ b/boards/common/atmega/board.c @@ -31,6 +31,10 @@ void led_init(void); void board_init(void) { +#ifdef CPU_ATMEGA32U4 + /* disable usb interrupt on Atmega32U4 */ + PRR1 |= 1< - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @ingroup cpu_atmega32u4 - * @{ - * - * @file - * @brief Startup code and interrupt vector definition - * - * @author Thomas Perrot - * - * @} - */ - -#include -#include -#include - -/* For Catchall-Loop */ -#include "board.h" - - -/** - * @brief functions for initializing the board, std-lib and kernel - */ -extern void board_init(void); -extern void kernel_init(void); -extern void __libc_init_array(void); - -/** - * @brief This pair of functions hook circumvent the call to main - * - * avr-libc normally uses the .init9 section for a call to main. This call - * seems to be not replaceable without hacking inside the library. We - * circumvent the call to main by using section .init7 to call the function - * reset_handler which therefore is the real entry point and section .init8 - * which should never be reached but just in case jumps to exit. - * This way there should be no way to call main directly. - */ -void init7_ovr(void) __attribute__((section(".init7"))); -void init8_ovr(void) __attribute__((section(".init8"))); - - -__attribute__((used,naked)) void init7_ovr(void) -{ - __asm__("call reset_handler"); -} - -__attribute__((used,naked)) void init8_ovr(void) -{ - __asm__("jmp exit"); -} - -/** - * @brief This function is the entry point after a system reset - * - * After a system reset, the following steps are necessary and carried out: - * 1. initialize the board (sync clock, setup std-IO) - * 2. initialize and start RIOTs kernel - */ -__attribute__((used)) void reset_handler(void) -{ - /* initialize the board and startup the kernel */ - board_init(); - /* startup the kernel */ - kernel_init(); -} diff --git a/dist/tools/vagrant/udev_rules/99-atmega32u4.rules b/dist/tools/vagrant/udev_rules/99-atmega32u4.rules new file mode 100644 index 000000000000..0d04b32535df --- /dev/null +++ b/dist/tools/vagrant/udev_rules/99-atmega32u4.rules @@ -0,0 +1 @@ +SUBSYSTEM=="usb", ATTR{idVendor}=="2341", ATTR{idProduct}=="0036", MODE="0666", OWNER="vagrant" diff --git a/examples/default/Makefile b/examples/default/Makefile index 3af51cf2cedd..3ba5afeb8492 100644 --- a/examples/default/Makefile +++ b/examples/default/Makefile @@ -31,7 +31,6 @@ QUIET ?= 1 # Modules to include: USEMODULE += shell -USEMODULE += shell_commands USEMODULE += ps # include and auto-initialize all available sensors USEMODULE += saul_default diff --git a/makefiles/tools/avrdude.inc.mk b/makefiles/tools/avrdude.inc.mk index d3abc500d72d..94d4b5095912 100644 --- a/makefiles/tools/avrdude.inc.mk +++ b/makefiles/tools/avrdude.inc.mk @@ -9,7 +9,7 @@ DEBUGGER = $(DIST_PATH)/debug.sh $(DEBUGSERVER_FLAGS) $(DIST_PATH) $(DEBUGSERVER PROGRAMMER_FLAGS = -p $(subst atmega,m,$(CPU)) # Set flasher port only for programmers that require it -ifneq (,$(filter $(PROGRAMMER),arduino buspirate stk500v1 stk500v2 wiring)) +ifneq (,$(filter $(PROGRAMMER),arduino avr109 buspirate stk500v1 stk500v2 wiring)) # make the flasher port configurable (e.g. with atmelice the port is usb) # defaults to terminal's serial port if not configured AVRDUDE_PORT ?= $(PORT) diff --git a/sys/pipe/pipe_dynamic.c b/sys/pipe/pipe_dynamic.c index 410b41a3cc5c..b6ecd2982dcc 100644 --- a/sys/pipe/pipe_dynamic.c +++ b/sys/pipe/pipe_dynamic.c @@ -25,7 +25,7 @@ * @} */ -#if defined(MCU_ATMEGA2560) || defined(MCU_ATMEGA1281) || defined(MCU_ATMEGA328P) || defined(MCU_ATMEGA32U4) +#if defined(MCU_ATMEGA2560) || defined(MCU_ATMEGA1281) || defined(MCU_ATMEGA328P) #include #else #include From 112b88f7ee2acd6f9da4025e049f2ecd1341ef1f Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 24 May 2019 09:49:25 +0200 Subject: [PATCH 3/7] tests/periph_timer: Set freq for Arudino Leonardo The Arduino Leonardo requires - like the other ATmega based Arduinos - a different frequency than the default 1000000, as this frequency cannot be achieved on a 16MHz ATmega with any available prescaler. --- tests/periph_timer/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/periph_timer/Makefile b/tests/periph_timer/Makefile index a55eb00938db..fc08bbb6e8f2 100644 --- a/tests/periph_timer/Makefile +++ b/tests/periph_timer/Makefile @@ -6,7 +6,7 @@ FEATURES_REQUIRED = periph_timer TEST_ON_CI_WHITELIST += all -ifneq (,$(filter arduino-duemilanove arduino-mega2560 arduino-uno waspmote-pro,$(BOARD))) +ifneq (,$(filter arduino-duemilanove arduino-leonardo arduino-mega2560 arduino-uno waspmote-pro,$(BOARD))) TIMER_SPEED ?= 250000 else ifneq (,$(filter hifive1 %-kw41z,$(BOARD))) TIMER_SPEED ?= 32768 From f4c0af8421d93094985dcd52911b55f17aa15e17 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 24 May 2019 17:23:00 +0200 Subject: [PATCH 4/7] examples: Updated BOARD_INSUFFICIENT_MEMORY Added arduino-leonardo to BOARD_INSUFFICIENT_MEMORY where needed --- examples/asymcute_mqttsn/Makefile | 9 ++++----- examples/cord_ep/Makefile | 6 +++--- examples/cord_epsim/Makefile | 6 +++--- examples/default/Makefile | 3 ++- examples/emcute_mqttsn/Makefile | 11 ++++++----- examples/filesystem/Makefile | 4 ++-- examples/gcoap/Makefile | 6 +++--- examples/gnrc_border_router/Makefile | 5 +++-- examples/gnrc_minimal/Makefile | 4 ++-- examples/gnrc_networking/Makefile | 3 ++- examples/gnrc_tftp/Makefile | 11 ++++++----- examples/ipc_pingpong/Makefile | 4 ++-- examples/nanocoap_server/Makefile | 5 +++-- examples/ndn-ping/Makefile | 3 ++- examples/posix_sockets/Makefile | 6 +++--- examples/saul/Makefile | 3 ++- 16 files changed, 48 insertions(+), 41 deletions(-) diff --git a/examples/asymcute_mqttsn/Makefile b/examples/asymcute_mqttsn/Makefile index 21f77a0d0bac..06183a04c2d7 100644 --- a/examples/asymcute_mqttsn/Makefile +++ b/examples/asymcute_mqttsn/Makefile @@ -9,11 +9,10 @@ RIOTBASE ?= $(CURDIR)/../.. # Not all boards have enough memory to build the default configuration of this # example... -BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ - arduino-nano arduino-uno chronos hifive1 \ - i-nucleo-lrwan1 \ - mega-xplained microbit msb-430 msb-430h nrf51dk \ - nrf51dongle nrf6310 \ +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno chronos \ + hifive1 i-nucleo-lrwan1 mega-xplained microbit \ + msb-430 msb-430h nrf51dk nrf51dongle nrf6310 \ nucleo-f030r8 nucleo-f031k6 nucleo-f042k6 \ nucleo-f070rb nucleo-f072rb nucleo-f303k8 \ nucleo-f334r8 nucleo-l031k6 nucleo-l053r8 \ diff --git a/examples/cord_ep/Makefile b/examples/cord_ep/Makefile index b01a9d01206d..b582035b9900 100644 --- a/examples/cord_ep/Makefile +++ b/examples/cord_ep/Makefile @@ -7,9 +7,9 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos hifive1 i-nucleo-lrwan1 \ - mega-xplained msb-430 \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno chronos \ + hifive1 i-nucleo-lrwan1 mega-xplained msb-430 \ msb-430h nucleo-f030r8 nucleo-l053r8 \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ nucleo-f334r8 nucleo-l031k6 stm32f0discovery \ diff --git a/examples/cord_epsim/Makefile b/examples/cord_epsim/Makefile index 21a94710bdc2..641a1347172f 100644 --- a/examples/cord_epsim/Makefile +++ b/examples/cord_epsim/Makefile @@ -7,9 +7,9 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos hifive1 i-nucleo-lrwan1 \ - msb-430 msb-430h \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno chronos \ + hifive1 i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f030r8 nucleo-l053r8 nucleo-f031k6 \ nucleo-f042k6 nucleo-f303k8 nucleo-f334r8 \ nucleo-l031k6 mega-xplained stm32f0discovery \ diff --git a/examples/default/Makefile b/examples/default/Makefile index 3ba5afeb8492..0fd5590e5992 100644 --- a/examples/default/Makefile +++ b/examples/default/Makefile @@ -7,7 +7,8 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno # Uncomment these lines if you want to use platform support from external # repositories: diff --git a/examples/emcute_mqttsn/Makefile b/examples/emcute_mqttsn/Makefile index 2b2b105fa994..2fd34e6d705b 100644 --- a/examples/emcute_mqttsn/Makefile +++ b/examples/emcute_mqttsn/Makefile @@ -7,13 +7,14 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos hifive1 i-nucleo-lrwan1 \ - msb-430 msb-430h \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno chronos \ + hifive1 i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ nucleo-l031k6 nucleo-f030r8 nucleo-f070rb \ - nucleo-f072rb nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ + nucleo-f072rb nucleo-f302r8 nucleo-f334r8 \ + nucleo-l053r8 stm32f0discovery telosb \ + waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 mega-xplained # Include packages that pull up and auto-init the link layer. diff --git a/examples/filesystem/Makefile b/examples/filesystem/Makefile index 80a7961cbb58..9ea8e4a4866d 100644 --- a/examples/filesystem/Makefile +++ b/examples/filesystem/Makefile @@ -15,8 +15,8 @@ BOARD_BLACKLIST := chronos \ z1 \ # -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. diff --git a/examples/gcoap/Makefile b/examples/gcoap/Makefile index 2cf5a4ff5396..c8c2085176e9 100644 --- a/examples/gcoap/Makefile +++ b/examples/gcoap/Makefile @@ -9,9 +9,9 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos i-nucleo-lrwan1 \ - mega-xplained msb-430 \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno chronos \ + i-nucleo-lrwan1 mega-xplained msb-430 \ msb-430h nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 nucleo-f303k8 \ nucleo-f334r8 nucleo-l053r8 stm32f0discovery \ diff --git a/examples/gnrc_border_router/Makefile b/examples/gnrc_border_router/Makefile index d833ae484a5a..82f8f7ff945a 100644 --- a/examples/gnrc_border_router/Makefile +++ b/examples/gnrc_border_router/Makefile @@ -7,8 +7,9 @@ BOARD ?= samr21-xpro # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ - arduino-nano arduino-uno b-l072z-lrwan1 blackpill \ +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno \ + b-l072z-lrwan1 blackpill \ bluepill calliope-mini cc2650-launchpad cc2650stk \ hifive1 i-nucleo-lrwan1 lsn50 maple-mini mega-xplained microbit msb-430 \ msb-430h nrf51dk nrf51dongle nrf6310 \ diff --git a/examples/gnrc_minimal/Makefile b/examples/gnrc_minimal/Makefile index d967272e453e..18d8ddc40ceb 100644 --- a/examples/gnrc_minimal/Makefile +++ b/examples/gnrc_minimal/Makefile @@ -7,8 +7,8 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the diff --git a/examples/gnrc_networking/Makefile b/examples/gnrc_networking/Makefile index d148121b1dbc..b209984f20ba 100644 --- a/examples/gnrc_networking/Makefile +++ b/examples/gnrc_networking/Makefile @@ -7,7 +7,8 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno blackpill bluepill calliope-mini \ chronos hifive1 i-nucleo-lrwan1 mega-xplained \ microbit msb-430 msb-430h \ diff --git a/examples/gnrc_tftp/Makefile b/examples/gnrc_tftp/Makefile index 40faf8670863..5fc8b3afe415 100644 --- a/examples/gnrc_tftp/Makefile +++ b/examples/gnrc_tftp/Makefile @@ -7,11 +7,12 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ - arduino-nano arduino-uno b-l072z-lrwan1 blackpill \ - bluepill calliope-mini \ - chronos hifive1 i-nucleo-lrwan1 mega-xplained microbit \ - msb-430 msb-430h nrf51dk nrf51dongle nrf6310 nucleo-f031k6 \ +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno \ + b-l072z-lrwan1 blackpill bluepill calliope-mini \ + chronos hifive1 i-nucleo-lrwan1 mega-xplained \ + microbit msb-430 msb-430h nrf51dk \ + nrf51dongle nrf6310 nucleo-f031k6 \ nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \ nucleo-f030r8 nucleo-f070rb nucleo-f072rb \ nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \ diff --git a/examples/ipc_pingpong/Makefile b/examples/ipc_pingpong/Makefile index 3aaf7cd054a6..5bed67e1552b 100644 --- a/examples/ipc_pingpong/Makefile +++ b/examples/ipc_pingpong/Makefile @@ -4,8 +4,8 @@ APPLICATION = ipc_pingpong # If no BOARD is found in the environment, use this default: BOARD ?= native -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. diff --git a/examples/nanocoap_server/Makefile b/examples/nanocoap_server/Makefile index 1611f9c92536..cf800462eef1 100644 --- a/examples/nanocoap_server/Makefile +++ b/examples/nanocoap_server/Makefile @@ -7,8 +7,9 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos i-nucleo-lrwan1 msb-430 msb-430h \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno \ + chronos i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ nucleo-f030r8 nucleo-f303k8 nucleo-l053r8 \ stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ diff --git a/examples/ndn-ping/Makefile b/examples/ndn-ping/Makefile index 57de3988711a..3817b0b1a345 100644 --- a/examples/ndn-ping/Makefile +++ b/examples/ndn-ping/Makefile @@ -7,7 +7,8 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../../ -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos i-nucleo-lrwan1 mega-xplained \ msb-430 msb-430h nucleo-f042k6 nucleo-f031k6 \ nucleo-l031k6 nucleo-f030r8 nucleo-l053r8 \ diff --git a/examples/posix_sockets/Makefile b/examples/posix_sockets/Makefile index fb876e5d0ab5..f24b84e7086e 100644 --- a/examples/posix_sockets/Makefile +++ b/examples/posix_sockets/Makefile @@ -7,9 +7,9 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ - arduino-nano arduino-uno chronos i-nucleo-lrwan1 \ - mega-xplained msb-430 msb-430h \ +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno chronos \ + i-nucleo-lrwan1 mega-xplained msb-430 msb-430h \ nrf51dk nrf51dongle nrf6310 \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ nucleo-f030r8 nucleo-f070rb nucleo-f072rb \ diff --git a/examples/saul/Makefile b/examples/saul/Makefile index 847ad183eddf..afa9b9a304d8 100644 --- a/examples/saul/Makefile +++ b/examples/saul/Makefile @@ -7,7 +7,8 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno # we want to use SAUL: USEMODULE += saul_default From 75184ada05700101cc52d2998380e9f5e3953c2d Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 24 May 2019 17:23:41 +0200 Subject: [PATCH 5/7] examples: Updated BOARD_BLACKLIST Added arduino-leonardo to BOARD_BLACKLIST where needed --- examples/dtls-echo/Makefile | 3 ++- examples/javascript/Makefile | 4 ++-- examples/lua_REPL/Makefile | 3 ++- examples/lua_basic/Makefile | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/examples/dtls-echo/Makefile b/examples/dtls-echo/Makefile index 4a94c5fd7656..02bbfb0ee478 100644 --- a/examples/dtls-echo/Makefile +++ b/examples/dtls-echo/Makefile @@ -8,7 +8,8 @@ BOARD ?= native RIOTBASE ?= $(CURDIR)/../.. # TinyDTLS only has support for 32-bit architectures ATM -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos jiminy-mega256rfr2 mega-xplained \ msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 diff --git a/examples/javascript/Makefile b/examples/javascript/Makefile index 4dfd016b5083..527f56dc9f81 100644 --- a/examples/javascript/Makefile +++ b/examples/javascript/Makefile @@ -17,8 +17,8 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 blackpill bluepill call nucleo-l031k6 opencm904 saml10-xpro saml11-xpro \ spark-core stm32f0discovery yunjia-nrf51822 -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ + arduino-nano arduino-uno chronos \ msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 pic32-wifire pic32-clicker jiminy-mega256rfr2 \ mega-xplained diff --git a/examples/lua_REPL/Makefile b/examples/lua_REPL/Makefile index f6927a6e6d39..7b16afbcb290 100644 --- a/examples/lua_REPL/Makefile +++ b/examples/lua_REPL/Makefile @@ -28,7 +28,8 @@ BOARD_INSUFFICIENT_MEMORY := blackpill bluepill calliope-mini cc2650-launchpad \ yunjia-nrf51822 esp8266-esp-12x esp8266-olimex-mod \ esp8266-sparkfun-thing firefly -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano arduino-uno \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno \ chronos hifive1 jiminy-mega256rfr2 mega-xplained mips-malta \ msb-430 msb-430h pic32-clicker pic32-wifire telosb \ waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 diff --git a/examples/lua_basic/Makefile b/examples/lua_basic/Makefile index a55e25423bbc..e7ada6da4294 100644 --- a/examples/lua_basic/Makefile +++ b/examples/lua_basic/Makefile @@ -16,7 +16,8 @@ BOARD_INSUFFICIENT_MEMORY := blackpill bluepill calliope-mini cc2650-launchpad \ nucleo-l053r8 opencm904 saml10-xpro saml11-xpro \ spark-core stm32f0discovery -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos hifive1 jiminy-mega256rfr2 \ mega-xplained mips-malta msb-430 msb-430h pic32-clicker \ pic32-wifire telosb waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 From 5522e9efb51ef4b0066b44cd46db69e8414121e7 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 24 May 2019 17:33:15 +0200 Subject: [PATCH 6/7] tests: Updated BOARD_BLACKLIST Added arduino-leonardo to BOARD_BLACKLIST where needed --- tests/libfixmath_unittests/Makefile | 3 ++- tests/lwip/Makefile | 3 ++- tests/lwip_sock_ip/Makefile | 3 ++- tests/lwip_sock_tcp/Makefile | 3 ++- tests/lwip_sock_udp/Makefile | 3 ++- tests/nhdp/Makefile | 3 ++- tests/pipe/Makefile | 2 +- tests/pkg_cn-cbor/Makefile | 1 + tests/pkg_hacl/Makefile | 3 ++- tests/pkg_libcoap/Makefile | 3 ++- tests/pkg_libcose/Makefile | 3 ++- tests/pkg_libhydrogen/Makefile | 3 ++- tests/pkg_minmea/Makefile | 1 + tests/pkg_monocypher/Makefile | 3 ++- tests/pkg_relic/Makefile | 1 + tests/pkg_tinycbor/Makefile | 3 ++- tests/pkg_ubasic/Makefile | 1 + tests/pthread/Makefile | 5 +++-- tests/pthread_barrier/Makefile | 10 ++++------ tests/pthread_cleanup/Makefile | 5 +++-- tests/pthread_condition_variable/Makefile | 5 +++-- tests/pthread_cooperation/Makefile | 11 +++++------ tests/pthread_rwlock/Makefile | 5 +++-- tests/pthread_tls/Makefile | 5 +++-- tests/ssp/Makefile | 3 ++- 25 files changed, 55 insertions(+), 36 deletions(-) diff --git a/tests/libfixmath_unittests/Makefile b/tests/libfixmath_unittests/Makefile index 714755de99b6..f65ca8718d74 100644 --- a/tests/libfixmath_unittests/Makefile +++ b/tests/libfixmath_unittests/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno jiminy-mega256rfr2 mega-xplained waspmote-pro # arduino-mega2560: builds locally but breaks travis (possibly because of # differences in the toolchain) diff --git a/tests/lwip/Makefile b/tests/lwip/Makefile index 4001a85de266..ac065b1f378c 100644 --- a/tests/lwip/Makefile +++ b/tests/lwip/Makefile @@ -2,7 +2,8 @@ include ../Makefile.tests_common # lwIP's memory management doesn't seem to work on non 32-bit platforms at the # moment. -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos esp8266-esp-12x esp8266-olimex-mod \ esp8266-sparkfun-thing jiminy-mega256rfr2 mega-xplained \ msb-430 msb-430h telosb waspmote-pro \ diff --git a/tests/lwip_sock_ip/Makefile b/tests/lwip_sock_ip/Makefile index 886c2899d1ab..1ca2544844fb 100644 --- a/tests/lwip_sock_ip/Makefile +++ b/tests/lwip_sock_ip/Makefile @@ -2,7 +2,8 @@ include ../Makefile.tests_common # lwIP's memory management doesn't seem to work on non 32-bit platforms at the # moment. -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos esp8266-esp-12x esp8266-olimex-mod \ esp8266-sparkfun-thing jiminy-mega256rfr2 mega-xplained \ msb-430 msb-430h telosb waspmote-pro \ diff --git a/tests/lwip_sock_tcp/Makefile b/tests/lwip_sock_tcp/Makefile index 0a20db404439..73476dc54817 100644 --- a/tests/lwip_sock_tcp/Makefile +++ b/tests/lwip_sock_tcp/Makefile @@ -2,7 +2,8 @@ include ../Makefile.tests_common # lwIP's memory management doesn't seem to work on non 32-bit platforms at the # moment. -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos esp8266-esp-12x esp8266-olimex-mod \ esp8266-sparkfun-thing jiminy-mega256rfr2 mega-xplained \ msb-430 msb-430h telosb waspmote-pro \ diff --git a/tests/lwip_sock_udp/Makefile b/tests/lwip_sock_udp/Makefile index 7eaf7a003047..30915fd59611 100644 --- a/tests/lwip_sock_udp/Makefile +++ b/tests/lwip_sock_udp/Makefile @@ -2,7 +2,8 @@ include ../Makefile.tests_common # lwIP's memory management doesn't seem to work on non 32-bit platforms at the # moment. -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos esp8266-esp-12x esp8266-olimex-mod \ esp8266-sparkfun-thing jiminy-mega256rfr2 mega-xplained \ msb-430 msb-430h telosb waspmote-pro \ diff --git a/tests/nhdp/Makefile b/tests/nhdp/Makefile index ce12288a9c54..411e7dcd6201 100644 --- a/tests/nhdp/Makefile +++ b/tests/nhdp/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos jiminy-mega256rfr2 mega-xplained \ msb-430 msb-430h telosb waspmote-pro \ wsn430-v1_3b wsn430-v1_4 z1 diff --git a/tests/pipe/Makefile b/tests/pipe/Makefile index 33f117ad6e88..3ab734684136 100644 --- a/tests/pipe/Makefile +++ b/tests/pipe/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common #malloc.h not found -BOARD_BLACKLIST := jiminy-mega256rfr2 mega-xplained +BOARD_BLACKLIST := arduino-leonardo jiminy-mega256rfr2 mega-xplained BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ nucleo-f031k6 diff --git a/tests/pkg_cn-cbor/Makefile b/tests/pkg_cn-cbor/Makefile index 2606c7730950..f211f3d006bc 100644 --- a/tests/pkg_cn-cbor/Makefile +++ b/tests/pkg_cn-cbor/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common BOARD_BLACKLIST := arduino-duemilanove \ + arduino-leonardo \ arduino-mega2560 \ arduino-nano \ arduino-uno \ diff --git a/tests/pkg_hacl/Makefile b/tests/pkg_hacl/Makefile index a3daa92d03d9..f43853b29dce 100644 --- a/tests/pkg_hacl/Makefile +++ b/tests/pkg_hacl/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos jiminy-mega256rfr2 mega-xplained \ msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 diff --git a/tests/pkg_libcoap/Makefile b/tests/pkg_libcoap/Makefile index 718579eb58d7..d7eea20034c3 100644 --- a/tests/pkg_libcoap/Makefile +++ b/tests/pkg_libcoap/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common # msp430 and avr have problems with int width and libcoaps usage of :x notation in structs -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos jiminy-mega256rfr2 mega-xplained msb-430 \ msb-430h telosb waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 BOARD_INSUFFICIENT_MEMORY := chronos i-nucleo-lrwan1 msb-430 msb-430h \ diff --git a/tests/pkg_libcose/Makefile b/tests/pkg_libcose/Makefile index c910189cd2df..44f35fc683e1 100644 --- a/tests/pkg_libcose/Makefile +++ b/tests/pkg_libcose/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common # HACL* only compiles on 32bit platforms -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos jiminy-mega256rfr2 mega-xplained \ msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 diff --git a/tests/pkg_libhydrogen/Makefile b/tests/pkg_libhydrogen/Makefile index 4335d5144b0c..a469b6b57e40 100644 --- a/tests/pkg_libhydrogen/Makefile +++ b/tests/pkg_libhydrogen/Makefile @@ -2,7 +2,8 @@ include ../Makefile.tests_common # AVR boards: require avr-gcc >= 7.0 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60040) # MSP430 boards: invalid alignment of 'hydro_random_context' -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-uno \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-uno \ jiminy-mega256rfr2 mega-xplained waspmote-pro \ chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1 diff --git a/tests/pkg_minmea/Makefile b/tests/pkg_minmea/Makefile index 6f4d312239f9..da384fb3af6e 100644 --- a/tests/pkg_minmea/Makefile +++ b/tests/pkg_minmea/Makefile @@ -7,6 +7,7 @@ BOARD_BLACKLIST := chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1 # Incompatible due to non-standard ATmega time.h BOARD_BLACKLIST += arduino-duemilanove \ + arduino-leonardo \ arduino-mega2560 \ arduino-nano \ arduino-uno \ diff --git a/tests/pkg_monocypher/Makefile b/tests/pkg_monocypher/Makefile index 942049d68cb8..42406526e65e 100644 --- a/tests/pkg_monocypher/Makefile +++ b/tests/pkg_monocypher/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common # No 8 bit and 16 bit support -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos jiminy-mega256rfr2 mega-xplained \ msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 diff --git a/tests/pkg_relic/Makefile b/tests/pkg_relic/Makefile index d557ae4a8893..5607c4bcc6e5 100644 --- a/tests/pkg_relic/Makefile +++ b/tests/pkg_relic/Makefile @@ -2,6 +2,7 @@ include ../Makefile.tests_common # The following boards are known to fail or have not been tested. BOARD_BLACKLIST := arduino-duemilanove \ + arduino-leonardo \ arduino-mega2560 \ arduino-nano \ arduino-uno \ diff --git a/tests/pkg_tinycbor/Makefile b/tests/pkg_tinycbor/Makefile index 1ffbc2730b90..39e4186ed62d 100644 --- a/tests/pkg_tinycbor/Makefile +++ b/tests/pkg_tinycbor/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common # No 8 bit and 16 bit support yet -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos esp32-mh-et-live-minikit \ esp32-olimex-evb esp32-wemos-lolin-d32-pro \ esp32-wroom-32 esp32-wrover-kit jiminy-mega256rfr2 \ diff --git a/tests/pkg_ubasic/Makefile b/tests/pkg_ubasic/Makefile index 71b176fd9e71..2f827b0857e5 100644 --- a/tests/pkg_ubasic/Makefile +++ b/tests/pkg_ubasic/Makefile @@ -7,6 +7,7 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove # newlib for esp8266 and MIPS does not provide _times_r BOARD_BLACKLIST := \ arduino-duemilanove \ + arduino-leonardo \ arduino-mega2560 \ arduino-nano \ arduino-uno \ diff --git a/tests/pthread/Makefile b/tests/pthread/Makefile index 9e7fd05ef135..4f2580092d50 100644 --- a/tests/pthread/Makefile +++ b/tests/pthread/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno jiminy-mega256rfr2 mega-xplained waspmote-pro +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ + arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \ + waspmote-pro # arduino mega2560 uno duemilanove : unknown type name: clockid_t # jiminy-mega256rfr2: unknown type name: clockid_t # mega-xplained: unknown type name: clockid_t diff --git a/tests/pthread_barrier/Makefile b/tests/pthread_barrier/Makefile index 2e7a504dda7f..bd88921e0feb 100644 --- a/tests/pthread_barrier/Makefile +++ b/tests/pthread_barrier/Makefile @@ -1,11 +1,9 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno jiminy-mega256rfr2 mega-xplained waspmote-pro \ - i-nucleo-lrwan1 -# arduino mega2560 uno duemilanove : unknown type name: clockid_t -# jiminy-mega256rfr2: unknown type name: clockid_t -# mega-xplained: unknown type name: clockid_t +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ + arduino-nano arduino-uno i-nucleo-lrwan1 jiminy-mega256rfr2 \ + mega-xplained waspmote-pro +# AVR platform: unknown type name: clockid_t # exclude boards with insufficient memory BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 diff --git a/tests/pthread_cleanup/Makefile b/tests/pthread_cleanup/Makefile index 6eb3e46eb4f0..227097f6f891 100644 --- a/tests/pthread_cleanup/Makefile +++ b/tests/pthread_cleanup/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno jiminy-mega256rfr2 mega-xplained waspmote-pro +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ + arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \ + waspmote-pro # arduino mega2560 uno duemilanove : unknown type name: clockid_t # jiminy-mega256rfr2: unknown type name: clockid_t # mega-xplained: unknown type name: clockid_t diff --git a/tests/pthread_condition_variable/Makefile b/tests/pthread_condition_variable/Makefile index ff1bbae67d38..27fdeecc043d 100644 --- a/tests/pthread_condition_variable/Makefile +++ b/tests/pthread_condition_variable/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno jiminy-mega256rfr2 mega-xplained waspmote-pro +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ + arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \ + waspmote-pro # arduino mega2560 uno duemilanove : unknown type name: clockid_t # jiminy-mega256rfr2: unknown type name: clockid_t # mega-xplained: unknown type name: clockid_t diff --git a/tests/pthread_cooperation/Makefile b/tests/pthread_cooperation/Makefile index f67dc72ed3c0..6ced910a9d94 100644 --- a/tests/pthread_cooperation/Makefile +++ b/tests/pthread_cooperation/Makefile @@ -1,11 +1,10 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno jiminy-mega256rfr2 mega-xplained waspmote-pro \ - hifive1 i-nucleo-lrwan1 -# arduino mega2560 uno duemilanove : unknown type name: clockid_t -# jiminy-mega256rfr2: unknown type name: clockid_t -# mega-xplained: unknown type name: clockid_t +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ + arduino-nano arduino-uno hifive1 i-nucleo-lrwan1 \ + jiminy-mega256rfr2 mega-xplained waspmote-pro + +# AVR platform: unknown type name: clockid_t # hifive1: not enough memory for thread stacks BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 diff --git a/tests/pthread_rwlock/Makefile b/tests/pthread_rwlock/Makefile index 040f4220b4e6..43d646d2baa2 100644 --- a/tests/pthread_rwlock/Makefile +++ b/tests/pthread_rwlock/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno jiminy-mega256rfr2 mega-xplained waspmote-pro +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ + arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \ + waspmote-pro # arduino mega2560 uno duemilanove : unknown type name: clockid_t # jiminy-mega256rfr2: unknown type name: clockid_t # mega-xplained: unknown type name: clockid_t diff --git a/tests/pthread_tls/Makefile b/tests/pthread_tls/Makefile index 9e7fd05ef135..4f2580092d50 100644 --- a/tests/pthread_tls/Makefile +++ b/tests/pthread_tls/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno jiminy-mega256rfr2 mega-xplained waspmote-pro +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ + arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \ + waspmote-pro # arduino mega2560 uno duemilanove : unknown type name: clockid_t # jiminy-mega256rfr2: unknown type name: clockid_t # mega-xplained: unknown type name: clockid_t diff --git a/tests/ssp/Makefile b/tests/ssp/Makefile index cff6098e4711..c42b6ce2bf87 100644 --- a/tests/ssp/Makefile +++ b/tests/ssp/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common # avr8, msp430, esp8266 and mips don't support ssp (yet) -BOARD_BLACKLIST := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos esp8266-esp-12x esp8266-olimex-mod \ esp8266-sparkfun-thing jiminy-mega256rfr2 mega-xplained \ msb-430 msb-430h pic32-clicker pic32-wifire telosb \ From 855b5bd54d9918bd7550bb59a691762cd612ee9e Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 24 May 2019 17:36:06 +0200 Subject: [PATCH 7/7] tests: Updated BOARD_INSUFFICIENT_MEMORY Added arduino-leonardo to BOARD_INSUFFICIENT_MEMORY where needed --- tests/bench_sizeof_coretypes/Makefile | 3 ++- tests/bench_timers/Makefile | 3 ++- tests/bloom_bytes/Makefile | 6 +++--- tests/can_trx/Makefile | 3 ++- tests/cond_order/Makefile | 9 +++++---- tests/conn_can/Makefile | 3 ++- tests/driver_at/Makefile | 4 ++-- tests/driver_at30tse75x/Makefile | 3 ++- tests/driver_at86rf2xx/Makefile | 4 ++-- tests/driver_ata8520e/Makefile | 3 ++- tests/driver_bmx055/Makefile | 3 ++- tests/driver_dynamixel/Makefile | 3 ++- tests/driver_enc28j60/Makefile | 11 ++++++----- tests/driver_encx24j600/Makefile | 3 ++- tests/driver_feetech/Makefile | 3 ++- tests/driver_kw2xrf/Makefile | 5 +++-- tests/driver_ltc4150/Makefile | 4 ++-- tests/driver_mpu9150/Makefile | 3 ++- tests/driver_nrf24l01p_lowlevel/Makefile | 4 ++-- tests/driver_nvram_spi/Makefile | 3 ++- tests/driver_pcd8544/Makefile | 3 ++- tests/driver_pir/Makefile | 4 ++-- tests/driver_rn2xx3/Makefile | 3 ++- tests/driver_sdcard_spi/Makefile | 4 ++-- tests/driver_sht1x/Makefile | 3 ++- tests/driver_srf02/Makefile | 3 ++- tests/driver_sx127x/Makefile | 4 ++-- tests/driver_tsl4531x/Makefile | 3 ++- tests/driver_xbee/Makefile | 7 ++++--- tests/emb6/Makefile | 7 ++++--- tests/events/Makefile | 3 ++- tests/evtimer_msg/Makefile | 4 ++-- tests/evtimer_underflow/Makefile | 4 ++-- tests/gnrc_ipv6_ext/Makefile | 3 ++- tests/gnrc_ipv6_nib/Makefile | 3 ++- tests/gnrc_ipv6_nib_6ln/Makefile | 7 ++++--- tests/gnrc_mac_timeout/Makefile | 9 +++++---- tests/gnrc_ndp/Makefile | 7 ++++--- tests/gnrc_netif/Makefile | 13 +++++++------ tests/gnrc_rpl_srh/Makefile | 3 ++- tests/gnrc_sixlowpan/Makefile | 6 +++--- tests/gnrc_sixlowpan_frag/Makefile | 4 ++-- tests/gnrc_sock_dns/Makefile | 3 ++- tests/gnrc_sock_ip/Makefile | 3 ++- tests/gnrc_sock_udp/Makefile | 3 ++- tests/gnrc_tcp_client/Makefile | 3 ++- tests/gnrc_tcp_server/Makefile | 3 ++- tests/gnrc_udp/Makefile | 3 ++- tests/irq/Makefile | 4 ++-- tests/isr_yield_higher/Makefile | 4 ++-- tests/msg_send_receive/Makefile | 4 ++-- tests/mutex_order/Makefile | 4 ++-- tests/nanocoap_cli/Makefile | 3 ++- tests/netdev_test/Makefile | 4 ++-- tests/periph_eeprom/Makefile | 3 ++- tests/periph_gpio/Makefile | 3 ++- tests/periph_i2c/Makefile | 3 ++- tests/periph_pwm/Makefile | 3 ++- tests/periph_spi/Makefile | 3 ++- tests/periph_timer/Makefile | 2 -- tests/periph_uart/Makefile | 4 ++-- tests/pkg_c25519/Makefile | 3 ++- tests/pkg_fatfs/Makefile | 8 +++++--- tests/pkg_fatfs_vfs/Makefile | 9 +++++---- tests/pkg_heatshrink/Makefile | 1 + tests/pkg_libb2/Makefile | 9 +++++---- tests/pkg_micro-ecc/Makefile | 3 ++- tests/pkg_microcoap/Makefile | 6 +++--- tests/pkg_qdsa/Makefile | 6 ++++-- tests/pkg_semtech-loramac/Makefile | 5 +++-- tests/pkg_tiny-asn1/Makefile | 3 ++- tests/pkg_tweetnacl/Makefile | 3 ++- tests/pkg_u8g2/Makefile | 6 +++--- tests/pkg_ucglib/Makefile | 3 ++- tests/posix_semaphore/Makefile | 4 ++-- tests/ps_schedstatistics/Makefile | 4 ++-- tests/riotboot_flashwrite/Makefile | 3 ++- tests/rmutex/Makefile | 4 ++-- tests/rng/Makefile | 3 ++- tests/saul/Makefile | 3 ++- tests/sched_testing/Makefile | 4 ++-- tests/shell/Makefile | 1 + tests/slip/Makefile | 3 ++- tests/sntp/Makefile | 6 +++--- tests/struct_tm_utility/Makefile | 3 ++- tests/thread_cooperation/Makefile | 7 +++---- tests/thread_exit/Makefile | 4 ++-- tests/thread_flags/Makefile | 4 ++-- tests/thread_float/Makefile | 4 ++-- tests/thread_msg/Makefile | 4 ++-- tests/thread_msg_seq/Makefile | 4 ++-- tests/thread_priority_inversion/Makefile | 4 ++-- tests/thread_race/Makefile | 3 ++- tests/unittests/Makefile | 1 + tests/xtimer_drift/Makefile | 4 ++-- tests/xtimer_hang/Makefile | 4 ++-- tests/xtimer_longterm/Makefile | 4 ++-- tests/xtimer_msg/Makefile | 4 ++-- tests/xtimer_periodic_wakeup/Makefile | 4 ++-- 99 files changed, 235 insertions(+), 175 deletions(-) diff --git a/tests/bench_sizeof_coretypes/Makefile b/tests/bench_sizeof_coretypes/Makefile index 03fb07bd69f7..18b3b19270f4 100644 --- a/tests/bench_sizeof_coretypes/Makefile +++ b/tests/bench_sizeof_coretypes/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno # Modules that will have an impact on the size of the TCB (thread_t): # diff --git a/tests/bench_timers/Makefile b/tests/bench_timers/Makefile index 2177e7440447..8104292521c8 100644 --- a/tests/bench_timers/Makefile +++ b/tests/bench_timers/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno # These boards only have a single timer in their periph_conf.h, needs special # CFLAGS configuration to build properly diff --git a/tests/bloom_bytes/Makefile b/tests/bloom_bytes/Makefile index e8bad88092d1..5a054d1abb63 100644 --- a/tests/bloom_bytes/Makefile +++ b/tests/bloom_bytes/Makefile @@ -1,8 +1,8 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - chronos msb-430 msb-430h telosb wsn430-v1_3b \ - wsn430-v1_4 z1 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno chronos msb-430 msb-430h telosb \ + wsn430-v1_3b wsn430-v1_4 z1 USEMODULE += hashes USEMODULE += bloom diff --git a/tests/can_trx/Makefile b/tests/can_trx/Makefile index d365e767e93e..7e4331e898ba 100644 --- a/tests/can_trx/Makefile +++ b/tests/can_trx/Makefile @@ -1,7 +1,8 @@ export APPLICATION = can_trx include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno USEMODULE += shell USEMODULE += shell_commands diff --git a/tests/cond_order/Makefile b/tests/cond_order/Makefile index b73ff45126b4..af1ef52d0b7c 100644 --- a/tests/cond_order/Makefile +++ b/tests/cond_order/Makefile @@ -1,9 +1,10 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 nucleo32-f031 nucleo32-f042 \ - nucleo32-l031 nucleo-f030 nucleo-l053 stm32f0discovery \ - arduino-duemilanove arduino-nano arduino-uno \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno i-nucleo-lrwan1 nucleo32-f031 \ + nucleo32-f042 nucleo32-l031 nucleo-f030 \ nucleo-f030r8 nucleo-f031k6 nucleo-f042k6 \ - nucleo-l031k6 nucleo-l053r8 + nucleo-l031k6 nucleo-l053 nucleo-l053r8 \ + stm32f0discovery include $(RIOTBASE)/Makefile.include diff --git a/tests/conn_can/Makefile b/tests/conn_can/Makefile index 1b16dd7176a9..c1f76871e778 100644 --- a/tests/conn_can/Makefile +++ b/tests/conn_can/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos hifive1 i-nucleo-lrwan1 \ msb-430 msb-430h \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ diff --git a/tests/driver_at/Makefile b/tests/driver_at/Makefile index 182dffd0f42b..408bf46cf5c5 100644 --- a/tests/driver_at/Makefile +++ b/tests/driver_at/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 USEMODULE += shell USEMODULE += at diff --git a/tests/driver_at30tse75x/Makefile b/tests/driver_at30tse75x/Makefile index 120eb5ba28ed..871defc2574a 100644 --- a/tests/driver_at30tse75x/Makefile +++ b/tests/driver_at30tse75x/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno USEMODULE += at30tse75x USEMODULE += shell diff --git a/tests/driver_at86rf2xx/Makefile b/tests/driver_at86rf2xx/Makefile index a89202b4482b..3964b90e649b 100644 --- a/tests/driver_at86rf2xx/Makefile +++ b/tests/driver_at86rf2xx/Makefile @@ -1,8 +1,8 @@ include ../Makefile.tests_common # exclude boards with insufficient memory -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 DISABLE_MODULE += auto_init diff --git a/tests/driver_ata8520e/Makefile b/tests/driver_ata8520e/Makefile index e0b2a6ec6b31..5e7ad233b461 100644 --- a/tests/driver_ata8520e/Makefile +++ b/tests/driver_ata8520e/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno USEMODULE += ata8520e USEMODULE += shell diff --git a/tests/driver_bmx055/Makefile b/tests/driver_bmx055/Makefile index a164a4bb14e0..54f08ad24ac0 100644 --- a/tests/driver_bmx055/Makefile +++ b/tests/driver_bmx055/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno # include and auto-initialize all available sensors USEMODULE += saul_default diff --git a/tests/driver_dynamixel/Makefile b/tests/driver_dynamixel/Makefile index 5d024e91615e..36e5390c6965 100644 --- a/tests/driver_dynamixel/Makefile +++ b/tests/driver_dynamixel/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno # chronos : USART_1 undeclared BOARD_BLACKLIST += chronos diff --git a/tests/driver_enc28j60/Makefile b/tests/driver_enc28j60/Makefile index 93a935dc96bf..e0fac7e93b7b 100644 --- a/tests/driver_enc28j60/Makefile +++ b/tests/driver_enc28j60/Makefile @@ -1,11 +1,12 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno i-nucleo-lrwan1 msb-430 msb-430h \ - nucleo-f334r8 nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \ - nucleo-f303k8 nucleo-l031k6 mega-xplained \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ - wsn430-v1_4 z1 + nucleo-f334r8 nucleo-l053r8 nucleo-f031k6 \ + nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \ + mega-xplained stm32f0discovery telosb \ + waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 USEMODULE += auto_init_gnrc_netif USEMODULE += enc28j60 diff --git a/tests/driver_encx24j600/Makefile b/tests/driver_encx24j600/Makefile index d67316b15702..7ef6d333509b 100644 --- a/tests/driver_encx24j600/Makefile +++ b/tests/driver_encx24j600/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 stm32f0discovery telosb \ diff --git a/tests/driver_feetech/Makefile b/tests/driver_feetech/Makefile index d94af453f8d3..b783de23bfde 100644 --- a/tests/driver_feetech/Makefile +++ b/tests/driver_feetech/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno # chronos : USART_1 undeclared BOARD_BLACKLIST += chronos diff --git a/tests/driver_kw2xrf/Makefile b/tests/driver_kw2xrf/Makefile index 8d9f0cad1804..35c1be139821 100644 --- a/tests/driver_kw2xrf/Makefile +++ b/tests/driver_kw2xrf/Makefile @@ -1,7 +1,8 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno i-nucleo-lrwan1 nucleo-f031k6 nucleo-f042k6 \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno \ + i-nucleo-lrwan1 nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f334r8 nucleo-l053r8 \ stm32f0discovery waspmote-pro diff --git a/tests/driver_ltc4150/Makefile b/tests/driver_ltc4150/Makefile index 6b6ab4a7b52e..ac50bbb77e6d 100644 --- a/tests/driver_ltc4150/Makefile +++ b/tests/driver_ltc4150/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY += arduino-uno arduino-nano arduino-duemilanove - +BOARD_INSUFFICIENT_MEMORY += arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno BOARD ?= msba2 USEMODULE += fmt diff --git a/tests/driver_mpu9150/Makefile b/tests/driver_mpu9150/Makefile index b6fa83dc928f..35b2625a4b83 100644 --- a/tests/driver_mpu9150/Makefile +++ b/tests/driver_mpu9150/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno USEMODULE += mpu9150 USEMODULE += xtimer diff --git a/tests/driver_nrf24l01p_lowlevel/Makefile b/tests/driver_nrf24l01p_lowlevel/Makefile index 71b5a672ba93..863fa515b834 100644 --- a/tests/driver_nrf24l01p_lowlevel/Makefile +++ b/tests/driver_nrf24l01p_lowlevel/Makefile @@ -1,8 +1,8 @@ include ../Makefile.tests_common # exclude boards with insufficient memory -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno nucleo-f031k6 USEMODULE += shell USEMODULE += shell_commands diff --git a/tests/driver_nvram_spi/Makefile b/tests/driver_nvram_spi/Makefile index efa7e8fd2385..cdc6c16fa9b9 100644 --- a/tests/driver_nvram_spi/Makefile +++ b/tests/driver_nvram_spi/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno USEMODULE += nvram_spi USEMODULE += xtimer diff --git a/tests/driver_pcd8544/Makefile b/tests/driver_pcd8544/Makefile index 46a5d8bcd1a9..d57c68edf834 100644 --- a/tests/driver_pcd8544/Makefile +++ b/tests/driver_pcd8544/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno USEMODULE += shell USEMODULE += pcd8544 diff --git a/tests/driver_pir/Makefile b/tests/driver_pir/Makefile index 4262ed055cb2..3671877ea645 100644 --- a/tests/driver_pir/Makefile +++ b/tests/driver_pir/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno nucleo-f031k6 USEMODULE += pir diff --git a/tests/driver_rn2xx3/Makefile b/tests/driver_rn2xx3/Makefile index ea365cc17b93..db21e6ed7a7c 100644 --- a/tests/driver_rn2xx3/Makefile +++ b/tests/driver_rn2xx3/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno DRIVER ?= rn2483 diff --git a/tests/driver_sdcard_spi/Makefile b/tests/driver_sdcard_spi/Makefile index b262913b85cc..79b53a0dd6c1 100644 --- a/tests/driver_sdcard_spi/Makefile +++ b/tests/driver_sdcard_spi/Makefile @@ -1,8 +1,8 @@ include ../Makefile.tests_common # exclude boards with insufficient memory -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno nucleo-f031k6 USEMODULE += sdcard_spi USEMODULE += auto_init_storage diff --git a/tests/driver_sht1x/Makefile b/tests/driver_sht1x/Makefile index debdf6612ded..efed95e89d0a 100644 --- a/tests/driver_sht1x/Makefile +++ b/tests/driver_sht1x/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno DRIVER ?= sht11 BOARD ?= msba2 diff --git a/tests/driver_srf02/Makefile b/tests/driver_srf02/Makefile index 475a6eb9f58b..9c72699b26d5 100644 --- a/tests/driver_srf02/Makefile +++ b/tests/driver_srf02/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno USEMODULE += xtimer USEMODULE += srf02 diff --git a/tests/driver_sx127x/Makefile b/tests/driver_sx127x/Makefile index fd42fd2c4420..23d95e73c055 100644 --- a/tests/driver_sx127x/Makefile +++ b/tests/driver_sx127x/Makefile @@ -2,8 +2,8 @@ BOARD ?= b-l072z-lrwan1 include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno nucleo-f031k6 USEMODULE += od USEMODULE += shell diff --git a/tests/driver_tsl4531x/Makefile b/tests/driver_tsl4531x/Makefile index 8602662394dd..ae60d8c78d18 100644 --- a/tests/driver_tsl4531x/Makefile +++ b/tests/driver_tsl4531x/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno USEMODULE += tsl4531x USEMODULE += xtimer diff --git a/tests/driver_xbee/Makefile b/tests/driver_xbee/Makefile index 56d03f43f7ad..42354fb8fcb9 100644 --- a/tests/driver_xbee/Makefile +++ b/tests/driver_xbee/Makefile @@ -1,8 +1,9 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 nucleo-f042k6 nucleo-f030r8 \ - nucleo-f334r8 stm32f0discovery waspmote-pro +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 nucleo-f042k6 \ + nucleo-f030r8 nucleo-f334r8 stm32f0discovery \ + waspmote-pro USEMODULE += xbee USEMODULE += gnrc_txtsnd diff --git a/tests/emb6/Makefile b/tests/emb6/Makefile index 0e5581883c46..a5a6a9425100 100644 --- a/tests/emb6/Makefile +++ b/tests/emb6/Makefile @@ -6,9 +6,10 @@ include ../Makefile.tests_common BOARD_BLACKLIST := msb-430 msb-430h pic32-clicker pic32-wifire \ telosb wsn430-v1_3b wsn430-v1_4 z1 -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno i-nucleo-lrwan1 msb-430 msb-430h \ - nucleo-l031k6 nucleo-f031k6 nucleo-f042k6 nucleo-l053r8 \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno \ + i-nucleo-lrwan1 msb-430 msb-430h nucleo-l031k6 \ + nucleo-f031k6 nucleo-f042k6 nucleo-l053r8 \ stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 diff --git a/tests/events/Makefile b/tests/events/Makefile index c011813fc6d9..f2a1d35bf00c 100644 --- a/tests/events/Makefile +++ b/tests/events/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno FORCE_ASSERTS = 1 USEMODULE += event_callback diff --git a/tests/evtimer_msg/Makefile b/tests/evtimer_msg/Makefile index 76cbcb4d3412..3069be27e84a 100644 --- a/tests/evtimer_msg/Makefile +++ b/tests/evtimer_msg/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 nucleo-f042k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno nucleo-f031k6 nucleo-f042k6 USEMODULE += evtimer diff --git a/tests/evtimer_underflow/Makefile b/tests/evtimer_underflow/Makefile index 76cbcb4d3412..3069be27e84a 100644 --- a/tests/evtimer_underflow/Makefile +++ b/tests/evtimer_underflow/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 nucleo-f042k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno nucleo-f031k6 nucleo-f042k6 USEMODULE += evtimer diff --git a/tests/gnrc_ipv6_ext/Makefile b/tests/gnrc_ipv6_ext/Makefile index 1b468c5e4ee2..009a309074b1 100644 --- a/tests/gnrc_ipv6_ext/Makefile +++ b/tests/gnrc_ipv6_ext/Makefile @@ -2,7 +2,8 @@ DEVELHELP := 1 # name of your application include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno hifive1 i-nucleo-lrwan1 mega-xplained \ msb-430 msb-430h nucleo-f030r8 nucleo-f031k6 \ nucleo-f042k6 nucleo-f070rb nucleo-f072rb \ diff --git a/tests/gnrc_ipv6_nib/Makefile b/tests/gnrc_ipv6_nib/Makefile index c455be22d187..99f22ddeda07 100644 --- a/tests/gnrc_ipv6_nib/Makefile +++ b/tests/gnrc_ipv6_nib/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 telosb waspmote-pro wsn430-v1_3b \ wsn430-v1_4 diff --git a/tests/gnrc_ipv6_nib_6ln/Makefile b/tests/gnrc_ipv6_nib_6ln/Makefile index 2d00d48fce3a..4236d560a906 100644 --- a/tests/gnrc_ipv6_nib_6ln/Makefile +++ b/tests/gnrc_ipv6_nib_6ln/Makefile @@ -1,8 +1,9 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos i-nucleo-lrwan1 nucleo-f030r8 \ - nucleo-l053r8 nucleo-f031k6 nucleo-l031k6 nucleo-f042k6 \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno chronos \ + i-nucleo-lrwan1 nucleo-f030r8 nucleo-l053r8 \ + nucleo-f031k6 nucleo-l031k6 nucleo-f042k6 \ stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ wsn430-v1_4 diff --git a/tests/gnrc_mac_timeout/Makefile b/tests/gnrc_mac_timeout/Makefile index 82e42d8e7acb..c8463b3eb471 100644 --- a/tests/gnrc_mac_timeout/Makefile +++ b/tests/gnrc_mac_timeout/Makefile @@ -1,10 +1,11 @@ APPLICATION = gnrc_mac_timeout include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos i-nucleo-lrwan1 nucleo-f030r8 \ - nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 nucleo-l053r8 \ - stm32f0discovery waspmote-pro +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno \ + chronos i-nucleo-lrwan1 nucleo-f030r8 \ + nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ + nucleo-l053r8 stm32f0discovery waspmote-pro USEMODULE += gnrc_mac diff --git a/tests/gnrc_ndp/Makefile b/tests/gnrc_ndp/Makefile index 76409a945746..63ffdd8b8d65 100644 --- a/tests/gnrc_ndp/Makefile +++ b/tests/gnrc_ndp/Makefile @@ -1,8 +1,9 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos i-nucleo-lrwan1 nucleo-f030r8 \ - nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 nucleo-l053r8 \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno chronos \ + i-nucleo-lrwan1 nucleo-f030r8 nucleo-f031k6 \ + nucleo-f042k6 nucleo-l031k6 nucleo-l053r8 \ stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ wsn430-v1_4 diff --git a/tests/gnrc_netif/Makefile b/tests/gnrc_netif/Makefile index 1edfcea62db3..9c8e4f030dec 100644 --- a/tests/gnrc_netif/Makefile +++ b/tests/gnrc_netif/Makefile @@ -1,11 +1,12 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ - arduino-nano arduino-uno b-l072z-lrwan1 blackpill \ - bluepill calliope-mini cc2650-launchpad cc2650stk \ - chronos hifive1 i-nucleo-lrwan1 lsn50 maple-mini \ - mega-xplained microbit \ - msb-430 msb-430h nrf51dk nrf51dongle nrf6310 \ +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno \ + b-l072z-lrwan1 blackpill bluepill calliope-mini \ + cc2650-launchpad cc2650stk chronos hifive1 \ + i-nucleo-lrwan1 lsn50 maple-mini \ + mega-xplained microbit msb-430 msb-430h \ + nrf51dk nrf51dongle nrf6310 \ nucleo-f030r8 nucleo-f070rb nucleo-f072rb \ nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \ nucleo-l053r8 nucleo-l073rz nucleo-f031k6 \ diff --git a/tests/gnrc_rpl_srh/Makefile b/tests/gnrc_rpl_srh/Makefile index 699923c17da4..098caf6be454 100644 --- a/tests/gnrc_rpl_srh/Makefile +++ b/tests/gnrc_rpl_srh/Makefile @@ -2,7 +2,8 @@ DEVELHELP := 1 # name of your application include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno hifive1 i-nucleo-lrwan1 mega-xplained \ msb-430 msb-430h nucleo-f030r8 nucleo-f031k6 \ nucleo-f042k6 nucleo-f070rb nucleo-f072rb \ diff --git a/tests/gnrc_sixlowpan/Makefile b/tests/gnrc_sixlowpan/Makefile index bdf94b35ae25..c783724ad988 100644 --- a/tests/gnrc_sixlowpan/Makefile +++ b/tests/gnrc_sixlowpan/Makefile @@ -1,9 +1,9 @@ # name of your application include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos hifive1 i-nucleo-lrwan1 \ - msb-430 msb-430h \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno chronos \ + hifive1 i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f030r8 nucleo-f031k6 nucleo-f042k6 \ nucleo-f070rb nucleo-f070rb nucleo-f072rb \ nucleo-f303k8 nucleo-f334r8 nucleo-l031k6 \ diff --git a/tests/gnrc_sixlowpan_frag/Makefile b/tests/gnrc_sixlowpan_frag/Makefile index 52ab2daf6f0c..b6deb5a40253 100644 --- a/tests/gnrc_sixlowpan_frag/Makefile +++ b/tests/gnrc_sixlowpan_frag/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 USEMODULE += gnrc_sixlowpan_frag USEMODULE += embunit diff --git a/tests/gnrc_sock_dns/Makefile b/tests/gnrc_sock_dns/Makefile index 14cb8519b999..435acea851ea 100644 --- a/tests/gnrc_sock_dns/Makefile +++ b/tests/gnrc_sock_dns/Makefile @@ -2,7 +2,8 @@ include ../Makefile.tests_common RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos hifive1 i-nucleo-lrwan1 \ mega-xplained msb-430 msb-430h \ nucleo-f042k6 nucleo-f031k6 \ diff --git a/tests/gnrc_sock_ip/Makefile b/tests/gnrc_sock_ip/Makefile index 06f90aeb4d8c..74acd850fd9c 100644 --- a/tests/gnrc_sock_ip/Makefile +++ b/tests/gnrc_sock_ip/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-nano arduino-uno \ chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 USEMODULE += gnrc_sock_ip diff --git a/tests/gnrc_sock_udp/Makefile b/tests/gnrc_sock_udp/Makefile index 262c23647bac..1d1c511bc67b 100644 --- a/tests/gnrc_sock_udp/Makefile +++ b/tests/gnrc_sock_udp/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 waspmote-pro diff --git a/tests/gnrc_tcp_client/Makefile b/tests/gnrc_tcp_client/Makefile index 53396d0bb530..1c091708afe3 100644 --- a/tests/gnrc_tcp_client/Makefile +++ b/tests/gnrc_tcp_client/Makefile @@ -13,7 +13,8 @@ TCP_CLIENT_ADDR ?= 2001:db8::affe:0002 TCP_TEST_CYCLES ?= 3 # Mark Boards with insufficient memory -BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove \ + arduino-leonardo arduino-mega2560 \ arduino-nano arduino-uno calliope-mini chronos \ hifive1 i-nucleo-lrwan1 mega-xplained microbit \ msb-430 msb-430h nrf51dk nrf51dongle nrf6310 \ diff --git a/tests/gnrc_tcp_server/Makefile b/tests/gnrc_tcp_server/Makefile index a318313e3749..be22cc694afe 100644 --- a/tests/gnrc_tcp_server/Makefile +++ b/tests/gnrc_tcp_server/Makefile @@ -12,7 +12,8 @@ TCP_SERVER_PORT ?= 80 TCP_TEST_CYCLES ?= 3 # Mark Boards with insufficient memory -BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove \ + arduino-leonardo arduino-mega2560 \ arduino-nano arduino-uno calliope-mini chronos \ hifive1 i-nucleo-lrwan1 mega-xplained microbit \ msb-430 msb-430h \ diff --git a/tests/gnrc_udp/Makefile b/tests/gnrc_udp/Makefile index 5301af03e0e8..c28e0c2c4d0f 100644 --- a/tests/gnrc_udp/Makefile +++ b/tests/gnrc_udp/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno calliope-mini chronos hifive1 \ i-nucleo-lrwan1 \ mega-xplained microbit msb-430 msb-430h \ diff --git a/tests/irq/Makefile b/tests/irq/Makefile index 89cb26cf0340..bea911be69ff 100644 --- a/tests/irq/Makefile +++ b/tests/irq/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 USEMODULE += auto_init USEMODULE += xtimer diff --git a/tests/isr_yield_higher/Makefile b/tests/isr_yield_higher/Makefile index fe3ae4c8125e..a8860fe882f9 100644 --- a/tests/isr_yield_higher/Makefile +++ b/tests/isr_yield_higher/Makefile @@ -1,8 +1,8 @@ APPLICATION = isr_yield_higher include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 USEMODULE += xtimer diff --git a/tests/msg_send_receive/Makefile b/tests/msg_send_receive/Makefile index b3e731790e8e..c97e253860b4 100644 --- a/tests/msg_send_receive/Makefile +++ b/tests/msg_send_receive/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 TEST_ON_CI_WHITELIST += all diff --git a/tests/mutex_order/Makefile b/tests/mutex_order/Makefile index 037942a5d48c..0e6b80e07473 100644 --- a/tests/mutex_order/Makefile +++ b/tests/mutex_order/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - i-nucleo-lrwan1 \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno i-nucleo-lrwan1 \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ nucleo-f030r8 nucleo-l053r8 stm32f0discovery diff --git a/tests/nanocoap_cli/Makefile b/tests/nanocoap_cli/Makefile index dcf88203ad20..13be1ab060d5 100644 --- a/tests/nanocoap_cli/Makefile +++ b/tests/nanocoap_cli/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno chronos i-nucleo-lrwan1 mega-xplained \ msb-430 msb-430h nucleo-f030r8 \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ diff --git a/tests/netdev_test/Makefile b/tests/netdev_test/Makefile index 6149b11f2080..b9cab89b7630 100644 --- a/tests/netdev_test/Makefile +++ b/tests/netdev_test/Makefile @@ -4,8 +4,8 @@ CFLAGS += -DNDEBUG include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 DISABLE_MODULE = auto_init diff --git a/tests/periph_eeprom/Makefile b/tests/periph_eeprom/Makefile index 1e0bff91ebf4..dbd0ab6f4603 100644 --- a/tests/periph_eeprom/Makefile +++ b/tests/periph_eeprom/Makefile @@ -3,7 +3,8 @@ include ../Makefile.tests_common FEATURES_REQUIRED += periph_eeprom -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno USEMODULE += shell USEMODULE += shell_commands # provides reboot command diff --git a/tests/periph_gpio/Makefile b/tests/periph_gpio/Makefile index ede7e5f834e4..bd0adec74dc2 100644 --- a/tests/periph_gpio/Makefile +++ b/tests/periph_gpio/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno FEATURES_REQUIRED = periph_gpio FEATURES_OPTIONAL = periph_gpio_irq diff --git a/tests/periph_i2c/Makefile b/tests/periph_i2c/Makefile index 5d2b48c44623..af9559ec08c4 100644 --- a/tests/periph_i2c/Makefile +++ b/tests/periph_i2c/Makefile @@ -1,7 +1,8 @@ BOARD ?= samr21-xpro include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno FEATURES_REQUIRED = periph_i2c diff --git a/tests/periph_pwm/Makefile b/tests/periph_pwm/Makefile index 7c6401179235..065f8484f110 100644 --- a/tests/periph_pwm/Makefile +++ b/tests/periph_pwm/Makefile @@ -1,7 +1,8 @@ BOARD ?= samr21-xpro include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno FEATURES_REQUIRED = periph_pwm diff --git a/tests/periph_spi/Makefile b/tests/periph_spi/Makefile index 8f8cfc7f3ff7..182bb1133a15 100644 --- a/tests/periph_spi/Makefile +++ b/tests/periph_spi/Makefile @@ -1,7 +1,8 @@ BOARD ?= samr21-xpro include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno FEATURES_REQUIRED = periph_spi diff --git a/tests/periph_timer/Makefile b/tests/periph_timer/Makefile index fc08bbb6e8f2..ea7a089850b6 100644 --- a/tests/periph_timer/Makefile +++ b/tests/periph_timer/Makefile @@ -1,7 +1,5 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno - FEATURES_REQUIRED = periph_timer TEST_ON_CI_WHITELIST += all diff --git a/tests/periph_uart/Makefile b/tests/periph_uart/Makefile index e9a1eadca2a1..a6cfb0170756 100644 --- a/tests/periph_uart/Makefile +++ b/tests/periph_uart/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno nucleo-f031k6 FEATURES_REQUIRED += periph_uart FEATURES_OPTIONAL += periph_lpuart # STM32 L0 and L4 provides lpuart support diff --git a/tests/pkg_c25519/Makefile b/tests/pkg_c25519/Makefile index 49d8ff21668b..57dbf44a833a 100644 --- a/tests/pkg_c25519/Makefile +++ b/tests/pkg_c25519/Makefile @@ -4,7 +4,8 @@ USEMODULE += embunit USEMODULE += random USEPKG += c25519 -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno TEST_ON_CI_WHITELIST += all diff --git a/tests/pkg_fatfs/Makefile b/tests/pkg_fatfs/Makefile index d40581795f6d..67464f3bbe41 100644 --- a/tests/pkg_fatfs/Makefile +++ b/tests/pkg_fatfs/Makefile @@ -2,13 +2,15 @@ include ../Makefile.tests_common BOARD ?= native -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno FEATURES_OPTIONAL += periph_rtc # this list is composed of boards that support spi/gpio + native -BOARD_WHITELIST := airfy-beacon arduino-due arduino-duemilanove arduino-mega2560 \ - arduino-mkr1000 arduino-mkrzero arduino-uno arduino-zero avsextrem \ +BOARD_WHITELIST := airfy-beacon arduino-due arduino-duemilanove \ + arduino-leonardo arduino-mega2560 arduino-mkr1000 \ + arduino-mkrzero arduino-uno arduino-zero avsextrem \ b-l072z-lrwan1 b-l475e-iot01a bluepill cc2538dk ek-lm4f120xl \ feather-m0 fox frdm-k22f frdm-k64f i-nucleo-lrwan1 ikea-tradfri \ iotlab-a8-m3 iotlab-m3 limifrog-v1 maple-mini msb-430 msb-430h msba2 \ diff --git a/tests/pkg_fatfs_vfs/Makefile b/tests/pkg_fatfs_vfs/Makefile index dc0e290fe7c6..edbf14bf4334 100644 --- a/tests/pkg_fatfs_vfs/Makefile +++ b/tests/pkg_fatfs_vfs/Makefile @@ -25,13 +25,14 @@ else USEMODULE += mtd_sdcard endif -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - msb-430 msb-430h nucleo-f031k6 telosb \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno msb-430 msb-430h nucleo-f031k6 telosb \ wsn430-v1_3b wsn430-v1_4 z1 # this list is composed of boards with sufficient memory and support spi/gpio + native -BOARD_WHITELIST := airfy-beacon arduino-due arduino-duemilanove arduino-mega2560 \ - arduino-mkr1000 arduino-mkrzero arduino-uno arduino-zero avsextrem \ +BOARD_WHITELIST := airfy-beacon arduino-due arduino-duemilanove \ + arduino-leonardo arduino-mega2560 arduino-mkr1000 \ + arduino-mkrzero arduino-uno arduino-zero avsextrem \ b-l072z-lrwan1 b-l475e-iot01a bluepill cc2538dk ek-lm4f120xl \ feather-m0 fox frdm-k22f frdm-k64f ikea-tradfri i-nucleo-lrwan1 \ iotlab-a8-m3 iotlab-m3 limifrog-v1 maple-mini msba2 msbiot \ diff --git a/tests/pkg_heatshrink/Makefile b/tests/pkg_heatshrink/Makefile index 9c431130cb6d..3e989aa62d47 100644 --- a/tests/pkg_heatshrink/Makefile +++ b/tests/pkg_heatshrink/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove \ + arduino-leonardo \ arduino-nano \ arduino-uno \ nucleo-f031k6 \ diff --git a/tests/pkg_libb2/Makefile b/tests/pkg_libb2/Makefile index a13091b1366d..fdfe34ff7880 100644 --- a/tests/pkg_libb2/Makefile +++ b/tests/pkg_libb2/Makefile @@ -1,10 +1,11 @@ include ../Makefile.tests_common # BLAKE2s + BLAKE2 is too big for these boards -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - chronos mega-xplained msb-430 msb-430h \ - nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 telosb \ - waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno chronos mega-xplained msb-430 \ + msb-430h nucleo-f031k6 nucleo-f042k6 \ + nucleo-l031k6 telosb waspmote-pro \ + wsn430-v1_3b wsn430-v1_4 z1 TEST_ON_CI_WHITELIST += all diff --git a/tests/pkg_micro-ecc/Makefile b/tests/pkg_micro-ecc/Makefile index aa9fb3fa0ffe..435685469365 100644 --- a/tests/pkg_micro-ecc/Makefile +++ b/tests/pkg_micro-ecc/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno # micro-ecc is not 16 bit compatible BOARD_BLACKLIST = chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1 diff --git a/tests/pkg_microcoap/Makefile b/tests/pkg_microcoap/Makefile index d61e9eecda65..03d01d000e09 100644 --- a/tests/pkg_microcoap/Makefile +++ b/tests/pkg_microcoap/Makefile @@ -1,8 +1,8 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos i-nucleo-lrwan1 \ - msb-430 msb-430h \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno chronos \ + i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ nucleo-l031k6 nucleo-f030r8 nucleo-l053r8 \ stm32f0discovery telosb waspmote-pro z1 diff --git a/tests/pkg_qdsa/Makefile b/tests/pkg_qdsa/Makefile index 4767f12ac452..7972aeed5206 100644 --- a/tests/pkg_qdsa/Makefile +++ b/tests/pkg_qdsa/Makefile @@ -5,8 +5,10 @@ TEST_ON_CI_WHITELIST += all # qDSA is not 16 bit compatible BOARD_BLACKLIST := chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1 -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno nucleo-f031k6 + + CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(4*THREAD_STACKSIZE_DEFAULT\) diff --git a/tests/pkg_semtech-loramac/Makefile b/tests/pkg_semtech-loramac/Makefile index d1c63945c519..3859edd6cbcc 100644 --- a/tests/pkg_semtech-loramac/Makefile +++ b/tests/pkg_semtech-loramac/Makefile @@ -2,8 +2,9 @@ BOARD ?= b-l072z-lrwan1 include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 nucleo-f042k6 \ + nucleo-l031k6 BOARD_BLACKLIST := msb-430 msb-430h pic32-clicker pic32-wifire \ telosb wsn430-v1_3b wsn430-v1_4 z1 diff --git a/tests/pkg_tiny-asn1/Makefile b/tests/pkg_tiny-asn1/Makefile index 1ba8904a072a..5dbed70defcc 100644 --- a/tests/pkg_tiny-asn1/Makefile +++ b/tests/pkg_tiny-asn1/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano\ + arduino-uno BOARD_BLACKLIST := wsn430-v1_3b wsn430-v1_4 diff --git a/tests/pkg_tweetnacl/Makefile b/tests/pkg_tweetnacl/Makefile index 0d4e35738448..125a18660cb3 100644 --- a/tests/pkg_tweetnacl/Makefile +++ b/tests/pkg_tweetnacl/Makefile @@ -1,9 +1,10 @@ include ../Makefile.tests_common BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove \ - arduino-uno \ + arduino-leonardo \ arduino-mega2560 \ arduino-nano \ + arduino-uno \ mega-xplained \ nucleo-f031k6 \ nucleo-f042k6 \ diff --git a/tests/pkg_u8g2/Makefile b/tests/pkg_u8g2/Makefile index ac08f78f0963..1d6aef4f7e40 100644 --- a/tests/pkg_u8g2/Makefile +++ b/tests/pkg_u8g2/Makefile @@ -1,8 +1,8 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - chronos msb-430 msb-430h nucleo-f031k6 telosb \ - wsn430-v1_3b wsn430-v1_4 z1 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno chronos msb-430 msb-430h \ + nucleo-f031k6 telosb wsn430-v1_3b wsn430-v1_4 z1 USEMODULE += xtimer diff --git a/tests/pkg_ucglib/Makefile b/tests/pkg_ucglib/Makefile index 8cb0cbfa1325..9a813e193842 100644 --- a/tests/pkg_ucglib/Makefile +++ b/tests/pkg_ucglib/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno waspmote-pro USEMODULE += xtimer diff --git a/tests/posix_semaphore/Makefile b/tests/posix_semaphore/Makefile index fdc0eee4917d..7088a742673b 100644 --- a/tests/posix_semaphore/Makefile +++ b/tests/posix_semaphore/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - chronos i-nucleo-lrwan1 mbed_lpc1768 \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno chronos i-nucleo-lrwan1 mbed_lpc1768 \ msb-430 msb-430h nrf6310 \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ nucleo-f030r8 nucleo-f303k8 nucleo-f334r8 \ diff --git a/tests/ps_schedstatistics/Makefile b/tests/ps_schedstatistics/Makefile index 218a04c5861a..54b24afe841e 100644 --- a/tests/ps_schedstatistics/Makefile +++ b/tests/ps_schedstatistics/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - chronos i-nucleo-lrwan1 \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno chronos i-nucleo-lrwan1 \ msb-430 msb-430h nucleo-f030r8 \ nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 stm32f0discovery telosb \ diff --git a/tests/riotboot_flashwrite/Makefile b/tests/riotboot_flashwrite/Makefile index e50ad597b033..32f127d70c63 100644 --- a/tests/riotboot_flashwrite/Makefile +++ b/tests/riotboot_flashwrite/Makefile @@ -2,7 +2,8 @@ DEVELHELP ?= 0 BOARD ?= samr21-xpro include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-uno \ chronos i-nucleo-lrwan1 \ msb-430 msb-430h nucleo-f031k6 \ nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \ diff --git a/tests/rmutex/Makefile b/tests/rmutex/Makefile index 500210348607..6ecc02eb9971 100644 --- a/tests/rmutex/Makefile +++ b/tests/rmutex/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - i-nucleo-lrwan1 \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno i-nucleo-lrwan1 \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ nucleo-f030r8 nucleo-l053r8 stm32f0discovery diff --git a/tests/rng/Makefile b/tests/rng/Makefile index 2966c60870ab..7da2cd825f36 100644 --- a/tests/rng/Makefile +++ b/tests/rng/Makefile @@ -2,7 +2,8 @@ include ../Makefile.tests_common # some boards have not enough rom and/or ram BOARD_BLACKLIST += nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 pic32-clicker -BOARD_INSUFFICIENT_MEMORY += arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY += arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno # override PRNG if desired (see sys/random for alternatives) # USEMODULE += prng_minstd diff --git a/tests/saul/Makefile b/tests/saul/Makefile index 8d8712bc862d..9242312f06d4 100644 --- a/tests/saul/Makefile +++ b/tests/saul/Makefile @@ -6,6 +6,7 @@ USEMODULE += saul_default USEMODULE += xtimer # Too little flash: -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY += arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno include $(RIOTBASE)/Makefile.include diff --git a/tests/sched_testing/Makefile b/tests/sched_testing/Makefile index b3e731790e8e..ed83fcf2dba0 100644 --- a/tests/sched_testing/Makefile +++ b/tests/sched_testing/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY += arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 TEST_ON_CI_WHITELIST += all diff --git a/tests/shell/Makefile b/tests/shell/Makefile index d55a0337397f..c92e1bd57517 100644 --- a/tests/shell/Makefile +++ b/tests/shell/Makefile @@ -12,6 +12,7 @@ DISABLE_MODULE += auto_init BOARD_BLACKLIST += chronos BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove \ + arduino-leonardo \ arduino-nano \ arduino-uno diff --git a/tests/slip/Makefile b/tests/slip/Makefile index f715454417f3..ee95f64f4d5e 100644 --- a/tests/slip/Makefile +++ b/tests/slip/Makefile @@ -1,6 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano \ arduino-uno i-nucleo-lrwan1 \ msb-430 msb-430h nucleo-f031k6 \ nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \ diff --git a/tests/sntp/Makefile b/tests/sntp/Makefile index c3aa58d95264..0ba94e28c9fc 100644 --- a/tests/sntp/Makefile +++ b/tests/sntp/Makefile @@ -1,8 +1,8 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-nano \ - arduino-uno chronos i-nucleo-lrwan1 \ - msb-430 msb-430h \ +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ + arduino-mega2560 arduino-nano arduino-uno \ + chronos i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ nucleo-f030r8 nucleo-f303k8 nucleo-f334r8 \ nucleo-l053r8 stm32f0discovery telosb \ diff --git a/tests/struct_tm_utility/Makefile b/tests/struct_tm_utility/Makefile index a5720e950a2f..99e45fa1b094 100644 --- a/tests/struct_tm_utility/Makefile +++ b/tests/struct_tm_utility/Makefile @@ -2,7 +2,8 @@ include ../Makefile.tests_common DISABLE_MODULE += auto_init -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno USEMODULE += shell USEMODULE += timex diff --git a/tests/thread_cooperation/Makefile b/tests/thread_cooperation/Makefile index b550c58373a9..9e50f1dbb7be 100644 --- a/tests/thread_cooperation/Makefile +++ b/tests/thread_cooperation/Makefile @@ -1,9 +1,8 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - chronos i-nucleo-lrwan1 \ - msb-430 msb-430h nucleo-f031k6 \ - nucleo-f303k8 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno chronos i-nucleo-lrwan1 msb-430 \ + msb-430h nucleo-f031k6 nucleo-f303k8 DISABLE_MODULE += auto_init diff --git a/tests/thread_exit/Makefile b/tests/thread_exit/Makefile index 12c35118122f..d9618e2f151c 100644 --- a/tests/thread_exit/Makefile +++ b/tests/thread_exit/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 DISABLE_MODULE += auto_init diff --git a/tests/thread_flags/Makefile b/tests/thread_flags/Makefile index bda0b404c925..37f782b1b2db 100644 --- a/tests/thread_flags/Makefile +++ b/tests/thread_flags/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 USEMODULE += core_thread_flags USEMODULE += xtimer diff --git a/tests/thread_float/Makefile b/tests/thread_float/Makefile index 9cd38c1ae40d..3b6b1acd1de0 100644 --- a/tests/thread_float/Makefile +++ b/tests/thread_float/Makefile @@ -1,8 +1,8 @@ APPLICATION = thread_float include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-uno arduino-duemilanove \ - arduino-nano alliope-mini cc2650stk chronos \ +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ + arduino-nano arduino-uno cc2650stk chronos \ maple-mini mbed_lpc1768 microbit msb-430 msb-430h \ nrf51dongle nrf6310 nucleo-f031k6 nucleo-f042k6 \ opencm9-04 pca10000 pca10005 spark-core \ diff --git a/tests/thread_msg/Makefile b/tests/thread_msg/Makefile index 44aa5625ef57..a866cec00856 100644 --- a/tests/thread_msg/Makefile +++ b/tests/thread_msg/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 nucleo-f042k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 nucleo-f042k6 DISABLE_MODULE += auto_init diff --git a/tests/thread_msg_seq/Makefile b/tests/thread_msg_seq/Makefile index 0dd3c8a9a08a..9335b23a7d80 100644 --- a/tests/thread_msg_seq/Makefile +++ b/tests/thread_msg_seq/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 nucleo-f042k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 nucleo-f042k6 DISABLE_MODULE += auto_init diff --git a/tests/thread_priority_inversion/Makefile b/tests/thread_priority_inversion/Makefile index c122582f0ffe..b37de18169cd 100644 --- a/tests/thread_priority_inversion/Makefile +++ b/tests/thread_priority_inversion/Makefile @@ -3,7 +3,7 @@ include ../Makefile.tests_common USEMODULE += xtimer -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 include $(RIOTBASE)/Makefile.include diff --git a/tests/thread_race/Makefile b/tests/thread_race/Makefile index 4a391ab43bb9..4671da03d5df 100644 --- a/tests/thread_race/Makefile +++ b/tests/thread_race/Makefile @@ -2,7 +2,8 @@ include ../Makefile.tests_common DISABLE_MODULE += auto_init -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno TEST_ON_CI_WHITELIST += all diff --git a/tests/unittests/Makefile b/tests/unittests/Makefile index 14312a0a2d74..303d1fee88a9 100644 --- a/tests/unittests/Makefile +++ b/tests/unittests/Makefile @@ -3,6 +3,7 @@ include ../Makefile.tests_common BOARD_INSUFFICIENT_MEMORY := airfy-beacon \ arduino-duemilanove \ + arduino-leonardo \ arduino-mega2560 \ arduino-mkr1000 \ arduino-mkrfox1200 \ diff --git a/tests/xtimer_drift/Makefile b/tests/xtimer_drift/Makefile index fdb4b56e0630..1a18c526bb0e 100644 --- a/tests/xtimer_drift/Makefile +++ b/tests/xtimer_drift/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 nucleo-f042k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 nucleo-f042k6 USEMODULE += xtimer diff --git a/tests/xtimer_hang/Makefile b/tests/xtimer_hang/Makefile index dd64015df4a0..909eb4efdc55 100644 --- a/tests/xtimer_hang/Makefile +++ b/tests/xtimer_hang/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 USEMODULE += xtimer diff --git a/tests/xtimer_longterm/Makefile b/tests/xtimer_longterm/Makefile index fdb4b56e0630..1a18c526bb0e 100644 --- a/tests/xtimer_longterm/Makefile +++ b/tests/xtimer_longterm/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 nucleo-f042k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 nucleo-f042k6 USEMODULE += xtimer diff --git a/tests/xtimer_msg/Makefile b/tests/xtimer_msg/Makefile index 91980bcd2576..5e10733b73b1 100644 --- a/tests/xtimer_msg/Makefile +++ b/tests/xtimer_msg/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno nucleo-f031k6 USEMODULE += xtimer diff --git a/tests/xtimer_periodic_wakeup/Makefile b/tests/xtimer_periodic_wakeup/Makefile index b93047e23577..95130f5e0c6f 100644 --- a/tests/xtimer_periodic_wakeup/Makefile +++ b/tests/xtimer_periodic_wakeup/Makefile @@ -1,7 +1,7 @@ include ../Makefile.tests_common -BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-nano arduino-uno \ - chronos +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ + arduino-uno chronos USEMODULE += xtimer