From 725d3d9bcd300d6c05d80e66674d69184593406f Mon Sep 17 00:00:00 2001
From: cladmi <gaetan.harter@fu-berlin.de>
Date: Fri, 17 Aug 2018 11:42:28 +0200
Subject: [PATCH] tests/pkg: blacklist arduino boards based on ROM/RAM overflow

---
 tests/pkg_fatfs/Makefile           | 2 ++
 tests/pkg_fatfs_vfs/Makefile       | 3 ++-
 tests/pkg_micro-ecc/Makefile       | 2 ++
 tests/pkg_microcoap/Makefile       | 8 +++++---
 tests/pkg_semtech-loramac/Makefile | 3 ++-
 tests/pkg_tiny-asn1/Makefile       | 2 ++
 tests/pkg_u8g2/Makefile            | 3 ++-
 tests/pkg_ucglib/Makefile          | 3 +++
 8 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/tests/pkg_fatfs/Makefile b/tests/pkg_fatfs/Makefile
index b9e0e98398..ba471515e5 100644
--- a/tests/pkg_fatfs/Makefile
+++ b/tests/pkg_fatfs/Makefile
@@ -2,6 +2,8 @@ include ../Makefile.tests_common
 
 BOARD ?= native
 
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
+
 FEATURES_OPTIONAL += periph_rtc
 
 # this list is composed of boards that support spi/gpio + native
diff --git a/tests/pkg_fatfs_vfs/Makefile b/tests/pkg_fatfs_vfs/Makefile
index 2df78d9ded..d04164ca8a 100644
--- a/tests/pkg_fatfs_vfs/Makefile
+++ b/tests/pkg_fatfs_vfs/Makefile
@@ -25,7 +25,8 @@ else
   USEMODULE += mtd_sdcard
 endif
 
-BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h nucleo-f031k6 telosb \
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove 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
diff --git a/tests/pkg_micro-ecc/Makefile b/tests/pkg_micro-ecc/Makefile
index 2278cd1e91..a9d2935d72 100644
--- a/tests/pkg_micro-ecc/Makefile
+++ b/tests/pkg_micro-ecc/Makefile
@@ -1,5 +1,7 @@
 include ../Makefile.tests_common
 
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
+
 USEMODULE += hashes
 USEPKG += micro-ecc
 
diff --git a/tests/pkg_microcoap/Makefile b/tests/pkg_microcoap/Makefile
index b7b5479d0a..6f0a3fa187 100644
--- a/tests/pkg_microcoap/Makefile
+++ b/tests/pkg_microcoap/Makefile
@@ -1,8 +1,10 @@
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \
-                             nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \
-                             nucleo-l053r8 stm32f0discovery telosb z1
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
+                             chronos msb-430 msb-430h nucleo-f031k6 \
+                             nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
+                             nucleo-f030r8 nucleo-l053r8 stm32f0discovery \
+                             telosb waspmote-pro z1
 
 # Include packages that pull up and auto-init the link layer.
 # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
diff --git a/tests/pkg_semtech-loramac/Makefile b/tests/pkg_semtech-loramac/Makefile
index 2a08494661..2324bba50e 100644
--- a/tests/pkg_semtech-loramac/Makefile
+++ b/tests/pkg_semtech-loramac/Makefile
@@ -2,7 +2,8 @@ BOARD ?= b-l072z-lrwan1
 
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 nucleo-l031k6
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
+                             nucleo-f031k6 nucleo-f042k6 nucleo-l031k6
 
 BOARD_BLACKLIST := msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
 
diff --git a/tests/pkg_tiny-asn1/Makefile b/tests/pkg_tiny-asn1/Makefile
index e47e3642ac..c3f90123bf 100644
--- a/tests/pkg_tiny-asn1/Makefile
+++ b/tests/pkg_tiny-asn1/Makefile
@@ -1,5 +1,7 @@
 include ../Makefile.tests_common
 
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
+
 BOARD_BLACKLIST := wsn430-v1_3b wsn430-v1_4
 
 USEPKG += tiny-asn1
diff --git a/tests/pkg_u8g2/Makefile b/tests/pkg_u8g2/Makefile
index b1bcc9660b..3fb3e40a7d 100644
--- a/tests/pkg_u8g2/Makefile
+++ b/tests/pkg_u8g2/Makefile
@@ -1,6 +1,7 @@
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 telosb \
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove 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 8133b1d6a2..e8bc8a5e15 100644
--- a/tests/pkg_ucglib/Makefile
+++ b/tests/pkg_ucglib/Makefile
@@ -1,5 +1,8 @@
 include ../Makefile.tests_common
 
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
+                             waspmote-pro
+
 USEMODULE += xtimer
 
 USEPKG += ucglib
-- 
GitLab