From b3f889c7ef24fd61be0b88e56b78fc59f5ceecab Mon Sep 17 00:00:00 2001 From: cladmi <gaetan.harter@fu-berlin.de> Date: Fri, 17 Aug 2018 11:08:15 +0200 Subject: [PATCH] examples: blacklist arduino boards based on ROM/RAM overflow --- examples/asymcute_mqttsn/Makefile | 14 ++++++++------ examples/default/Makefile | 2 ++ examples/filesystem/Makefile | 3 ++- examples/gcoap/Makefile | 10 ++++++---- examples/gnrc_border_router/Makefile | 15 +++++++++------ examples/gnrc_minimal/Makefile | 2 +- examples/gnrc_networking/Makefile | 13 ++++++++----- examples/gnrc_tftp/Makefile | 16 ++++++++++------ examples/nanocoap_server/Makefile | 8 +++++--- examples/ndn-ping/Makefile | 9 ++++++--- examples/posix_sockets/Makefile | 13 ++++++++----- examples/rdcli_simple/Makefile | 10 ++++++---- examples/saul/Makefile | 2 ++ 13 files changed, 73 insertions(+), 44 deletions(-) diff --git a/examples/asymcute_mqttsn/Makefile b/examples/asymcute_mqttsn/Makefile index 08f6156305..e89290e6ee 100644 --- a/examples/asymcute_mqttsn/Makefile +++ b/examples/asymcute_mqttsn/Makefile @@ -9,12 +9,14 @@ RIOTBASE ?= $(CURDIR)/../.. # Not all boards have enough memory to build the default configuration of this # example... -BOARD_INSUFFICIENT_MEMORY := airfy-beacon chronos hifive1 microbit msb-430 \ - msb-430h nrf51dongle nrf6310 nucleo-f030r8 \ - nucleo-f031k6 nucleo-f042k6 nucleo-f070rb \ - nucleo-f072rb nucleo-f303k8 nucleo-f334r8 \ - nucleo-l031k6 nucleo-l053r8 stm32f0discovery \ - telosb wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1 +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ + arduino-uno chronos hifive1 mega-xplained \ + microbit msb-430 msb-430h nrf51dongle nrf6310 \ + nucleo-f030r8 nucleo-f031k6 nucleo-f042k6 \ + nucleo-f070rb nucleo-f072rb nucleo-f303k8 \ + nucleo-f334r8 nucleo-l031k6 nucleo-l053r8 \ + stm32f0discovery telosb waspmote-pro \ + wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 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/examples/default/Makefile b/examples/default/Makefile index 664945b5df..7ca1175f66 100644 --- a/examples/default/Makefile +++ b/examples/default/Makefile @@ -7,6 +7,8 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno + # Uncomment these lines if you want to use platform support from external # repositories: #RIOTCPU ?= $(CURDIR)/../../RIOT/thirdparty_cpu diff --git a/examples/filesystem/Makefile b/examples/filesystem/Makefile index 69034e3a60..85b2d44363 100644 --- a/examples/filesystem/Makefile +++ b/examples/filesystem/Makefile @@ -4,6 +4,7 @@ APPLICATION = filesystem # If no BOARD is found in the environment, use this default: BOARD ?= native + # Blacklisting msp430-based boards, as file syscalls are not supported BOARD_BLACKLIST := chronos \ msb-430 \ @@ -14,7 +15,7 @@ BOARD_BLACKLIST := chronos \ z1 \ # -BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove 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 14fdd7380e..8bc2659393 100644 --- a/examples/gcoap/Makefile +++ b/examples/gcoap/Makefile @@ -9,10 +9,12 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \ - nucleo-l031k6 nucleo-f030r8 nucleo-f334r8 nucleo-l053r8 \ - stm32f0discovery telosb wsn430-v1_3b wsn430-v1_4 z1 \ - nucleo-f303k8 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \ + chronos mega-xplained msb-430 msb-430h \ + nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ + nucleo-f030r8 nucleo-f303k8 nucleo-f334r8 \ + nucleo-l053r8 stm32f0discovery telosb \ + waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 ## Uncomment to redefine port, for example use 61616 for RFC 6282 UDP compression. #GCOAP_PORT = 5683 diff --git a/examples/gnrc_border_router/Makefile b/examples/gnrc_border_router/Makefile index 54177f6972..a8d8f0b841 100644 --- a/examples/gnrc_border_router/Makefile +++ b/examples/gnrc_border_router/Makefile @@ -7,13 +7,16 @@ BOARD ?= samr21-xpro # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 bluepill calliope-mini \ +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ + arduino-uno b-l072z-lrwan1 bluepill calliope-mini \ cc2650-launchpad cc2650stk hifive1 maple-mini \ - microbit msb-430 msb-430h nrf51dongle nrf6310 \ - nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \ - nucleo-f030r8 nucleo-f070rb nucleo-f072rb nucleo-f103rb nucleo-f302r8 \ - nucleo-f334r8 nucleo-l053r8 nucleo-l073rz opencm904 \ - spark-core stm32f0discovery stm32mindev telosb \ + mega-xplained microbit msb-430 msb-430h \ + nrf51dongle nrf6310 nucleo-f031k6 nucleo-f042k6 \ + nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \ + nucleo-f070rb nucleo-f072rb nucleo-f103rb \ + nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \ + nucleo-l073rz opencm904 spark-core \ + stm32f0discovery stm32mindev telosb waspmote-pro \ weio wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1 # The following boards do not have an available UART diff --git a/examples/gnrc_minimal/Makefile b/examples/gnrc_minimal/Makefile index 5a5b565153..bc63da397f 100644 --- a/examples/gnrc_minimal/Makefile +++ b/examples/gnrc_minimal/Makefile @@ -7,7 +7,7 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove 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 86b7a94c14..4d361f8250 100644 --- a/examples/gnrc_networking/Makefile +++ b/examples/gnrc_networking/Makefile @@ -7,11 +7,14 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := calliope-mini chronos hifive1 microbit msb-430 msb-430h \ - nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \ - nucleo-f030r8 nucleo-f070rb nucleo-f072rb nucleo-f103rb nucleo-f302r8 \ - nucleo-f334r8 nucleo-l053r8 spark-core stm32f0discovery telosb \ - wsn430-v1_3b wsn430-v1_4 z1 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \ + calliope-mini chronos hifive1 mega-xplained \ + microbit msb-430 msb-430h nucleo-f031k6 \ + nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \ + nucleo-f030r8 nucleo-f070rb nucleo-f072rb \ + nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \ + nucleo-l053r8 spark-core stm32f0discovery telosb \ + waspmote-pro wsn430-v1_3b wsn430-v1_4 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/examples/gnrc_tftp/Makefile b/examples/gnrc_tftp/Makefile index ae935f94e2..5f082253f9 100644 --- a/examples/gnrc_tftp/Makefile +++ b/examples/gnrc_tftp/Makefile @@ -7,12 +7,16 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 bluepill calliope-mini chronos \ - hifive1 microbit msb-430 msb-430h nrf51dongle nrf6310 nucleo-f031k6 \ - nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \ - nucleo-f070rb nucleo-f072rb nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \ - nucleo-l053r8 spark-core stm32f0discovery stm32mindev \ - telosb wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1 +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ + arduino-uno b-l072z-lrwan1 bluepill calliope-mini \ + chronos hifive1 mega-xplained microbit \ + msb-430 msb-430h nrf51dongle nrf6310 nucleo-f031k6 \ + nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \ + nucleo-f030r8 nucleo-f070rb nucleo-f072rb \ + nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \ + nucleo-l053r8 spark-core stm32f0discovery \ + stm32mindev telosb waspmote-pro \ + wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 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/examples/nanocoap_server/Makefile b/examples/nanocoap_server/Makefile index dc53067650..7b6e5fa1b9 100644 --- a/examples/nanocoap_server/Makefile +++ b/examples/nanocoap_server/Makefile @@ -7,9 +7,11 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \ - nucleo-l031k6 nucleo-f030r8 nucleo-l053r8 stm32f0discovery \ - telosb z1 nucleo-f303k8 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \ + chronos msb-430 msb-430h nucleo-f031k6 \ + nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \ + nucleo-f303k8 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/examples/ndn-ping/Makefile b/examples/ndn-ping/Makefile index 3ccf83aa24..8e33bc7ef4 100644 --- a/examples/ndn-ping/Makefile +++ b/examples/ndn-ping/Makefile @@ -7,9 +7,12 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../../ -BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h telosb weio wsn430-v1_3b wsn430-v1_4 z1 \ - nucleo-f042k6 nucleo-f031k6 nucleo-l031k6 nucleo-f030r8 nucleo-l053r8 \ - stm32f0discovery +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \ + chronos mega-xplained msb-430 msb-430h \ + nucleo-f042k6 nucleo-f031k6 nucleo-l031k6 \ + nucleo-f030r8 nucleo-l053r8 stm32f0discovery \ + telosb waspmote-pro weio wsn430-v1_3b wsn430-v1_4 \ + z1 # Include packages that pull up and auto-init the link layer. USEMODULE += gnrc_netdev_default diff --git a/examples/posix_sockets/Makefile b/examples/posix_sockets/Makefile index b1619169a4..1174267813 100644 --- a/examples/posix_sockets/Makefile +++ b/examples/posix_sockets/Makefile @@ -7,11 +7,14 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := airfy-beacon chronos msb-430 msb-430h nrf51dongle \ - nrf6310 nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ - nucleo-f030r8 nucleo-f070rb nucleo-f072rb nucleo-f334r8 \ - nucleo-l053r8 stm32f0discovery telosb wsn430-v1_3b \ - wsn430-v1_4 yunjia-nrf51822 z1 nucleo-f303k8 +BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ + arduino-uno chronos mega-xplained msb-430 \ + msb-430h nrf51dongle nrf6310 nucleo-f031k6 \ + nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \ + nucleo-f070rb nucleo-f072rb nucleo-f334r8 \ + nucleo-f303k8 nucleo-l053r8 stm32f0discovery \ + telosb wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 \ + 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/examples/rdcli_simple/Makefile b/examples/rdcli_simple/Makefile index e1800bafcc..d2d95afa10 100644 --- a/examples/rdcli_simple/Makefile +++ b/examples/rdcli_simple/Makefile @@ -7,10 +7,12 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := chronos hifive1 msb-430 msb-430h nucleo-f030r8 nucleo-l053r8 \ - nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ - stm32f0discovery telosb wsn430-v1_3b wsn430-v1_4 \ - z1 nucleo-f303k8 nucleo-f334r8 +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \ + chronos hifive1 msb-430 msb-430h nucleo-f030r8 \ + nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \ + nucleo-f303k8 nucleo-f334r8 nucleo-l031k6 \ + stm32f0discovery telosb waspmote-pro \ + wsn430-v1_3b wsn430-v1_4 z1 # Enable GNRC networking USEMODULE += gnrc_netdev_default diff --git a/examples/saul/Makefile b/examples/saul/Makefile index 7f2ca1e297..6884f03ca3 100644 --- a/examples/saul/Makefile +++ b/examples/saul/Makefile @@ -7,6 +7,8 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. +BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno + # we want to use SAUL: USEMODULE += saul_default # include the shell: -- GitLab