From 3eae2f7b792d60f48006d8338c91a73cb4e0a99a Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Fri, 4 May 2018 16:22:46 +0200 Subject: [PATCH] pkg/lwip: add arch_32bit feature dependency --- pkg/lwip/Makefile.dep | 6 ++++++ tests/lwip/Makefile | 8 -------- tests/lwip_sock_ip/Makefile | 8 -------- tests/lwip_sock_tcp/Makefile | 8 -------- tests/lwip_sock_udp/Makefile | 8 -------- 5 files changed, 6 insertions(+), 32 deletions(-) create mode 100644 pkg/lwip/Makefile.dep diff --git a/pkg/lwip/Makefile.dep b/pkg/lwip/Makefile.dep new file mode 100644 index 0000000000..c6ffff1d61 --- /dev/null +++ b/pkg/lwip/Makefile.dep @@ -0,0 +1,6 @@ +# lwIP's memory management doesn't seem to work on non 32-bit platforms at the +# moment. +FEATURES_REQUIRED += arch_32bit + +# lwip currently doesn't compile on esp8266 +FEATURES_BLACKLIST += arch_esp8266 diff --git a/tests/lwip/Makefile b/tests/lwip/Makefile index 67119a0984..9ea51d3adb 100644 --- a/tests/lwip/Makefile +++ b/tests/lwip/Makefile @@ -1,13 +1,5 @@ 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-leonardo \ - arduino-mega2560 arduino-nano \ - arduino-uno chronos esp8266-esp-12x esp8266-olimex-mod \ - esp8266-sparkfun-thing mega-xplained \ - msb-430 msb-430h telosb waspmote-pro \ - wsn430-v1_3b wsn430-v1_4 z1 BOARD_INSUFFICIENT_MEMORY := airfy-beacon hifive1 hifive1b i-nucleo-lrwan1 nrf6310 \ nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 nucleo-f303k8 \ diff --git a/tests/lwip_sock_ip/Makefile b/tests/lwip_sock_ip/Makefile index 6ed9e90064..fd508ee916 100644 --- a/tests/lwip_sock_ip/Makefile +++ b/tests/lwip_sock_ip/Makefile @@ -1,13 +1,5 @@ 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-leonardo \ - arduino-mega2560 arduino-nano \ - arduino-uno chronos esp8266-esp-12x esp8266-olimex-mod \ - esp8266-sparkfun-thing mega-xplained \ - msb-430 msb-430h telosb waspmote-pro \ - wsn430-v1_3b wsn430-v1_4 z1 BOARD_INSUFFICIENT_MEMORY = i-nucleo-lrwan1 nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 nucleo-f303k8 \ nucleo-f334r8 nucleo-l053r8 stm32f0discovery \ diff --git a/tests/lwip_sock_tcp/Makefile b/tests/lwip_sock_tcp/Makefile index 028fbcaf80..445c8c2cfe 100644 --- a/tests/lwip_sock_tcp/Makefile +++ b/tests/lwip_sock_tcp/Makefile @@ -1,13 +1,5 @@ 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-leonardo \ - arduino-mega2560 arduino-nano \ - arduino-uno chronos esp8266-esp-12x esp8266-olimex-mod \ - esp8266-sparkfun-thing mega-xplained \ - msb-430 msb-430h telosb waspmote-pro \ - wsn430-v1_3b wsn430-v1_4 z1 BOARD_INSUFFICIENT_MEMORY = blackpill bluepill i-nucleo-lrwan1 \ nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 nucleo-f302r8 \ diff --git a/tests/lwip_sock_udp/Makefile b/tests/lwip_sock_udp/Makefile index 8e9f327abe..a8885287b5 100644 --- a/tests/lwip_sock_udp/Makefile +++ b/tests/lwip_sock_udp/Makefile @@ -1,13 +1,5 @@ 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-leonardo \ - arduino-mega2560 arduino-nano \ - arduino-uno chronos esp8266-esp-12x esp8266-olimex-mod \ - esp8266-sparkfun-thing mega-xplained \ - msb-430 msb-430h telosb waspmote-pro \ - wsn430-v1_3b wsn430-v1_4 z1 BOARD_INSUFFICIENT_MEMORY = i-nucleo-lrwan1 nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 \ nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \