From fbf8688f01ea815054c0aebce0b81b386fe1d66f Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:04:12 +0100 Subject: [PATCH 01/34] pkg/wolfssl: add 32bit arch requirement --- pkg/wolfssl/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/wolfssl/Makefile.dep b/pkg/wolfssl/Makefile.dep index 9352cdb32682..eaa49bff4b37 100644 --- a/pkg/wolfssl/Makefile.dep +++ b/pkg/wolfssl/Makefile.dep @@ -82,3 +82,6 @@ endif ifneq (,$(filter wolfcrypt_random,$(USEMODULE))) USEMODULE += random endif + +# wolfssl is only supported by 32 bit architectures +FEATURES_REQUIRED += arch_32bit From 8abe50ecc9186f4b73729cb1beed1d277966abb5 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:04:49 +0100 Subject: [PATCH 02/34] examples/dtls-wolfssl: remove 32bit arch requirement It is required at the package level --- examples/dtls-wolfssl/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/dtls-wolfssl/Makefile b/examples/dtls-wolfssl/Makefile index 46c948c43b14..8bb4e7699feb 100644 --- a/examples/dtls-wolfssl/Makefile +++ b/examples/dtls-wolfssl/Makefile @@ -7,9 +7,6 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -# wolfSSL supports 32-bit architectures only -FEATURES_REQUIRED += arch_32bit - # Include packages that pull up and auto-init the link layer. # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present USEMODULE += gnrc_netdev_default From 3440ecf7069a8108e157a512d0502b4f2a847f5c Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:06:03 +0100 Subject: [PATCH 03/34] tests/pkg_wolf*: remove useless board blacklist This is now automatically managed by the arch 32 feature requirement at pkg dependencies level --- tests/pkg_wolfcrypt-ed25519-verify/Makefile | 8 -------- tests/pkg_wolfssl/Makefile | 8 -------- 2 files changed, 16 deletions(-) diff --git a/tests/pkg_wolfcrypt-ed25519-verify/Makefile b/tests/pkg_wolfcrypt-ed25519-verify/Makefile index 0d382dc45b1a..f6b8db76e130 100644 --- a/tests/pkg_wolfcrypt-ed25519-verify/Makefile +++ b/tests/pkg_wolfcrypt-ed25519-verify/Makefile @@ -3,14 +3,6 @@ include ../Makefile.tests_common # If no BOARD is found in the environment, use this default: BOARD ?= native -# Only 32-bit targets -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano arduino-uno atmega328p \ - chronos esp8266-esp-12x esp8266-olimex-mod \ - esp8266-sparkfun-thing mega-xplained microduino-corerf \ - msb-430 msb-430h telosb waspmote-pro \ - wsn430-v1_3b wsn430-v1_4 z1 - # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. diff --git a/tests/pkg_wolfssl/Makefile b/tests/pkg_wolfssl/Makefile index 2176dcde00bc..e15f2263c806 100644 --- a/tests/pkg_wolfssl/Makefile +++ b/tests/pkg_wolfssl/Makefile @@ -3,14 +3,6 @@ include ../Makefile.tests_common # If no BOARD is found in the environment, use this default: BOARD ?= native -# Only 32-bit targets -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano arduino-uno \ - atmega328p chronos esp8266-esp-12x esp8266-olimex-mod \ - esp8266-sparkfun-thing mega-xplained microduino-corerf \ - msb-430 msb-430h telosb waspmote-pro \ - wsn430-v1_3b wsn430-v1_4 z1 - # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. From 99d7439fa8067d6cb765fba4eb4f88f6eb55a8ba Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:06:37 +0100 Subject: [PATCH 04/34] pkg/cifra: add arch 32bit requirement --- pkg/cifra/Makefile.dep | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 pkg/cifra/Makefile.dep diff --git a/pkg/cifra/Makefile.dep b/pkg/cifra/Makefile.dep new file mode 100644 index 000000000000..57d8d54026fe --- /dev/null +++ b/pkg/cifra/Makefile.dep @@ -0,0 +1,2 @@ +# Cifra is only supported by 32 bit architectures +FEATURES_REQUIRED += arch_32bit From e61378781f851a6858bccc439ed9e4857ed6ab4e Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:06:54 +0100 Subject: [PATCH 05/34] tests/pkg_cifra: remove useless board blacklist This is now automatically managed by the arch 32 feature requirement at pkg dependencies level --- tests/pkg_cifra/Makefile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/pkg_cifra/Makefile b/tests/pkg_cifra/Makefile index 8bb6b27e9387..c5d47093c2e7 100644 --- a/tests/pkg_cifra/Makefile +++ b/tests/pkg_cifra/Makefile @@ -1,12 +1,5 @@ include ../Makefile.tests_common -# No 8 bit and 16 bit support -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano arduino-uno \ - atmega328p chronos mega-xplained microduino-corerf \ - msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \ - wsn430-v1_4 z1 - USEMODULE += embunit USEMODULE += random USEPKG += cifra From 83dbbcc35aaa71404b1f7837d67f284a696e0002 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:07:17 +0100 Subject: [PATCH 06/34] pkg/cn-cbor: add arch 32bit requirement --- pkg/cn-cbor/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/cn-cbor/Makefile.dep b/pkg/cn-cbor/Makefile.dep index ec9bf5782364..d2baa35dfe2b 100644 --- a/pkg/cn-cbor/Makefile.dep +++ b/pkg/cn-cbor/Makefile.dep @@ -1 +1,4 @@ USEMODULE += posix_headers + +# CN-CBOR is only supported by 32 bit architectures +FEATURES_REQUIRED += arch_32bit From b044e462075019709fe8108f7897a73c7b264e25 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:07:32 +0100 Subject: [PATCH 07/34] tests/pkg_cn-cbor: remove useless board blacklist This is now automatically managed by the arch 32 feature requirement at pkg dependencies level --- tests/pkg_cn-cbor/Makefile | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/pkg_cn-cbor/Makefile b/tests/pkg_cn-cbor/Makefile index d10a31651e7e..8ca112dbc8c1 100644 --- a/tests/pkg_cn-cbor/Makefile +++ b/tests/pkg_cn-cbor/Makefile @@ -1,23 +1,5 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove \ - arduino-leonardo \ - arduino-mega2560 \ - arduino-nano \ - arduino-uno \ - atmega328p \ - chronos \ - mega-xplained \ - microduino-corerf \ - msb-430 \ - msb-430h \ - telosb \ - waspmote-pro \ - wsn430-v1_3b \ - wsn430-v1_4 \ - z1 \ - # - USEPKG += cn-cbor USEMODULE += embunit USEMODULE += fmt From 0631cf64370b0f8318e66e8bc31a8ba5e2998dda Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:07:52 +0100 Subject: [PATCH 08/34] pkg/hacl: add arch 32bit requirement --- pkg/hacl/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/hacl/Makefile.dep b/pkg/hacl/Makefile.dep index 8030144a9aac..f9aabaca2e9e 100644 --- a/pkg/hacl/Makefile.dep +++ b/pkg/hacl/Makefile.dep @@ -1 +1,4 @@ USEMODULE+=random + +# HACL is only supported by 32 bit architectures +FEATURES_REQUIRED += arch_32bit From 065470924635081ecc375d289fc59f0d4cdf948f Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:08:14 +0100 Subject: [PATCH 09/34] tests/pkg_hacl: remove useless board blacklist This is now automatically managed by the arch 32 feature requirement at pkg dependencies level --- tests/pkg_hacl/Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/pkg_hacl/Makefile b/tests/pkg_hacl/Makefile index 82fbfa2127f7..530bc4f53ea1 100644 --- a/tests/pkg_hacl/Makefile +++ b/tests/pkg_hacl/Makefile @@ -1,11 +1,5 @@ include ../Makefile.tests_common -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano arduino-uno \ - atmega328p chronos mega-xplained microduino-corerf \ - msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \ - wsn430-v1_4 z1 - CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(5*THREAD_STACKSIZE_DEFAULT\) USEPKG += hacl USEMODULE += random From fa700de4d54a4a09f1cd3fc978934d33821abb1d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:08:39 +0100 Subject: [PATCH 10/34] pkg/libcoap: add arch 32bit requirement --- pkg/libcoap/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/libcoap/Makefile.dep b/pkg/libcoap/Makefile.dep index 35d651d968aa..5a5fa543e40f 100644 --- a/pkg/libcoap/Makefile.dep +++ b/pkg/libcoap/Makefile.dep @@ -3,3 +3,6 @@ ifneq (,$(filter libcoap,$(USEPKG))) USEMODULE += posix_headers USEMODULE += gnrc_sock_udp endif + +# libcoap is only supported by 32 bit architectures +FEATURES_REQUIRED += arch_32bit From 49f855bd817a86fd199e26ab8406db66400edf7e Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:08:58 +0100 Subject: [PATCH 11/34] tests/pkg_libcoap: remove useless board blacklist This is now automatically managed by the arch 32 feature requirement at pkg dependencies level --- tests/pkg_libcoap/Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/pkg_libcoap/Makefile b/tests/pkg_libcoap/Makefile index 2e01a71cd2d1..811ad79f71fd 100644 --- a/tests/pkg_libcoap/Makefile +++ b/tests/pkg_libcoap/Makefile @@ -1,11 +1,5 @@ include ../Makefile.tests_common -# msp430 and avr have problems with int width and libcoaps usage of :x notation in structs -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano arduino-uno atmega328p \ - chronos mega-xplained microduino-corerf msb-430 \ - msb-430h telosb waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 - USEMODULE += gnrc_ipv6 USEMODULE += gnrc_sock_udp USEPKG += libcoap From c77916e7307e0c914d1b14c2d6a9b8bbbfcc1256 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:10:43 +0100 Subject: [PATCH 12/34] pkg/monocypher: add arch 32bit requirement --- pkg/monocypher/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/monocypher/Makefile.dep b/pkg/monocypher/Makefile.dep index 767f3cc1c768..2a90b7137822 100644 --- a/pkg/monocypher/Makefile.dep +++ b/pkg/monocypher/Makefile.dep @@ -1 +1,4 @@ USEMODULE += monocypher_sha512 + +# monocypher is only supported by 32 bit architectures +FEATURES_REQUIRED += arch_32bit From c7acc5f31b9f34bb8df195fe09eeadea5fee896b Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:11:45 +0100 Subject: [PATCH 13/34] tests/pkg_libcose: remove useless board blacklist This is now automatically managed by the arch 32 feature requirement at pkg dependencies level --- tests/pkg_libcose/Makefile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/pkg_libcose/Makefile b/tests/pkg_libcose/Makefile index 5679250e4d47..1d73e82e490d 100644 --- a/tests/pkg_libcose/Makefile +++ b/tests/pkg_libcose/Makefile @@ -1,15 +1,7 @@ include ../Makefile.tests_common -# HACL* only compiles on 32bit platforms -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano arduino-uno \ - atmega328p chronos mega-xplained microduino-corerf \ - msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \ - wsn430-v1_4 z1 - TEST_ON_CI_WHITELIST += native - USEPKG += libcose # By default we use hacl as crypto backend, uncomment to use a different # crypto backend. From e40214f2217e6d276d2591aef97ae108acd99c5d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:12:15 +0100 Subject: [PATCH 14/34] tests/pkg_monocypher: remove useless board blacklist This is now automatically managed by the arch 32 feature requirement at pkg dependencies level --- tests/pkg_monocypher/Makefile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/pkg_monocypher/Makefile b/tests/pkg_monocypher/Makefile index 460c75430f2e..bf9abd64a985 100644 --- a/tests/pkg_monocypher/Makefile +++ b/tests/pkg_monocypher/Makefile @@ -1,12 +1,5 @@ include ../Makefile.tests_common -# No 8 bit and 16 bit support -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano arduino-uno \ - atmega328p chronos mega-xplained microduino-corerf \ - msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \ - wsn430-v1_4 z1 - # required for Monocypher (as described in the package documentation) CFLAGS += "-DTHREAD_STACKSIZE_MAIN=(4096 + THREAD_STACKSIZE_DEFAULT + THREAD_EXTRA_STACKSIZE_PRINTF)" From 5839e35eac5e2b7abc622c41403d40c7d7e469b9 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:12:47 +0100 Subject: [PATCH 15/34] pkg/tinycbor: add arch 32bit requirement --- pkg/tinycbor/Makefile.dep | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 pkg/tinycbor/Makefile.dep diff --git a/pkg/tinycbor/Makefile.dep b/pkg/tinycbor/Makefile.dep new file mode 100644 index 000000000000..10f81a15ca01 --- /dev/null +++ b/pkg/tinycbor/Makefile.dep @@ -0,0 +1,2 @@ +# tinycbor is only supported by 32 bit architectures +FEATURES_REQUIRED += arch_32bit From 2cb3ab5b786fcb5ecb5d04474cea688be201e4a8 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:13:07 +0100 Subject: [PATCH 16/34] tests/pkg_tinycbor: remove useless board blacklist This is now automatically managed by the arch 32 feature requirement at pkg dependencies level --- tests/pkg_tinycbor/Makefile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/pkg_tinycbor/Makefile b/tests/pkg_tinycbor/Makefile index c1539a7f53e9..fd8b1560e4d9 100644 --- a/tests/pkg_tinycbor/Makefile +++ b/tests/pkg_tinycbor/Makefile @@ -1,12 +1,5 @@ include ../Makefile.tests_common -# No 8 bit and 16 bit support yet -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano \ - arduino-uno atmega328p chronos microduino-corerf \ - mega-xplained msb-430 msb-430h telosb waspmote-pro \ - wsn430-v1_3b wsn430-v1_4 z1 \ - USEMODULE += embunit USEMODULE += fmt USEPKG += tinycbor From a19f7a55894ec93c760c47367922ecc56aa2f5a4 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:14:24 +0100 Subject: [PATCH 17/34] pkg/libhydrogen: add arch 32bit requirement --- pkg/libhydrogen/Makefile.dep | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/libhydrogen/Makefile.dep b/pkg/libhydrogen/Makefile.dep index 3941d5a187d0..caba98824efa 100644 --- a/pkg/libhydrogen/Makefile.dep +++ b/pkg/libhydrogen/Makefile.dep @@ -1 +1,6 @@ USEMODULE += random + +# libhydrogen is only supported by 32 bit architectures +# AVR boards: require avr-gcc >= 7.0 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60040) +# MSP430 boards: invalid alignment of 'hydro_random_context' +FEATURES_REQUIRED += arch_32bit From 9a2f29ed8394230213f3d1f0a2795b674e4e1732 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:14:42 +0100 Subject: [PATCH 18/34] tests/pkg_libhydrogen: remove useless board blacklist This is now automatically managed by the arch 32 feature requirement at pkg dependencies level --- tests/pkg_libhydrogen/Makefile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/pkg_libhydrogen/Makefile b/tests/pkg_libhydrogen/Makefile index 6baf058e3d61..f171720b314b 100644 --- a/tests/pkg_libhydrogen/Makefile +++ b/tests/pkg_libhydrogen/Makefile @@ -1,12 +1,5 @@ include ../Makefile.tests_common -# AVR boards: require avr-gcc >= 7.0 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60040) -# MSP430 boards: invalid alignment of 'hydro_random_context' -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-uno atmega328p \ - mega-xplained microduino-corerf waspmote-pro \ - chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1 - USEPKG += libhydrogen USEMODULE += embunit From 8062a6fb829f897955557ae4b7e0e426fbb1989f Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:15:44 +0100 Subject: [PATCH 19/34] pkg/qDSA: blacklist arch 16bit requirement --- pkg/qDSA/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/qDSA/Makefile.dep b/pkg/qDSA/Makefile.dep index 325ac6eecf6b..b19f9fa6fd9e 100644 --- a/pkg/qDSA/Makefile.dep +++ b/pkg/qDSA/Makefile.dep @@ -5,3 +5,6 @@ endif ifneq (,$(filter atmega_common,$(USEMODULE))) USEMODULE += qDSA_asm endif + +# qDsa is not 16 bit compatible +FEATURES_BLACKLIST += arch_16bit From 3a1a08fc4a694442c5f778b5e141fbbac455a5f0 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:16:22 +0100 Subject: [PATCH 20/34] tests/pkg_qdsa: remove useless board blacklist This is now automatically managed by the arch 16bit feature blacklist at pkg dependencies level --- tests/pkg_qdsa/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/pkg_qdsa/Makefile b/tests/pkg_qdsa/Makefile index befa4345e995..7d855c09dc8c 100644 --- a/tests/pkg_qdsa/Makefile +++ b/tests/pkg_qdsa/Makefile @@ -1,8 +1,5 @@ include ../Makefile.tests_common -# qDSA is not 16 bit compatible -BOARD_BLACKLIST := chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1 - CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(4*THREAD_STACKSIZE_DEFAULT\) USEPKG += qDSA From 286c9b63e37cfea62fde83e83b5475b93b71d856 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:16:48 +0100 Subject: [PATCH 21/34] pkg/micro-ecc: blacklist arch 16bit requirement --- pkg/micro-ecc/Makefile.dep | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 pkg/micro-ecc/Makefile.dep diff --git a/pkg/micro-ecc/Makefile.dep b/pkg/micro-ecc/Makefile.dep new file mode 100644 index 000000000000..2f9de711f68f --- /dev/null +++ b/pkg/micro-ecc/Makefile.dep @@ -0,0 +1,2 @@ +# micro-ecc is not 16 bit compatible +FEATURES_BLACKLIST += arch_16bit From 7a83364419480cfa87fbf08e3fdbb3528a3b4871 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 11:17:03 +0100 Subject: [PATCH 22/34] tests/pkg_micro-ecc: remove useless board blacklist This is now automatically managed by the arch 16bit feature blacklist at pkg dependencies level --- tests/pkg_micro-ecc/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/pkg_micro-ecc/Makefile b/tests/pkg_micro-ecc/Makefile index cfb15ae55ea8..a1a70b69e82a 100644 --- a/tests/pkg_micro-ecc/Makefile +++ b/tests/pkg_micro-ecc/Makefile @@ -1,8 +1,5 @@ include ../Makefile.tests_common -# micro-ecc is not 16 bit compatible -BOARD_BLACKLIST = chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1 - USEMODULE += hashes USEPKG += micro-ecc From 4993b65650aac35dfeb38f199593e4e2f254b082 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 14:11:59 +0100 Subject: [PATCH 23/34] pkg/tinydtls: add arch 32bit requirement --- pkg/tinydtls/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/tinydtls/Makefile.dep b/pkg/tinydtls/Makefile.dep index f76edd6d15ca..36392f3ba65c 100644 --- a/pkg/tinydtls/Makefile.dep +++ b/pkg/tinydtls/Makefile.dep @@ -8,3 +8,6 @@ ifneq (,$(filter tinydtls,$(USEMODULE))) USEMODULE += tinydtls_aes USEMODULE += tinydtls_ecc endif + +# TinyDTLS only has support for 32-bit architectures ATM +FEATURES_REQUIRED += arch_32bit From 9755694b56804e13b1e46d1eacf3cdb57ee79336 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 14:12:40 +0100 Subject: [PATCH 24/34] examples/dtls-echo: remove useless board blacklist This is now automatically managed by the arch 32 feature requirement at pkg dependencies level --- examples/dtls-echo/Makefile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/dtls-echo/Makefile b/examples/dtls-echo/Makefile index 5cc179253ef6..d8d4f0966bd2 100644 --- a/examples/dtls-echo/Makefile +++ b/examples/dtls-echo/Makefile @@ -7,13 +7,6 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -# TinyDTLS only has support for 32-bit architectures ATM -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano arduino-uno atmega328p \ - chronos mega-xplained microduino-corerf \ - msb-430 msb-430h 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 USEMODULE += gnrc_netdev_default From 04e8461460c99317dc754a0d07b4c1bd7fea5e55 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 14:25:41 +0100 Subject: [PATCH 25/34] pkg/jerryscript: add arch 32bit requirement --- pkg/jerryscript/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/jerryscript/Makefile.dep b/pkg/jerryscript/Makefile.dep index 5e38313cfedc..0589a29d2d21 100644 --- a/pkg/jerryscript/Makefile.dep +++ b/pkg/jerryscript/Makefile.dep @@ -2,3 +2,6 @@ ifneq (,$(filter jerryscript,$(USEPKG))) USEMODULE += jerryport-minimal USEMODULE += jerryscript-ext endif + +# Jerryscript is only supported by 32-bit architectures +FEATURES_REQUIRED += arch_32bit From c9304ab73b89d27a0cdad841a7929ffbf76b692b Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 14:27:02 +0100 Subject: [PATCH 26/34] examples/javascript: update board blacklist Remove 8 bit and 16 bit based boards because they are automatically excluded by the 32 bit architecture requirement of the jerryscript package --- examples/javascript/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/javascript/Makefile b/examples/javascript/Makefile index 51722d348b89..8858693e1fdc 100644 --- a/examples/javascript/Makefile +++ b/examples/javascript/Makefile @@ -7,11 +7,10 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ - arduino-nano arduino-uno atmega328p chronos \ - msb-430 msb-430h telosb waspmote-pro wsn430-v1_3b \ - wsn430-v1_4 z1 pic32-wifire pic32-clicker \ - mega-xplained microduino-corerf +BOARD_BLACKLIST += \ + pic32-wifire \ + pic32-clicker \ + # # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the From c15c3ab8a2b5282b7d43267219e9d638318cf0e9 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 14:27:15 +0100 Subject: [PATCH 27/34] pkg/lua: add arch 32bit requirement --- pkg/lua/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/lua/Makefile.dep b/pkg/lua/Makefile.dep index 2079d072aa51..0d8f0f020201 100644 --- a/pkg/lua/Makefile.dep +++ b/pkg/lua/Makefile.dep @@ -1,3 +1,6 @@ USEPKG += tlsf USEMODULE += lua-contrib USEMODULE += printf_float + +# LUA is only supported by 32-bit architectures +FEATURES_REQUIRED += arch_32bit From a0187caf88c48e864e9514b24b8688d680c1e1e8 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 14:27:32 +0100 Subject: [PATCH 28/34] examples/lua*: update board blacklist Remove 8 bit and 16 bit based boards because they are automatically excluded by the 32 bit architecture requirement of the jerryscript package --- examples/lua_REPL/Makefile | 11 ++++++----- examples/lua_basic/Makefile | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/examples/lua_REPL/Makefile b/examples/lua_REPL/Makefile index 32a814668908..8b6972666032 100644 --- a/examples/lua_REPL/Makefile +++ b/examples/lua_REPL/Makefile @@ -6,11 +6,12 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano arduino-uno atmega328p \ - chronos hifive1 hifive1b mega-xplained microduino-corerf \ - msb-430 msb-430h pic32-clicker pic32-wifire telosb \ - waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 +BOARD_BLACKLIST += \ + hifive1 \ + hifive1b \ + pic32-wifire \ + pic32-clicker \ + # # 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/lua_basic/Makefile b/examples/lua_basic/Makefile index 0e7c843323e5..2e2a6a8f3e99 100644 --- a/examples/lua_basic/Makefile +++ b/examples/lua_basic/Makefile @@ -6,11 +6,12 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ - arduino-mega2560 arduino-nano \ - arduino-uno atmega328p chronos hifive1 hifive1b \ - mega-xplained microduino-corerf msb-430 msb-430h pic32-clicker \ - pic32-wifire telosb waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 +BOARD_BLACKLIST += \ + hifive1 \ + hifive1b \ + pic32-wifire \ + pic32-clicker \ + # # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the From 219faf250ed75873b20045e5d09fb20508c93dea Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 15:39:11 +0100 Subject: [PATCH 29/34] pkg/jerryscript: exclude MIPS --- pkg/jerryscript/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/jerryscript/Makefile.dep b/pkg/jerryscript/Makefile.dep index 0589a29d2d21..493506766dc5 100644 --- a/pkg/jerryscript/Makefile.dep +++ b/pkg/jerryscript/Makefile.dep @@ -5,3 +5,6 @@ endif # Jerryscript is only supported by 32-bit architectures FEATURES_REQUIRED += arch_32bit + +# Jerryscript is not supported on MIPS because of missing stdin over UART +FEATURES_BLACKLIST += arch_mips32r2 From 4eb7c29e0625f5582b478c3ac578ae94f06ca008 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 15:39:55 +0100 Subject: [PATCH 30/34] examples/javascript: update board blacklist MIPS based boards are now blacklisted at package level --- examples/javascript/Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/javascript/Makefile b/examples/javascript/Makefile index 8858693e1fdc..2038d474e9f9 100644 --- a/examples/javascript/Makefile +++ b/examples/javascript/Makefile @@ -7,11 +7,6 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_BLACKLIST += \ - pic32-wifire \ - pic32-clicker \ - # - # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the # development process: From 01702df52df6df02ce6afc41bcfd5cddb3ae8a2c Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 15:40:09 +0100 Subject: [PATCH 31/34] pkg/lua: exclude MIPS --- pkg/lua/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/lua/Makefile.dep b/pkg/lua/Makefile.dep index 0d8f0f020201..860816c4e042 100644 --- a/pkg/lua/Makefile.dep +++ b/pkg/lua/Makefile.dep @@ -4,3 +4,6 @@ USEMODULE += printf_float # LUA is only supported by 32-bit architectures FEATURES_REQUIRED += arch_32bit + +# LUA is not supported on MIPS because of missing stdin over UART +FEATURES_BLACKLIST += arch_mips32r2 From aaa662b9e0724d5bebe29cd666b9a8237307c0fb Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 15:40:26 +0100 Subject: [PATCH 32/34] examples/lua*: update board blacklist MIPS based boards are now blacklisted at package level --- examples/lua_REPL/Makefile | 2 -- examples/lua_basic/Makefile | 2 -- 2 files changed, 4 deletions(-) diff --git a/examples/lua_REPL/Makefile b/examples/lua_REPL/Makefile index 8b6972666032..327117d5415b 100644 --- a/examples/lua_REPL/Makefile +++ b/examples/lua_REPL/Makefile @@ -9,8 +9,6 @@ RIOTBASE ?= $(CURDIR)/../.. BOARD_BLACKLIST += \ hifive1 \ hifive1b \ - pic32-wifire \ - pic32-clicker \ # # Comment this out to disable code in RIOT that does safety checking diff --git a/examples/lua_basic/Makefile b/examples/lua_basic/Makefile index 2e2a6a8f3e99..328ca3caa496 100644 --- a/examples/lua_basic/Makefile +++ b/examples/lua_basic/Makefile @@ -9,8 +9,6 @@ RIOTBASE ?= $(CURDIR)/../.. BOARD_BLACKLIST += \ hifive1 \ hifive1b \ - pic32-wifire \ - pic32-clicker \ # # Comment this out to disable code in RIOT that does safety checking From 1055c6497e57efb92ede01a3d56f3515702dba06 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 16:11:04 +0100 Subject: [PATCH 33/34] pkg/lua: exclude RISCV --- pkg/lua/Makefile.dep | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/lua/Makefile.dep b/pkg/lua/Makefile.dep index 860816c4e042..848218175bc1 100644 --- a/pkg/lua/Makefile.dep +++ b/pkg/lua/Makefile.dep @@ -7,3 +7,8 @@ FEATURES_REQUIRED += arch_32bit # LUA is not supported on MIPS because of missing stdin over UART FEATURES_BLACKLIST += arch_mips32r2 + +# LUA is not supported on RISCV because of build issues with the toolchain +# (undefined reference to _times, _unlink and _link functions in provided +# newlib nano). +FEATURES_BLACKLIST += arch_riscv From 357eaba7cffe9925b2f10dc2e09744fd3f285cd0 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 30 Oct 2019 16:11:49 +0100 Subject: [PATCH 34/34] examples/lua*: update board blacklist RISCV based boards are now blacklisted at package level --- examples/lua_REPL/Makefile | 5 ----- examples/lua_basic/Makefile | 5 ----- 2 files changed, 10 deletions(-) diff --git a/examples/lua_REPL/Makefile b/examples/lua_REPL/Makefile index 327117d5415b..abf99eb8ac23 100644 --- a/examples/lua_REPL/Makefile +++ b/examples/lua_REPL/Makefile @@ -6,11 +6,6 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_BLACKLIST += \ - hifive1 \ - hifive1b \ - # - # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the # development process: diff --git a/examples/lua_basic/Makefile b/examples/lua_basic/Makefile index 328ca3caa496..05361d823664 100644 --- a/examples/lua_basic/Makefile +++ b/examples/lua_basic/Makefile @@ -6,11 +6,6 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_BLACKLIST += \ - hifive1 \ - hifive1b \ - # - # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the # development process: