examples, tests: add memory insufficient arduino boards

The unification of a bigger stack for the atmega platforms
makes some boards to not have enough memory to provide
the big stack plus the application code.

It is possible though, to override the stack size to a
smaller amount if running the test is necessary.
This commit is contained in:
Francisco Acosta 2018-11-02 16:15:30 +01:00
parent 73f6328137
commit dd3ca90e8a
27 changed files with 41 additions and 21 deletions

View File

@ -11,7 +11,7 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
chronos hifive1 msb-430 msb-430h nucleo-f030r8 \ chronos hifive1 msb-430 msb-430h nucleo-f030r8 \
nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \ nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \
nucleo-f303k8 nucleo-f334r8 nucleo-l031k6 \ nucleo-f303k8 nucleo-f334r8 nucleo-l031k6 \
stm32f0discovery telosb waspmote-pro \ mega-xplained stm32f0discovery telosb waspmote-pro \
wsn430-v1_3b wsn430-v1_4 z1 wsn430-v1_3b wsn430-v1_4 z1
# Enable GNRC networking # Enable GNRC networking

View File

@ -4,7 +4,8 @@ APPLICATION = ipc_pingpong
# If no BOARD is found in the environment, use this default: # If no BOARD is found in the environment, use this default:
BOARD ?= native BOARD ?= native
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: # This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../.. RIOTBASE ?= $(CURDIR)/../..

View File

@ -1,5 +1,7 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
# Modules that will have an impact on the size of the TCB (thread_t): # Modules that will have an impact on the size of the TCB (thread_t):
# #
# disabled by default, enable on demand: # disabled by default, enable on demand:

View File

@ -1,5 +1,7 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
# include and auto-initialize all available sensors # include and auto-initialize all available sensors
USEMODULE += saul_default USEMODULE += saul_default
# include driver for bmx055 sensor # include driver for bmx055 sensor

View File

@ -3,7 +3,7 @@ include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
msb-430 msb-430h nucleo-f334r8 nucleo-l053r8 \ msb-430 msb-430h nucleo-f334r8 nucleo-l053r8 \
nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \
nucleo-l031k6 stm32f0discovery telosb \ nucleo-l031k6 mega-xplained stm32f0discovery telosb \
waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 waspmote-pro wsn430-v1_3b wsn430-v1_4 z1
USEMODULE += auto_init_gnrc_netif USEMODULE += auto_init_gnrc_netif

View File

@ -1,5 +1,7 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
USEMODULE += mpu9150 USEMODULE += mpu9150
USEMODULE += xtimer USEMODULE += xtimer

View File

@ -1,5 +1,7 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
USEMODULE += nvram_spi USEMODULE += nvram_spi
USEMODULE += xtimer USEMODULE += xtimer

View File

@ -1,6 +1,6 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
USEMODULE += pir USEMODULE += pir

View File

@ -1,5 +1,7 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
USEMODULE += tsl4531x USEMODULE += tsl4531x
USEMODULE += xtimer USEMODULE += xtimer

View File

@ -2,7 +2,7 @@ include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6 \ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6 \
nucleo-f042k6 nucleo-f030r8 nucleo-f334r8 \ nucleo-f042k6 nucleo-f030r8 nucleo-f334r8 \
stm32f0discovery stm32f0discovery waspmote-pro
USEMODULE += xbee USEMODULE += xbee
USEMODULE += gnrc_txtsnd USEMODULE += gnrc_txtsnd

View File

@ -6,10 +6,10 @@ include ../Makefile.tests_common
BOARD_BLACKLIST := msb-430 msb-430h pic32-clicker pic32-wifire \ BOARD_BLACKLIST := msb-430 msb-430h pic32-clicker pic32-wifire \
telosb wsn430-v1_3b wsn430-v1_4 z1 telosb wsn430-v1_3b wsn430-v1_4 z1
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
msb-430 msb-430h nucleo-l031k6 nucleo-f031k6 \ msb-430 msb-430h nucleo-l031k6 nucleo-f031k6 \
nucleo-f042k6 nucleo-l053r8 stm32f0discovery \ nucleo-f042k6 nucleo-l053r8 stm32f0discovery \
telosb wsn430-v1_3b wsn430-v1_4 z1 telosb waspmote-pro wsn430-v1_3b wsn430-v1_4 z1
USEPKG += emb6 USEPKG += emb6

View File

@ -1,6 +1,7 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6 \
nucleo-f042k6
USEMODULE += evtimer USEMODULE += evtimer

View File

@ -1,6 +1,7 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6 \
nucleo-f042k6
USEMODULE += evtimer USEMODULE += evtimer

View File

@ -1,8 +1,8 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
telosb wsn430-v1_3b wsn430-v1_4 telosb waspmote-pro wsn430-v1_3b wsn430-v1_4
USEMODULE += gnrc_ipv6 USEMODULE += gnrc_ipv6
USEMODULE += gnrc_ipv6_nib USEMODULE += gnrc_ipv6_nib

View File

@ -1,7 +1,8 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 chronos nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
waspmote-pro
USEMODULE += gnrc_sock_check_reuse USEMODULE += gnrc_sock_check_reuse
USEMODULE += gnrc_sock_udp USEMODULE += gnrc_sock_udp

View File

@ -1,6 +1,6 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
USEMODULE += auto_init USEMODULE += auto_init
USEMODULE += xtimer USEMODULE += xtimer

View File

@ -1,7 +1,7 @@
APPLICATION = isr_yield_higher APPLICATION = isr_yield_higher
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
USEMODULE += xtimer USEMODULE += xtimer

View File

@ -1,6 +1,6 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
TEST_ON_CI_WHITELIST += all TEST_ON_CI_WHITELIST += all

View File

@ -3,6 +3,8 @@ include ../Makefile.tests_common
FEATURES_REQUIRED += periph_eeprom FEATURES_REQUIRED += periph_eeprom
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
USEMODULE += shell USEMODULE += shell
USEMODULE += shell_commands # provides reboot command USEMODULE += shell_commands # provides reboot command

View File

@ -2,7 +2,7 @@ include ../Makefile.tests_common
#malloc.h not found #malloc.h not found
BOARD_BLACKLIST := jiminy-mega256rfr2 mega-xplained BOARD_BLACKLIST := jiminy-mega256rfr2 mega-xplained
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
USEMODULE += pipe USEMODULE += pipe

View File

@ -1,6 +1,6 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
TEST_ON_CI_WHITELIST += all TEST_ON_CI_WHITELIST += all

View File

@ -2,6 +2,8 @@ include ../Makefile.tests_common
DISABLE_MODULE += auto_init DISABLE_MODULE += auto_init
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
USEMODULE += shell USEMODULE += shell
USEMODULE += timex USEMODULE += timex

View File

@ -1,6 +1,6 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
DISABLE_MODULE += auto_init DISABLE_MODULE += auto_init

View File

@ -1,6 +1,6 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
USEMODULE += core_thread_flags USEMODULE += core_thread_flags
USEMODULE += xtimer USEMODULE += xtimer

View File

@ -2,6 +2,8 @@ include ../Makefile.tests_common
DISABLE_MODULE += auto_init DISABLE_MODULE += auto_init
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
TEST_ON_CI_WHITELIST += all TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include include $(RIOTBASE)/Makefile.include

View File

@ -1,6 +1,6 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
USEMODULE += xtimer USEMODULE += xtimer

View File

@ -1,6 +1,6 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
USEMODULE += xtimer USEMODULE += xtimer