Skip to content

Commit

Permalink
examples, tests: add memory insufficient arduino boards
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kYc0o committed Nov 2, 2018
1 parent 76af5a7 commit 5bbe73a
Show file tree
Hide file tree
Showing 25 changed files with 37 additions and 21 deletions.
2 changes: 1 addition & 1 deletion examples/cord_epsim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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 \
mega-xplained stm32f0discovery telosb waspmote-pro \
wsn430-v1_3b wsn430-v1_4 z1

# Enable GNRC networking
Expand Down
3 changes: 2 additions & 1 deletion examples/ipc_pingpong/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ APPLICATION = ipc_pingpong
# If no BOARD is found in the environment, use this default:
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:
RIOTBASE ?= $(CURDIR)/../..
Expand Down
2 changes: 2 additions & 0 deletions tests/bench_sizeof_coretypes/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
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):
#
# disabled by default, enable on demand:
Expand Down
2 changes: 2 additions & 0 deletions tests/driver_bmx055/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno

# include and auto-initialize all available sensors
USEMODULE += saul_default
# include driver for bmx055 sensor
Expand Down
2 changes: 1 addition & 1 deletion tests/driver_enc28j60/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
msb-430 msb-430h nucleo-f334r8 nucleo-l053r8 \
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

USEMODULE += auto_init_gnrc_netif
Expand Down
2 changes: 2 additions & 0 deletions tests/driver_mpu9150/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno

USEMODULE += mpu9150
USEMODULE += xtimer

Expand Down
2 changes: 2 additions & 0 deletions tests/driver_nvram_spi/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno

USEMODULE += nvram_spi
USEMODULE += xtimer

Expand Down
2 changes: 1 addition & 1 deletion tests/driver_pir/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6

USEMODULE += pir

Expand Down
2 changes: 1 addition & 1 deletion tests/driver_xbee/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6 \
nucleo-f042k6 nucleo-f030r8 nucleo-f334r8 \
stm32f0discovery
stm32f0discovery waspmote-pro

USEMODULE += xbee
USEMODULE += gnrc_txtsnd
Expand Down
4 changes: 2 additions & 2 deletions tests/emb6/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +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-uno \
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
msb-430 msb-430h nucleo-l031k6 nucleo-f031k6 \
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

Expand Down
3 changes: 2 additions & 1 deletion tests/evtimer_msg/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6 \
nucleo-f042k6

USEMODULE += evtimer

Expand Down
3 changes: 2 additions & 1 deletion tests/evtimer_underflow/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6 \
nucleo-f042k6

USEMODULE += evtimer

Expand Down
4 changes: 2 additions & 2 deletions tests/gnrc_ipv6_nib/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
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 \
telosb wsn430-v1_3b wsn430-v1_4
telosb waspmote-pro wsn430-v1_3b wsn430-v1_4

USEMODULE += gnrc_ipv6
USEMODULE += gnrc_ipv6_nib
Expand Down
3 changes: 2 additions & 1 deletion tests/gnrc_sock_udp/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include ../Makefile.tests_common

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_udp
Expand Down
2 changes: 1 addition & 1 deletion tests/irq/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6

USEMODULE += auto_init
USEMODULE += xtimer
Expand Down
2 changes: 1 addition & 1 deletion tests/isr_yield_higher/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
APPLICATION = isr_yield_higher
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6

USEMODULE += xtimer

Expand Down
2 changes: 1 addition & 1 deletion tests/msg_send_receive/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6

TEST_ON_CI_WHITELIST += all

Expand Down
2 changes: 1 addition & 1 deletion tests/pipe/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include ../Makefile.tests_common

#malloc.h not found
BOARD_BLACKLIST := jiminy-mega256rfr2 mega-xplained
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6

USEMODULE += pipe

Expand Down
2 changes: 1 addition & 1 deletion tests/sched_testing/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6

TEST_ON_CI_WHITELIST += all

Expand Down
2 changes: 2 additions & 0 deletions tests/struct_tm_utility/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ include ../Makefile.tests_common

DISABLE_MODULE += auto_init

BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno

USEMODULE += shell
USEMODULE += timex

Expand Down
2 changes: 1 addition & 1 deletion tests/thread_exit/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6

DISABLE_MODULE += auto_init

Expand Down
2 changes: 1 addition & 1 deletion tests/thread_flags/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6

USEMODULE += core_thread_flags
USEMODULE += xtimer
Expand Down
2 changes: 2 additions & 0 deletions tests/thread_race/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ include ../Makefile.tests_common

DISABLE_MODULE += auto_init

BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno

TEST_ON_CI_WHITELIST += all

include $(RIOTBASE)/Makefile.include
2 changes: 1 addition & 1 deletion tests/xtimer_hang/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6

USEMODULE += xtimer

Expand Down
2 changes: 1 addition & 1 deletion tests/xtimer_msg/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6

USEMODULE += xtimer

Expand Down

0 comments on commit 5bbe73a

Please sign in to comment.