From c5be3d07517ad2d6e0a43f1cef6d0810ae07a6ab Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Fri, 27 May 2022 14:15:24 +0200 Subject: [PATCH 1/2] examples: add esp32-ci / esp8266-ci as external boards Add `esp32-ci` and `esp8266-ci` as external boards to cover optional modules by CI compilation: - examples/gnrc_networking to cover ESP32/ESP8266 `esp_wifi_ap` - examples/gnrc_minimal to cover ESP32 `esp_wifi_enterprise` --- examples/gnrc_minimal/Makefile | 2 ++ examples/gnrc_networking/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/examples/gnrc_minimal/Makefile b/examples/gnrc_minimal/Makefile index f098c3fe7e57..6398f5496d42 100644 --- a/examples/gnrc_minimal/Makefile +++ b/examples/gnrc_minimal/Makefile @@ -34,6 +34,8 @@ CFLAGS += -DCONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF=2 \ # Change this to 0 show compiler invocation lines by default: QUIET ?= 1 +EXTERNAL_BOARD_DIRS += $(RIOTBASE)/tests/external_board_dirs/esp-ci-boards + include $(RIOTBASE)/Makefile.include # Set GNRC_PKTBUF_SIZE via CFLAGS if not being set via Kconfig. diff --git a/examples/gnrc_networking/Makefile b/examples/gnrc_networking/Makefile index 1bc4558c8fba..202d1eb080e2 100644 --- a/examples/gnrc_networking/Makefile +++ b/examples/gnrc_networking/Makefile @@ -68,6 +68,8 @@ endif # Change this to 0 show compiler invocation lines by default: QUIET ?= 1 +EXTERNAL_BOARD_DIRS += $(RIOTBASE)/tests/external_board_dirs/esp-ci-boards + include $(RIOTBASE)/Makefile.include # Set a custom channel if needed From e496dd8dcf3b6768a4eb8ed43de5dde40640e895 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Fri, 27 May 2022 14:16:54 +0200 Subject: [PATCH 2/2] tests: add esp32-ci / esp8266-ci as external boards Add `esp32-ci` and `esp8266-ci` as external boards to cover optional module `esp_hw_counter` (ESP32) and `esp_sw_timer` (ESP8266) by CI compilation. --- tests/periph_timer/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/periph_timer/Makefile b/tests/periph_timer/Makefile index baeb9a7d946d..ddfd840eee0a 100644 --- a/tests/periph_timer/Makefile +++ b/tests/periph_timer/Makefile @@ -59,4 +59,7 @@ endif TIMER_SPEED ?= 1000000 CFLAGS += -DTIMER_SPEED=$(TIMER_SPEED) + +EXTERNAL_BOARD_DIRS += $(CURDIR)/../external_board_dirs/esp-ci-boards + include $(RIOTBASE)/Makefile.include