From ea2da7b3809a24476789c9c3ffe05050c7e57e40 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 8 Jun 2018 22:18:39 +0200 Subject: [PATCH 1/3] boards/stm32l0538-disco: initial support --- boards/stm32l0538-disco/Makefile | 3 + boards/stm32l0538-disco/Makefile.dep | 3 + boards/stm32l0538-disco/Makefile.features | 7 + boards/stm32l0538-disco/Makefile.include | 18 +++ boards/stm32l0538-disco/board.c | 32 ++++ boards/stm32l0538-disco/doc.txt | 41 +++++ boards/stm32l0538-disco/include/board.h | 75 +++++++++ boards/stm32l0538-disco/include/gpio_params.h | 56 +++++++ boards/stm32l0538-disco/include/periph_conf.h | 150 ++++++++++++++++++ 9 files changed, 385 insertions(+) create mode 100644 boards/stm32l0538-disco/Makefile create mode 100644 boards/stm32l0538-disco/Makefile.dep create mode 100644 boards/stm32l0538-disco/Makefile.features create mode 100644 boards/stm32l0538-disco/Makefile.include create mode 100644 boards/stm32l0538-disco/board.c create mode 100644 boards/stm32l0538-disco/doc.txt create mode 100644 boards/stm32l0538-disco/include/board.h create mode 100644 boards/stm32l0538-disco/include/gpio_params.h create mode 100644 boards/stm32l0538-disco/include/periph_conf.h diff --git a/boards/stm32l0538-disco/Makefile b/boards/stm32l0538-disco/Makefile new file mode 100644 index 0000000000..f8fcbb53a0 --- /dev/null +++ b/boards/stm32l0538-disco/Makefile @@ -0,0 +1,3 @@ +MODULE = board + +include $(RIOTBASE)/Makefile.base diff --git a/boards/stm32l0538-disco/Makefile.dep b/boards/stm32l0538-disco/Makefile.dep new file mode 100644 index 0000000000..5472bf8b8d --- /dev/null +++ b/boards/stm32l0538-disco/Makefile.dep @@ -0,0 +1,3 @@ +ifneq (,$(filter saul_default,$(USEMODULE))) + USEMODULE += saul_gpio +endif diff --git a/boards/stm32l0538-disco/Makefile.features b/boards/stm32l0538-disco/Makefile.features new file mode 100644 index 0000000000..76233c885d --- /dev/null +++ b/boards/stm32l0538-disco/Makefile.features @@ -0,0 +1,7 @@ +# Put defined MCU peripherals here (in alphabetical order) +FEATURES_PROVIDED += periph_rtc +FEATURES_PROVIDED += periph_spi +FEATURES_PROVIDED += periph_timer +FEATURES_PROVIDED += periph_uart + +-include $(RIOTCPU)/stm32l0/Makefile.features diff --git a/boards/stm32l0538-disco/Makefile.include b/boards/stm32l0538-disco/Makefile.include new file mode 100644 index 0000000000..79ceaa657a --- /dev/null +++ b/boards/stm32l0538-disco/Makefile.include @@ -0,0 +1,18 @@ +# define the cpu used by the stm32l0538-disco board +export CPU = stm32l0 +export CPU_MODEL = stm32l053c8 + +# we use shared STM32 configuration snippets +INCLUDES += -I$(RIOTBOARD)/common/stm32/include + +# define the default port depending on the host OS +PORT_LINUX ?= /dev/ttyUSB0 +PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*))) + +# setup serial terminal +include $(RIOTMAKE)/tools/serial.inc.mk + +DEBUG_ADAPTER ?= stlink + +# this board uses openocd +include $(RIOTMAKE)/tools/openocd.inc.mk diff --git a/boards/stm32l0538-disco/board.c b/boards/stm32l0538-disco/board.c new file mode 100644 index 0000000000..a1d9fc06e1 --- /dev/null +++ b/boards/stm32l0538-disco/board.c @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2018 Inria + * + * This file is subject to the terms and conditions of the GNU Lesser General + * Public License v2.1. See the file LICENSE in the top level directory for more + * details. + */ + +/** + * @ingroup boards_stm32l0538-disco + * @{ + * + * @file + * @brief Board specific implementations for the STM32L0538-DISCO evaluation board + * + * @author Alexandre Abadie + * + * @} + */ + +#include "board.h" +#include "periph/gpio.h" + +void board_init(void) +{ + /* initialize the boards LEDs */ + gpio_init(LED0_PIN, GPIO_OUT); + gpio_init(LED1_PIN, GPIO_OUT); + + /* initialize the CPU */ + cpu_init(); +} diff --git a/boards/stm32l0538-disco/doc.txt b/boards/stm32l0538-disco/doc.txt new file mode 100644 index 0000000000..d018931a1e --- /dev/null +++ b/boards/stm32l0538-disco/doc.txt @@ -0,0 +1,41 @@ +/** + * @defgroup boards_stm32l0538-disco STM32L0538-DISCO + * @ingroup boards + * @brief Support for the STM32L0538-DISCO board + +### Introduction + +The +[STM32L0538-DISCO](https://www.st.com/en/evaluation-tools/32l0538discovery.html) +discovery kit features an ultra low-power stm32l053c8t6 microcontroller with +64KB of FLASH and 8KB of RAM. +The board also provides an on-board 2.04" E-paper display (not supported yet). + +![STM32L0538-DISCO](https://www.st.com/content/ccc/fragment/product_related/rpn_information/board_photo/group0/67/a2/3f/98/6b/24/4a/27/stm32l0538-discovery.jpg/files/stm32l0538-disco.jpg/_jcr_content/translations/en.stm32l0538-disco.jpg) + +### Supported features + +| Peripheral | Configuration | +|:--------------------- |:----------------------------------------------------------------------------------------- | +| TIMs | TIM2 | +| UARTs | USART1 on PA10 (RX), PA9 (TX) | +| SPIs | SPI1 on PB5 (MOSI), PB4 (MISO), PB3 (SCLK); SPI2 on PB15 (MOSI), PB14 (MISO), PB13 (SCLK) | + +### Flashing the board + +The board can be flashed using OpenOCD via the on-board ST-Link adapter. +Then use the following command: + + make BOARD=stm32l0538-disco -C examples/hello-world flash + +### STDIO + +STDIO is connected to pins PA9 (TX) and PA10 (RX) so an USB to UART adapter is +required. Use the `term` targed to open a terminal: + + make BOARD=stm32l0538-disco -C examples/hello-world term + +If an external ST-Link adapter is used, RX and TX pins can be directly connected +to it. In this case, STDIO is available on /dev/ttyACMx (Linux case). + + */ diff --git a/boards/stm32l0538-disco/include/board.h b/boards/stm32l0538-disco/include/board.h new file mode 100644 index 0000000000..45d8112905 --- /dev/null +++ b/boards/stm32l0538-disco/include/board.h @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2018 Inria + * + * This file is subject to the terms and conditions of the GNU Lesser General + * Public License v2.1. See the file LICENSE in the top level directory for more + * details. + */ + +/** + * @ingroup boards_stm32l0538-disco + * @{ + * + * @file + * @brief Board specific definitions for the STM32L0538-DISCO evaluation board. + * + * @author Alexandre Abadie + */ + +#ifndef BOARD_H +#define BOARD_H + +#include "cpu.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @name Xtimer configuration + * @{ + */ +#define XTIMER_WIDTH (16) +/** @} */ + +/** + * @name Macros for controlling the on-board LEDs. + * @{ + */ +#define LED0_PIN GPIO_PIN(PORT_B, 4) +#define LED0_PORT GPIOB +#define LED0_MASK (1 << 4) + +#define LED0_ON (LED0_PORT->BSRR = LED0_MASK) +#define LED0_OFF (LED0_PORT->BRR = LED0_MASK) +#define LED0_TOGGLE (LED0_PORT->ODR ^= LED0_MASK) + +#define LED1_PIN GPIO_PIN(PORT_A, 5) +#define LED1_PORT GPIOA +#define LED1_MASK (1 << 5) + +#define LED1_ON (LED1_PORT->BSRR = LED1_MASK) +#define LED1_OFF (LED1_PORT->BRR = LED1_MASK) +#define LED1_TOGGLE (LED1_PORT->ODR ^= LED1_MASK) +/** @} */ + +/** + * @name User button + * @{ + */ +#define BTN0_PIN GPIO_PIN(PORT_A, 0) +#define BTN0_PORT GPIOA +#define BTN0_MODE GPIO_IN +/** @} */ + +/** + * @brief Initialize board specific hardware, including clock, LEDs and std-IO + */ +void board_init(void); + +#ifdef __cplusplus +} +#endif + +#endif /* BOARD_H */ +/** @} */ diff --git a/boards/stm32l0538-disco/include/gpio_params.h b/boards/stm32l0538-disco/include/gpio_params.h new file mode 100644 index 0000000000..eab348e274 --- /dev/null +++ b/boards/stm32l0538-disco/include/gpio_params.h @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2018 Inria + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @ingroup boards_stm32l0538-disco + * @{ + * + * @file + * @brief Board specific configuration of direct mapped GPIOs + * + * @author Alexandre Abadie + */ + +#ifndef GPIO_PARAMS_H +#define GPIO_PARAMS_H + +#include "board.h" +#include "saul/periph.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @brief GPIO pin configuration + */ +static const saul_gpio_params_t saul_gpio_params[] = +{ + { + .name = "LD3", + .pin = LED0_PIN, + .mode = GPIO_OUT + }, + { + .name = "LD4", + .pin = LED1_PIN, + .mode = GPIO_OUT + }, + { + .name = "BTN USER", + .pin = BTN0_PIN, + .mode = BTN0_MODE + }, +}; + +#ifdef __cplusplus +} +#endif + +#endif /* GPIO_PARAMS_H */ +/** @} */ diff --git a/boards/stm32l0538-disco/include/periph_conf.h b/boards/stm32l0538-disco/include/periph_conf.h new file mode 100644 index 0000000000..3d314613d5 --- /dev/null +++ b/boards/stm32l0538-disco/include/periph_conf.h @@ -0,0 +1,150 @@ +/* + * Copyright (C) 2018 Inria + * + * This file is subject to the terms and conditions of the GNU Lesser General + * Public License v2.1. See the file LICENSE in the top level directory for more + * details. + */ + +/** + * @ingroup boards_stm32l0538-disco + * @{ + * + * @file + * @brief Peripheral MCU configuration for the STM32L0538-DISCO board + * + * @author Alexandre Abadie + */ + +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H + +#include "periph_cpu.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @name Clock system configuration + * @{ + */ +#define CLOCK_HSI (16000000U) /* internal oscillator */ +#define CLOCK_CORECLOCK (32000000U) /* desired core clock frequency */ +#define CLOCK_LSE (0) /* enable low speed external oscillator */ + +/* configuration of PLL prescaler and multiply values */ +/* CORECLOCK := HSI / CLOCK_PLL_DIV * CLOCK_PLL_MUL */ +#define CLOCK_PLL_DIV RCC_CFGR_PLLDIV2 +#define CLOCK_PLL_MUL RCC_CFGR_PLLMUL4 +/* configuration of peripheral bus clock prescalers */ +#define CLOCK_AHB_DIV RCC_CFGR_HPRE_DIV1 /* AHB clock -> 32MHz */ +#define CLOCK_APB2_DIV RCC_CFGR_PPRE2_DIV1 /* APB2 clock -> 32MHz */ +#define CLOCK_APB1_DIV RCC_CFGR_PPRE1_DIV1 /* APB1 clock -> 32MHz */ +/* configuration of flash access cycles */ +#define CLOCK_FLASH_LATENCY FLASH_ACR_LATENCY + +/* bus clocks for simplified peripheral initialization, UPDATE MANUALLY! */ +#define CLOCK_AHB (CLOCK_CORECLOCK / 1) +#define CLOCK_APB2 (CLOCK_CORECLOCK / 1) +#define CLOCK_APB1 (CLOCK_CORECLOCK / 1) +/** @} */ + +/** + * @name Timer configuration + * @{ + */ +static const timer_conf_t timer_config[] = { + { + .dev = TIM2, + .max = 0x0000ffff, + .rcc_mask = RCC_APB1ENR_TIM2EN, + .bus = APB1, + .irqn = TIM2_IRQn + } +}; + +#define TIMER_0_ISR isr_tim2 + +#define TIMER_NUMOF (sizeof(timer_config) / sizeof(timer_config[0])) +/** @} */ + +/** + * @name UART configuration + * @{ + */ +static const uart_conf_t uart_config[] = { + { + .dev = USART1, + .rcc_mask = RCC_APB2ENR_USART1EN, + .rx_pin = GPIO_PIN(PORT_A, 10), + .tx_pin = GPIO_PIN(PORT_A, 9), + .rx_af = GPIO_AF4, + .tx_af = GPIO_AF4, + .bus = APB2, + .irqn = USART1_IRQn, + .type = STM32_USART, + .clk_src = 0, /* Use APB clock */ + } +}; + +#define UART_0_ISR (isr_usart1) + +#define UART_NUMOF (sizeof(uart_config) / sizeof(uart_config[0])) +/** @} */ + +/** + * @name SPI configuration + * + * @note The spi_divtable is auto-generated from + * `cpu/stm32_common/dist/spi_divtable/spi_divtable.c` + * @{ + */ +static const uint8_t spi_divtable[2][5] = { + { /* for APB1 @ 32000000Hz */ + 7, /* -> 125000Hz */ + 5, /* -> 500000Hz */ + 4, /* -> 1000000Hz */ + 2, /* -> 4000000Hz */ + 1 /* -> 8000000Hz */ + }, + { /* for APB2 @ 32000000Hz */ + 7, /* -> 125000Hz */ + 5, /* -> 500000Hz */ + 4, /* -> 1000000Hz */ + 2, /* -> 4000000Hz */ + 1 /* -> 8000000Hz */ + } +}; + +static const spi_conf_t spi_config[] = { + { + .dev = SPI1, + .mosi_pin = GPIO_PIN(PORT_B, 5), + .miso_pin = GPIO_PIN(PORT_B, 4), + .sclk_pin = GPIO_PIN(PORT_B, 3), + .cs_pin = GPIO_UNDEF, + .af = GPIO_AF0, + .rccmask = RCC_APB2ENR_SPI1EN, + .apbbus = APB2 + }, + { + .dev = SPI2, + .mosi_pin = GPIO_PIN(PORT_B, 15), + .miso_pin = GPIO_PIN(PORT_B, 14), + .sclk_pin = GPIO_PIN(PORT_B, 13), + .cs_pin = GPIO_PIN(PORT_B, 12), + .af = GPIO_AF0, + .rccmask = RCC_APB1ENR_SPI2EN, + .apbbus = APB1 + }, +}; + +#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0])) +/** @} */ + +#ifdef __cplusplus +} +#endif + +#endif /* PERIPH_CONF_H */ From d94c557a1142d4d36d891e3aaf3f96e757872673 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 9 Jul 2018 11:20:26 +0200 Subject: [PATCH 2/3] examples: exclude stm32l0538-disco board because of insufficient memory available --- examples/asymcute_mqttsn/Makefile | 2 +- examples/cord_ep/Makefile | 3 ++- examples/cord_epsim/Makefile | 3 ++- examples/dtls-echo/Makefile | 2 +- examples/emcute_mqttsn/Makefile | 4 ++-- examples/gcoap/Makefile | 3 ++- examples/gnrc_border_router/Makefile | 3 ++- examples/gnrc_networking/Makefile | 3 ++- examples/gnrc_tftp/Makefile | 3 ++- examples/javascript/Makefile | 3 ++- examples/lua_REPL/Makefile | 3 ++- examples/lua_basic/Makefile | 2 +- examples/nanocoap_server/Makefile | 3 ++- examples/ndn-ping/Makefile | 3 ++- examples/posix_sockets/Makefile | 3 ++- 15 files changed, 27 insertions(+), 16 deletions(-) diff --git a/examples/asymcute_mqttsn/Makefile b/examples/asymcute_mqttsn/Makefile index 06183a04c2..26259bd161 100644 --- a/examples/asymcute_mqttsn/Makefile +++ b/examples/asymcute_mqttsn/Makefile @@ -17,7 +17,7 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ nucleo-f070rb nucleo-f072rb nucleo-f303k8 \ nucleo-f334r8 nucleo-l031k6 nucleo-l053r8 \ saml10-xpro saml11-xpro \ - stm32f0discovery telosb waspmote-pro \ + stm32f0discovery stm32l0538-disco telosb waspmote-pro \ wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1 # Include packages that pull up and auto-init the link layer. diff --git a/examples/cord_ep/Makefile b/examples/cord_ep/Makefile index b582035b99..6d3a2e43a0 100644 --- a/examples/cord_ep/Makefile +++ b/examples/cord_ep/Makefile @@ -13,7 +13,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ msb-430h nucleo-f030r8 nucleo-l053r8 \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ nucleo-f334r8 nucleo-l031k6 stm32f0discovery \ - telosb waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 + stm32l0538-disco telosb waspmote-pro \ + wsn430-v1_3b wsn430-v1_4 z1 USEMODULE += gnrc_netdev_default USEMODULE += auto_init_gnrc_netif diff --git a/examples/cord_epsim/Makefile b/examples/cord_epsim/Makefile index 641a134717..08e09ea801 100644 --- a/examples/cord_epsim/Makefile +++ b/examples/cord_epsim/Makefile @@ -13,7 +13,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ nucleo-f030r8 nucleo-l053r8 nucleo-f031k6 \ nucleo-f042k6 nucleo-f303k8 nucleo-f334r8 \ nucleo-l031k6 mega-xplained stm32f0discovery \ - telosb waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 + stm32l0538-disco telosb waspmote-pro \ + wsn430-v1_3b wsn430-v1_4 z1 # Enable GNRC networking USEMODULE += gnrc_netdev_default diff --git a/examples/dtls-echo/Makefile b/examples/dtls-echo/Makefile index 02bbfb0ee4..d309e7d14b 100644 --- a/examples/dtls-echo/Makefile +++ b/examples/dtls-echo/Makefile @@ -20,7 +20,7 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 blackpill bluepill call nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 \ nucleo-f070rb nucleo-f072rb nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \ nucleo-l053r8 nucleo-l073rz opencm904 saml10-xpro \ - saml11-xpro spark-core stm32f0discovery yunjia-nrf51822 + saml11-xpro spark-core stm32f0discovery stm32l0538-disco yunjia-nrf51822 # Include packages that pull up and auto-init the link layer. # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present diff --git a/examples/emcute_mqttsn/Makefile b/examples/emcute_mqttsn/Makefile index 2fd34e6d70..ce377abd2c 100644 --- a/examples/emcute_mqttsn/Makefile +++ b/examples/emcute_mqttsn/Makefile @@ -13,8 +13,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ nucleo-l031k6 nucleo-f030r8 nucleo-f070rb \ nucleo-f072rb nucleo-f302r8 nucleo-f334r8 \ - nucleo-l053r8 stm32f0discovery telosb \ - waspmote-pro wsn430-v1_3b \ + nucleo-l053r8 stm32f0discovery stm32l0538-disco \ + telosb waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 mega-xplained # Include packages that pull up and auto-init the link layer. diff --git a/examples/gcoap/Makefile b/examples/gcoap/Makefile index c8c2085176..ef86ffed5d 100644 --- a/examples/gcoap/Makefile +++ b/examples/gcoap/Makefile @@ -15,7 +15,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ msb-430h nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 nucleo-f303k8 \ nucleo-f334r8 nucleo-l053r8 stm32f0discovery \ - telosb waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 + stm32l0538-disco telosb waspmote-pro \ + wsn430-v1_3b wsn430-v1_4 z1 ## Uncomment to redefine port, for example use 61616 for RFC 6282 UDP compression. #GCOAP_PORT = 5683 diff --git a/examples/gnrc_border_router/Makefile b/examples/gnrc_border_router/Makefile index da4089ad58..3841bcc8a6 100644 --- a/examples/gnrc_border_router/Makefile +++ b/examples/gnrc_border_router/Makefile @@ -18,7 +18,8 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ nucleo-f070rb nucleo-f072rb nucleo-f103rb \ nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \ nucleo-l073rz opencm904 saml10-xpro saml11-xpro \ - spark-core stm32f0discovery telosb waspmote-pro \ + spark-core stm32f0discovery stm32l0538-disco \ + telosb waspmote-pro \ weio wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1 # The following boards do not have an available UART diff --git a/examples/gnrc_networking/Makefile b/examples/gnrc_networking/Makefile index b209984f20..312b47a8aa 100644 --- a/examples/gnrc_networking/Makefile +++ b/examples/gnrc_networking/Makefile @@ -16,7 +16,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ nucleo-l031k6 nucleo-f030r8 nucleo-f070rb \ nucleo-f072rb nucleo-f103rb nucleo-f302r8 \ nucleo-f334r8 nucleo-l053r8 saml10-xpro \ - saml11-xpro spark-core stm32f0discovery telosb \ + saml11-xpro spark-core stm32f0discovery \ + stm32l0538-disco telosb \ waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 # Include packages that pull up and auto-init the link layer. diff --git a/examples/gnrc_tftp/Makefile b/examples/gnrc_tftp/Makefile index 5fc8b3afe4..006a441896 100644 --- a/examples/gnrc_tftp/Makefile +++ b/examples/gnrc_tftp/Makefile @@ -17,7 +17,8 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ nucleo-f030r8 nucleo-f070rb nucleo-f072rb \ nucleo-f103rb nucleo-f302r8 nucleo-f334r8 \ nucleo-l053r8 saml10-xpro saml11-xpro spark-core \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro wsn430-v1_3b \ wsn430-v1_4 yunjia-nrf51822 z1 # Include packages that pull up and auto-init the link layer. diff --git a/examples/javascript/Makefile b/examples/javascript/Makefile index 527f56dc9f..8042e5a4fb 100644 --- a/examples/javascript/Makefile +++ b/examples/javascript/Makefile @@ -15,7 +15,8 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 blackpill bluepill call nucleo-f410rb nucleo-l053r8 nucleo-l073rz \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ nucleo-l031k6 opencm904 saml10-xpro saml11-xpro \ - spark-core stm32f0discovery yunjia-nrf51822 + spark-core stm32f0discovery stm32l0538-disco \ + yunjia-nrf51822 BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ arduino-nano arduino-uno chronos \ diff --git a/examples/lua_REPL/Makefile b/examples/lua_REPL/Makefile index 7b16afbcb2..d6fbc4a9c1 100644 --- a/examples/lua_REPL/Makefile +++ b/examples/lua_REPL/Makefile @@ -25,7 +25,8 @@ BOARD_INSUFFICIENT_MEMORY := blackpill bluepill calliope-mini cc2650-launchpad \ samr30-xpro seeeduino_arch-pro sensebox_samd21 slstk3401a \ sltb001a slwstk6220a sodaq-autonomo sodaq-explorer \ sodaq-one sodaq-sara-aff stk3600 stm32f3discovery \ - yunjia-nrf51822 esp8266-esp-12x esp8266-olimex-mod \ + stm32l0538-disco yunjia-nrf51822 \ + esp8266-esp-12x esp8266-olimex-mod \ esp8266-sparkfun-thing firefly BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ diff --git a/examples/lua_basic/Makefile b/examples/lua_basic/Makefile index e7ada6da42..7bff87aae5 100644 --- a/examples/lua_basic/Makefile +++ b/examples/lua_basic/Makefile @@ -14,7 +14,7 @@ BOARD_INSUFFICIENT_MEMORY := blackpill bluepill calliope-mini cc2650-launchpad \ nucleo-f103rb nucleo-f302r8 nucleo-f303k8 \ nucleo-f334r8 nucleo-f410rb nucleo-l031k6 \ nucleo-l053r8 opencm904 saml10-xpro saml11-xpro \ - spark-core stm32f0discovery + spark-core stm32f0discovery stm32l0538-disco BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ arduino-mega2560 arduino-nano \ diff --git a/examples/nanocoap_server/Makefile b/examples/nanocoap_server/Makefile index cf800462ee..511f3b65be 100644 --- a/examples/nanocoap_server/Makefile +++ b/examples/nanocoap_server/Makefile @@ -12,7 +12,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ chronos i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ nucleo-f030r8 nucleo-f303k8 nucleo-l053r8 \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 # Include packages that pull up and auto-init the link layer. diff --git a/examples/ndn-ping/Makefile b/examples/ndn-ping/Makefile index 3817b0b1a3..e7f9d0ad2d 100644 --- a/examples/ndn-ping/Makefile +++ b/examples/ndn-ping/Makefile @@ -12,7 +12,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ arduino-uno chronos i-nucleo-lrwan1 mega-xplained \ msb-430 msb-430h nucleo-f042k6 nucleo-f031k6 \ nucleo-l031k6 nucleo-f030r8 nucleo-l053r8 \ - stm32f0discovery telosb waspmote-pro weio \ + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro weio \ wsn430-v1_3b wsn430-v1_4 z1 # Include packages that pull up and auto-init the link layer. diff --git a/examples/posix_sockets/Makefile b/examples/posix_sockets/Makefile index f24b84e708..c52a98d85b 100644 --- a/examples/posix_sockets/Makefile +++ b/examples/posix_sockets/Makefile @@ -14,7 +14,8 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ nucleo-f030r8 nucleo-f070rb nucleo-f072rb \ nucleo-f334r8 nucleo-f303k8 nucleo-l053r8 \ - stm32f0discovery telosb wsn430-v1_3b wsn430-v1_4 \ + stm32f0discovery stm32l0538-disco telosb \ + wsn430-v1_3b wsn430-v1_4 \ yunjia-nrf51822 waspmote-pro z1 # Include packages that pull up and auto-init the link layer. From 4ac2b4ec2b5d0a3a90aaef1a26540dfa5132de03 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 9 Jul 2018 11:31:43 +0200 Subject: [PATCH 3/3] tests: exclude stm32l0538-disco board because of insufficient memory available --- boards/stm32l0538-disco/Makefile.features | 2 +- tests/cond_order/Makefile | 2 +- tests/conn_can/Makefile | 3 ++- tests/cpp11_condition_variable/Makefile | 3 ++- tests/cpp11_mutex/Makefile | 3 ++- tests/cpp11_thread/Makefile | 3 ++- tests/driver_enc28j60/Makefile | 3 ++- tests/driver_encx24j600/Makefile | 3 ++- tests/driver_kw2xrf/Makefile | 2 +- tests/emb6/Makefile | 4 ++-- tests/gnrc_ipv6_ext/Makefile | 3 ++- tests/gnrc_ipv6_fwd_w_sub/Makefile | 2 +- tests/gnrc_ipv6_nib_6ln/Makefile | 4 ++-- tests/gnrc_mac_timeout/Makefile | 3 ++- tests/gnrc_ndp/Makefile | 4 ++-- tests/gnrc_netif/Makefile | 5 +++-- tests/gnrc_rpl_srh/Makefile | 4 ++-- tests/gnrc_sixlowpan/Makefile | 3 ++- tests/gnrc_sock_dns/Makefile | 3 ++- tests/gnrc_tcp_client/Makefile | 3 ++- tests/gnrc_tcp_server/Makefile | 3 ++- tests/gnrc_udp/Makefile | 3 ++- tests/lwip/Makefile | 2 +- tests/lwip_sock_ip/Makefile | 3 ++- tests/lwip_sock_tcp/Makefile | 3 ++- tests/lwip_sock_udp/Makefile | 2 +- tests/mutex_order/Makefile | 3 ++- tests/nanocoap_cli/Makefile | 3 ++- tests/nhdp/Makefile | 2 +- tests/pkg_fatfs/Makefile | 4 ++-- tests/pkg_fatfs_vfs/Makefile | 3 ++- tests/pkg_libcoap/Makefile | 4 ++-- tests/pkg_libcose/Makefile | 3 ++- tests/pkg_littlefs/Makefile | 1 + tests/pkg_microcoap/Makefile | 3 ++- tests/pkg_relic/Makefile | 1 + tests/pkg_spiffs/Makefile | 1 + tests/posix_semaphore/Makefile | 2 +- tests/ps_schedstatistics/Makefile | 4 ++-- tests/pthread_barrier/Makefile | 2 +- tests/pthread_cooperation/Makefile | 2 +- tests/pthread_rwlock/Makefile | 2 +- tests/rmutex/Makefile | 3 ++- tests/slip/Makefile | 2 +- tests/sntp/Makefile | 4 ++-- tests/thread_cooperation/Makefile | 4 ++-- tests/unittests/Makefile | 2 ++ 47 files changed, 80 insertions(+), 53 deletions(-) diff --git a/boards/stm32l0538-disco/Makefile.features b/boards/stm32l0538-disco/Makefile.features index 76233c885d..58bcf08ecb 100644 --- a/boards/stm32l0538-disco/Makefile.features +++ b/boards/stm32l0538-disco/Makefile.features @@ -4,4 +4,4 @@ FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart --include $(RIOTCPU)/stm32l0/Makefile.features +include $(RIOTCPU)/stm32l0/Makefile.features diff --git a/tests/cond_order/Makefile b/tests/cond_order/Makefile index af1ef52d0b..8795a8226e 100644 --- a/tests/cond_order/Makefile +++ b/tests/cond_order/Makefile @@ -5,6 +5,6 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ nucleo32-f042 nucleo32-l031 nucleo-f030 \ nucleo-f030r8 nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-l053 nucleo-l053r8 \ - stm32f0discovery + stm32f0discovery stm32l0538-disco include $(RIOTBASE)/Makefile.include diff --git a/tests/conn_can/Makefile b/tests/conn_can/Makefile index c1f76871e7..18abb2168e 100644 --- a/tests/conn_can/Makefile +++ b/tests/conn_can/Makefile @@ -8,7 +8,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ nucleo-l031k6 nucleo-f030r8 nucleo-f070rb \ nucleo-f072rb nucleo-f302r8 nucleo-f303re \ nucleo-f334r8 nucleo-l053r8 saml10-xpro \ - saml11-xpro stm32f0discovery telosb waspmote-pro \ + saml11-xpro stm32f0discovery stm32l0538-disco \ + telosb waspmote-pro \ wsn430-v1_3b wsn430-v1_4 z1 USEMODULE += shell diff --git a/tests/cpp11_condition_variable/Makefile b/tests/cpp11_condition_variable/Makefile index d150952355..2bcccd274a 100644 --- a/tests/cpp11_condition_variable/Makefile +++ b/tests/cpp11_condition_variable/Makefile @@ -6,7 +6,8 @@ include ../Makefile.tests_common # Debian jessie libstdc++-arm-none-eabi-newlib-4.8.3-9+4 works fine, though. # Remove this line if Travis is upgraded to a different toolchain which does # not pull in all C++ locale code whenever exceptions are used. -BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 nucleo-f334r8 spark-core stm32f0discovery +BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 nucleo-f334r8 spark-core \ + stm32f0discovery stm32l0538-disco # If you want to add some extra flags when compile c++ files, add these flags # to CXXEXFLAGS variable diff --git a/tests/cpp11_mutex/Makefile b/tests/cpp11_mutex/Makefile index 4886b4eaea..fe96355cb7 100644 --- a/tests/cpp11_mutex/Makefile +++ b/tests/cpp11_mutex/Makefile @@ -6,7 +6,8 @@ include ../Makefile.tests_common # Debian jessie libstdc++-arm-none-eabi-newlib-4.8.3-9+4 works fine, though. # Remove this line if Travis is upgraded to a different toolchain which does # not pull in all C++ locale code whenever exceptions are used. -BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 nucleo-f334r8 spark-core stm32f0discovery +BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 nucleo-f334r8 spark-core \ + stm32f0discovery stm32l0538-disco # If you want to add some extra flags when compile c++ files, add these flags # to CXXEXFLAGS variable diff --git a/tests/cpp11_thread/Makefile b/tests/cpp11_thread/Makefile index d150952355..2bcccd274a 100644 --- a/tests/cpp11_thread/Makefile +++ b/tests/cpp11_thread/Makefile @@ -6,7 +6,8 @@ include ../Makefile.tests_common # Debian jessie libstdc++-arm-none-eabi-newlib-4.8.3-9+4 works fine, though. # Remove this line if Travis is upgraded to a different toolchain which does # not pull in all C++ locale code whenever exceptions are used. -BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 nucleo-f334r8 spark-core stm32f0discovery +BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 nucleo-f334r8 spark-core \ + stm32f0discovery stm32l0538-disco # If you want to add some extra flags when compile c++ files, add these flags # to CXXEXFLAGS variable diff --git a/tests/driver_enc28j60/Makefile b/tests/driver_enc28j60/Makefile index e0fac7e93b..05912af473 100644 --- a/tests/driver_enc28j60/Makefile +++ b/tests/driver_enc28j60/Makefile @@ -5,7 +5,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ arduino-uno i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f334r8 nucleo-l053r8 nucleo-f031k6 \ nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \ - mega-xplained stm32f0discovery telosb \ + mega-xplained stm32f0discovery \ + stm32l0538-disco telosb \ waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 USEMODULE += auto_init_gnrc_netif diff --git a/tests/driver_encx24j600/Makefile b/tests/driver_encx24j600/Makefile index 7ef6d33350..413c52ca33 100644 --- a/tests/driver_encx24j600/Makefile +++ b/tests/driver_encx24j600/Makefile @@ -4,7 +4,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ arduino-mega2560 arduino-nano \ arduino-uno i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \ - nucleo-l031k6 stm32f0discovery telosb \ + nucleo-l031k6 stm32f0discovery \ + stm32l0538-disco telosb \ waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 USEMODULE += auto_init_gnrc_netif diff --git a/tests/driver_kw2xrf/Makefile b/tests/driver_kw2xrf/Makefile index 35c1be1398..9d3201f75a 100644 --- a/tests/driver_kw2xrf/Makefile +++ b/tests/driver_kw2xrf/Makefile @@ -4,7 +4,7 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ arduino-mega2560 arduino-nano arduino-uno \ i-nucleo-lrwan1 nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f334r8 nucleo-l053r8 \ - stm32f0discovery waspmote-pro + stm32f0discovery stm32l0538-disco waspmote-pro USEMODULE += auto_init_gnrc_netif USEMODULE += gnrc_netdev_default diff --git a/tests/emb6/Makefile b/tests/emb6/Makefile index a5a6a94251..0d6fb23c61 100644 --- a/tests/emb6/Makefile +++ b/tests/emb6/Makefile @@ -10,8 +10,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ arduino-mega2560 arduino-nano arduino-uno \ i-nucleo-lrwan1 msb-430 msb-430h nucleo-l031k6 \ nucleo-f031k6 nucleo-f042k6 nucleo-l053r8 \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ - wsn430-v1_4 z1 + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 USEPKG += emb6 diff --git a/tests/gnrc_ipv6_ext/Makefile b/tests/gnrc_ipv6_ext/Makefile index 34f986f4d4..8a889c178b 100644 --- a/tests/gnrc_ipv6_ext/Makefile +++ b/tests/gnrc_ipv6_ext/Makefile @@ -8,7 +8,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ msb-430 msb-430h nucleo-f030r8 nucleo-f031k6 \ nucleo-f042k6 nucleo-f070rb nucleo-f072rb \ nucleo-f303k8 nucleo-f334r8 nucleo-l031k6 \ - nucleo-l053r8 stm32f0discovery telosb thingy52 \ + nucleo-l053r8 stm32f0discovery stm32l0538-disco \ + telosb thingy52 \ waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 # chronos, hamilton, mips-malta, and ruuvitag boards don't support ethos BOARD_BLACKLIST := chronos hamilton mips-malta ruuvitag diff --git a/tests/gnrc_ipv6_fwd_w_sub/Makefile b/tests/gnrc_ipv6_fwd_w_sub/Makefile index d3c7c07423..cc6f6229b3 100644 --- a/tests/gnrc_ipv6_fwd_w_sub/Makefile +++ b/tests/gnrc_ipv6_fwd_w_sub/Makefile @@ -5,7 +5,7 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ arduino-mega2560 arduino-nano arduino-uno chronos \ i-nucleo-lrwan1 msb-430 msb-430h nucleo-f030r8 \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ - nucleo-l053r8 stm32f0discovery telosb \ + nucleo-l053r8 stm32f0discovery stm32l0538-disco telosb \ waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 USEMODULE += gnrc_ipv6_router_default diff --git a/tests/gnrc_ipv6_nib_6ln/Makefile b/tests/gnrc_ipv6_nib_6ln/Makefile index 4236d560a9..6c1a2ce7dd 100644 --- a/tests/gnrc_ipv6_nib_6ln/Makefile +++ b/tests/gnrc_ipv6_nib_6ln/Makefile @@ -4,8 +4,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ arduino-mega2560 arduino-nano arduino-uno chronos \ i-nucleo-lrwan1 nucleo-f030r8 nucleo-l053r8 \ nucleo-f031k6 nucleo-l031k6 nucleo-f042k6 \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ - wsn430-v1_4 + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro wsn430-v1_3b wsn430-v1_4 USEMODULE += gnrc_ipv6 USEMODULE += gnrc_sixlowpan diff --git a/tests/gnrc_mac_timeout/Makefile b/tests/gnrc_mac_timeout/Makefile index c8463b3eb4..e81aa6492f 100644 --- a/tests/gnrc_mac_timeout/Makefile +++ b/tests/gnrc_mac_timeout/Makefile @@ -5,7 +5,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ arduino-mega2560 arduino-nano arduino-uno \ chronos i-nucleo-lrwan1 nucleo-f030r8 \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ - nucleo-l053r8 stm32f0discovery waspmote-pro + nucleo-l053r8 stm32f0discovery stm32l0538-disco \ + waspmote-pro USEMODULE += gnrc_mac diff --git a/tests/gnrc_ndp/Makefile b/tests/gnrc_ndp/Makefile index 63ffdd8b8d..b602a57f33 100644 --- a/tests/gnrc_ndp/Makefile +++ b/tests/gnrc_ndp/Makefile @@ -4,8 +4,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ arduino-mega2560 arduino-nano arduino-uno chronos \ i-nucleo-lrwan1 nucleo-f030r8 nucleo-f031k6 \ nucleo-f042k6 nucleo-l031k6 nucleo-l053r8 \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ - wsn430-v1_4 + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro wsn430-v1_3b wsn430-v1_4 USEMODULE += gnrc_ipv6_nib_router USEMODULE += gnrc_ndp diff --git a/tests/gnrc_netif/Makefile b/tests/gnrc_netif/Makefile index 9c8e4f030d..e694885f1f 100644 --- a/tests/gnrc_netif/Makefile +++ b/tests/gnrc_netif/Makefile @@ -12,8 +12,9 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-leonardo \ nucleo-l053r8 nucleo-l073rz nucleo-f031k6 \ nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \ opencm904 saml10-xpro saml11-xpro spark-core \ - stm32f0discovery telosb waspmote-pro \ - wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1 + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro wsn430-v1_3b wsn430-v1_4 \ + yunjia-nrf51822 z1 USEMODULE += embunit USEMODULE += gnrc_netif diff --git a/tests/gnrc_rpl_srh/Makefile b/tests/gnrc_rpl_srh/Makefile index 4d2f5b2e38..32136abd55 100644 --- a/tests/gnrc_rpl_srh/Makefile +++ b/tests/gnrc_rpl_srh/Makefile @@ -9,8 +9,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ nucleo-f042k6 nucleo-f070rb nucleo-f072rb \ nucleo-f303k8 nucleo-f334r8 nucleo-l031k6 \ nucleo-l053r8 saml10-xpro saml11-xpro \ - stm32f0discovery telosb thingy52 waspmote-pro \ - wsn430-v1_3b wsn430-v1_4 z1 + stm32f0discovery stm32l0538-disco telosb thingy52 \ + waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 # chronos, hamilton mips-malta, and ruuvitag boards don't support ethos BOARD_BLACKLIST := chronos hamilton mips-malta ruuvitag diff --git a/tests/gnrc_sixlowpan/Makefile b/tests/gnrc_sixlowpan/Makefile index c783724ad9..72b0b0d50b 100644 --- a/tests/gnrc_sixlowpan/Makefile +++ b/tests/gnrc_sixlowpan/Makefile @@ -8,7 +8,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ nucleo-f070rb nucleo-f070rb nucleo-f072rb \ nucleo-f303k8 nucleo-f334r8 nucleo-l031k6 \ nucleo-l053r8 saml10-xpro saml11-xpro \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 # use IEEE 802.15.4 as link-layer protocol diff --git a/tests/gnrc_sock_dns/Makefile b/tests/gnrc_sock_dns/Makefile index 006ac7dab3..f066426a69 100644 --- a/tests/gnrc_sock_dns/Makefile +++ b/tests/gnrc_sock_dns/Makefile @@ -8,7 +8,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ mega-xplained msb-430 msb-430h \ nucleo-f042k6 nucleo-f031k6 \ nucleo-f030r8 nucleo-f303k8 nucleo-l053r8 \ - nucleo-l031k6 stm32f0discovery thingy52 telosb \ + nucleo-l031k6 stm32f0discovery stm32l0538-disco \ + thingy52 telosb \ waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 # chronos, hamilton mips-malta, and ruuvitag boards don't support ethos BOARD_BLACKLIST := chronos hamilton mips-malta ruuvitag diff --git a/tests/gnrc_tcp_client/Makefile b/tests/gnrc_tcp_client/Makefile index 1c091708af..a536970854 100644 --- a/tests/gnrc_tcp_client/Makefile +++ b/tests/gnrc_tcp_client/Makefile @@ -22,7 +22,8 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove \ nucleo-l031k6 nucleo-f030r8 nucleo-f070rb \ nucleo-f072rb nucleo-f302r8 nucleo-f334r8 \ nucleo-l053r8 saml10-xpro saml11-xpro sb-430 sb-430h \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro wsn430-v1_3b \ wsn430-v1_4 yunjia-nrf51822 z1 # Target Address, Target Port and number of Test Cycles diff --git a/tests/gnrc_tcp_server/Makefile b/tests/gnrc_tcp_server/Makefile index be22cc694a..5de1fad344 100644 --- a/tests/gnrc_tcp_server/Makefile +++ b/tests/gnrc_tcp_server/Makefile @@ -22,7 +22,8 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove \ nucleo-f030r8 nucleo-f070rb nucleo-f072rb \ nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \ saml10-xpro saml11-xpro sb-430 sb-430h \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro wsn430-v1_3b \ wsn430-v1_4 yunjia-nrf51822 z1 # Local Address, Local Port and number of Test Cycles diff --git a/tests/gnrc_udp/Makefile b/tests/gnrc_udp/Makefile index c28e0c2c4d..9e7b94eb5d 100644 --- a/tests/gnrc_udp/Makefile +++ b/tests/gnrc_udp/Makefile @@ -9,7 +9,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ nucleo-l031k6 nucleo-f030r8 nucleo-f070rb \ nucleo-f072rb nucleo-f103rb nucleo-f302r8 \ nucleo-f334r8 nucleo-l053r8 spark-core \ - stm32f0discovery telosb waspmote-pro wsn430-v1_3b \ + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro wsn430-v1_3b \ wsn430-v1_4 z1 USEMODULE += gnrc_netdev_default diff --git a/tests/lwip/Makefile b/tests/lwip/Makefile index ac065b1f37..3f5432488e 100644 --- a/tests/lwip/Makefile +++ b/tests/lwip/Makefile @@ -12,7 +12,7 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon hifive1 i-nucleo-lrwan1 nrf6310 \ nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 nucleo-f303k8 \ nucleo-f334r8 nucleo-l053r8 stm32f0discovery \ - yunjia-nrf51822 + stm32l0538-disco yunjia-nrf51822 # including lwip_ipv6_mld would currently break this test on at86rf2xx radios USEMODULE += lwip lwip_ipv6_autoconfig lwip_sock_ip lwip_netdev diff --git a/tests/lwip_sock_ip/Makefile b/tests/lwip_sock_ip/Makefile index 1ca2544844..0f782a5ff5 100644 --- a/tests/lwip_sock_ip/Makefile +++ b/tests/lwip_sock_ip/Makefile @@ -10,7 +10,8 @@ BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ 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 + nucleo-f334r8 nucleo-l053r8 stm32f0discovery \ + stm32l0538-disco LWIP_IPV4 ?= 0 diff --git a/tests/lwip_sock_tcp/Makefile b/tests/lwip_sock_tcp/Makefile index 73476dc548..04965e1602 100644 --- a/tests/lwip_sock_tcp/Makefile +++ b/tests/lwip_sock_tcp/Makefile @@ -12,7 +12,8 @@ BOARD_INSUFFICIENT_MEMORY = blackpill bluepill i-nucleo-lrwan1 \ nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 nucleo-f302r8 \ nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \ - saml10-xpro saml11-xpro stm32f0discovery + saml10-xpro saml11-xpro stm32f0discovery \ + stm32l0538-disco LWIP_IPV4 ?= 0 diff --git a/tests/lwip_sock_udp/Makefile b/tests/lwip_sock_udp/Makefile index 30915fd596..39921cb743 100644 --- a/tests/lwip_sock_udp/Makefile +++ b/tests/lwip_sock_udp/Makefile @@ -11,7 +11,7 @@ BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ BOARD_INSUFFICIENT_MEMORY = i-nucleo-lrwan1 nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 \ nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \ - stm32f0discovery + stm32f0discovery stm32l0538-disco LWIP_IPV4 ?= 0 diff --git a/tests/mutex_order/Makefile b/tests/mutex_order/Makefile index 0e6b80e074..7c8a3c1abb 100644 --- a/tests/mutex_order/Makefile +++ b/tests/mutex_order/Makefile @@ -3,7 +3,8 @@ include ../Makefile.tests_common BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ arduino-uno i-nucleo-lrwan1 \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ - nucleo-f030r8 nucleo-l053r8 stm32f0discovery + nucleo-f030r8 nucleo-l053r8 stm32f0discovery \ + stm32l0538-disco # list of boards to run CI tests on TEST_ON_CI_WHITELIST += all diff --git a/tests/nanocoap_cli/Makefile b/tests/nanocoap_cli/Makefile index 13be1ab060..08669e2084 100644 --- a/tests/nanocoap_cli/Makefile +++ b/tests/nanocoap_cli/Makefile @@ -6,7 +6,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ msb-430 msb-430h nucleo-f030r8 \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ nucleo-f334r8 nucleo-l031k6 nucleo-l053r8 \ - stm32f0discovery telosb waspmote-pro z1 + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro z1 # Include packages that pull up and auto-init the link layer. # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present diff --git a/tests/nhdp/Makefile b/tests/nhdp/Makefile index 411e7dcd62..7b96a14c9f 100644 --- a/tests/nhdp/Makefile +++ b/tests/nhdp/Makefile @@ -8,7 +8,7 @@ BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 \ nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \ - stm32f0discovery + stm32f0discovery stm32l0538-disco USEMODULE += gnrc_ipv6 USEMODULE += gnrc_sock_udp diff --git a/tests/pkg_fatfs/Makefile b/tests/pkg_fatfs/Makefile index 67464f3bbe..9b56b4e7d9 100644 --- a/tests/pkg_fatfs/Makefile +++ b/tests/pkg_fatfs/Makefile @@ -24,8 +24,8 @@ BOARD_WHITELIST := airfy-beacon arduino-due arduino-duemilanove \ remote-revb samd21-xpro saml21-xpro samr21-xpro \ sensebox_samd21 sltb001a sodaq-autonomo \ sodaq-explorer spark-core stm32f0discovery stm32f3discovery \ - stm32f4discovery telosb udoo waspmote-pro wsn430-v1_3b \ - wsn430-v1_4 yunjia-nrf51822 z1 native + stm32f4discovery stm32l0538-disco telosb udoo waspmote-pro \ + wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1 native USEMODULE += shell USEMODULE += fatfs_diskio_mtd diff --git a/tests/pkg_fatfs_vfs/Makefile b/tests/pkg_fatfs_vfs/Makefile index edbf14bf43..515626c665 100644 --- a/tests/pkg_fatfs_vfs/Makefile +++ b/tests/pkg_fatfs_vfs/Makefile @@ -46,7 +46,8 @@ BOARD_WHITELIST := airfy-beacon arduino-due arduino-duemilanove \ remote-revb samd21-xpro saml21-xpro samr21-xpro \ sensebox_samd21 sltb001a sodaq-autonomo sodaq-explorer \ spark-core stm32f0discovery stm32f3discovery \ - stm32f4discovery udoo waspmote-pro yunjia-nrf51822 native + stm32f4discovery stm32l0538-disco udoo waspmote-pro \ + yunjia-nrf51822 native TEST_DEPS += image diff --git a/tests/pkg_libcoap/Makefile b/tests/pkg_libcoap/Makefile index d7eea20034..ecbb0502b4 100644 --- a/tests/pkg_libcoap/Makefile +++ b/tests/pkg_libcoap/Makefile @@ -9,8 +9,8 @@ BOARD_INSUFFICIENT_MEMORY := chronos i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f031k6 nucleo-f042k6 \ nucleo-l031k6 nucleo-f030r8 nucleo-f070rb \ nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \ - stm32f0discovery telosb wsn430-v1_3b wsn430-v1_4 \ - z1 + stm32f0discovery stm32l0538-disco telosb wsn430-v1_3b \ + wsn430-v1_4 z1 USEMODULE += gnrc_ipv6 USEMODULE += gnrc_sock_udp diff --git a/tests/pkg_libcose/Makefile b/tests/pkg_libcose/Makefile index 44f35fc683..a966217159 100644 --- a/tests/pkg_libcose/Makefile +++ b/tests/pkg_libcose/Makefile @@ -9,7 +9,8 @@ BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo \ BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 \ nucleo-f030r8 nucleo-f031k6 nucleo-f042k6 \ - nucleo-l031k6 nucleo-l053r8 stm32f0discovery + nucleo-l031k6 nucleo-l053r8 stm32f0discovery \ + stm32l0538-disco TEST_ON_CI_WHITELIST += native diff --git a/tests/pkg_littlefs/Makefile b/tests/pkg_littlefs/Makefile index 59c55aaf8a..a016f039fb 100644 --- a/tests/pkg_littlefs/Makefile +++ b/tests/pkg_littlefs/Makefile @@ -11,6 +11,7 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove \ nucleo-l053r8 \ nucleo-f030r8 \ stm32f0discovery \ + stm32l0538-disco \ BOARD_BLACKLIST := chronos \ msb-430 \ diff --git a/tests/pkg_microcoap/Makefile b/tests/pkg_microcoap/Makefile index 03d01d000e..358bbad5b3 100644 --- a/tests/pkg_microcoap/Makefile +++ b/tests/pkg_microcoap/Makefile @@ -5,7 +5,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f031k6 nucleo-f042k6 nucleo-f303k8 \ nucleo-l031k6 nucleo-f030r8 nucleo-l053r8 \ - stm32f0discovery telosb waspmote-pro z1 + stm32f0discovery stm32l0538-disco telosb \ + waspmote-pro z1 # Include packages that pull up and auto-init the link layer. # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present diff --git a/tests/pkg_relic/Makefile b/tests/pkg_relic/Makefile index 5607c4bcc6..8f4c0940a1 100644 --- a/tests/pkg_relic/Makefile +++ b/tests/pkg_relic/Makefile @@ -30,6 +30,7 @@ BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 \ nucleo-f042k6 \ nucleo-l031k6 \ nucleo-l053r8 \ + stm32l0538-disco \ # CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(5*THREAD_STACKSIZE_DEFAULT\) diff --git a/tests/pkg_spiffs/Makefile b/tests/pkg_spiffs/Makefile index 78b8cb02ca..19c77d9291 100644 --- a/tests/pkg_spiffs/Makefile +++ b/tests/pkg_spiffs/Makefile @@ -11,6 +11,7 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove \ nucleo-l053r8 \ nucleo-f030r8 \ stm32f0discovery \ + stm32l0538-disco \ BOARD_BLACKLIST := chronos \ msb-430 \ diff --git a/tests/posix_semaphore/Makefile b/tests/posix_semaphore/Makefile index 7088a74267..42ae6886c0 100644 --- a/tests/posix_semaphore/Makefile +++ b/tests/posix_semaphore/Makefile @@ -6,7 +6,7 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ nucleo-f030r8 nucleo-f303k8 nucleo-f334r8 \ nucleo-l053r8 spark-core stm32f0discovery \ - yunjia-nrf51822 + stm32l0538-disco yunjia-nrf51822 USEMODULE += fmt USEMODULE += posix_semaphore diff --git a/tests/ps_schedstatistics/Makefile b/tests/ps_schedstatistics/Makefile index 54b24afe84..198289a6e5 100644 --- a/tests/ps_schedstatistics/Makefile +++ b/tests/ps_schedstatistics/Makefile @@ -4,8 +4,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ arduino-uno chronos i-nucleo-lrwan1 \ msb-430 msb-430h nucleo-f030r8 \ nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \ - nucleo-l031k6 stm32f0discovery telosb \ - wsn430-v1_3b wsn430-v1_4 z1 + nucleo-l031k6 stm32f0discovery stm32l0538-disco \ + telosb wsn430-v1_3b wsn430-v1_4 z1 USEMODULE += shell USEMODULE += shell_commands diff --git a/tests/pthread_barrier/Makefile b/tests/pthread_barrier/Makefile index bd88921e0f..62c5444bf6 100644 --- a/tests/pthread_barrier/Makefile +++ b/tests/pthread_barrier/Makefile @@ -2,7 +2,7 @@ include ../Makefile.tests_common BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ arduino-nano arduino-uno i-nucleo-lrwan1 jiminy-mega256rfr2 \ - mega-xplained waspmote-pro + mega-xplained stm32l0538-disco waspmote-pro # AVR platform: unknown type name: clockid_t # exclude boards with insufficient memory diff --git a/tests/pthread_cooperation/Makefile b/tests/pthread_cooperation/Makefile index 6ced910a9d..7a2f8052bd 100644 --- a/tests/pthread_cooperation/Makefile +++ b/tests/pthread_cooperation/Makefile @@ -2,7 +2,7 @@ include ../Makefile.tests_common BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ arduino-nano arduino-uno hifive1 i-nucleo-lrwan1 \ - jiminy-mega256rfr2 mega-xplained waspmote-pro + jiminy-mega256rfr2 mega-xplained stm32l0538-disco waspmote-pro # AVR platform: unknown type name: clockid_t # hifive1: not enough memory for thread stacks diff --git a/tests/pthread_rwlock/Makefile b/tests/pthread_rwlock/Makefile index 43d646d2ba..11b98f476f 100644 --- a/tests/pthread_rwlock/Makefile +++ b/tests/pthread_rwlock/Makefile @@ -15,6 +15,6 @@ BOARD_INSUFFICIENT_MEMORY += chronos i-nucleo-lrwan1 \ msb-430 msb-430h nucleo-f031k6 \ nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \ nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \ - stm32f0discovery + stm32f0discovery stm32l0538-disco include $(RIOTBASE)/Makefile.include diff --git a/tests/rmutex/Makefile b/tests/rmutex/Makefile index 6ecc02eb99..d0f315d501 100644 --- a/tests/rmutex/Makefile +++ b/tests/rmutex/Makefile @@ -3,7 +3,8 @@ include ../Makefile.tests_common BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ arduino-uno i-nucleo-lrwan1 \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ - nucleo-f030r8 nucleo-l053r8 stm32f0discovery + nucleo-f030r8 nucleo-l053r8 stm32f0discovery \ + stm32l0538-disco TEST_ON_CI_WHITELIST += all diff --git a/tests/slip/Makefile b/tests/slip/Makefile index ee95f64f4d..aeab6757a7 100644 --- a/tests/slip/Makefile +++ b/tests/slip/Makefile @@ -6,7 +6,7 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ msb-430 msb-430h nucleo-f031k6 \ nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \ nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \ - stm32f0discovery waspmote-pro + stm32f0discovery stm32l0538-disco waspmote-pro BOARD_BLACKLIST += mips-malta diff --git a/tests/sntp/Makefile b/tests/sntp/Makefile index 0ba94e28c9..99033a20c5 100644 --- a/tests/sntp/Makefile +++ b/tests/sntp/Makefile @@ -5,8 +5,8 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo \ chronos i-nucleo-lrwan1 msb-430 msb-430h \ nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \ nucleo-f030r8 nucleo-f303k8 nucleo-f334r8 \ - nucleo-l053r8 stm32f0discovery telosb \ - waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 + nucleo-l053r8 stm32f0discovery stm32l0538-disco \ + telosb waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 USEMODULE += sntp USEMODULE += gnrc_sock_udp diff --git a/tests/thread_cooperation/Makefile b/tests/thread_cooperation/Makefile index 9e50f1dbb7..061015cf34 100644 --- a/tests/thread_cooperation/Makefile +++ b/tests/thread_cooperation/Makefile @@ -2,14 +2,14 @@ include ../Makefile.tests_common BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \ arduino-uno chronos i-nucleo-lrwan1 msb-430 \ - msb-430h nucleo-f031k6 nucleo-f303k8 + msb-430h nucleo-f031k6 nucleo-f303k8 stm32l0538-disco DISABLE_MODULE += auto_init ifneq (,$(filter nucleo-f042k6,$(BOARD))) PROBLEM ?= 3 endif -ifneq (,$(filter nucleo-f030r8 nucleo-l031k6 nucleo-l053r8 stm32f0discovery,$(BOARD))) +ifneq (,$(filter nucleo-f030r8 nucleo-l031k6 nucleo-l053r8 stm32f0discovery stm32l0538-disco,$(BOARD))) PROBLEM ?= 5 endif ifneq (,$(filter nucleo-f334r8,$(BOARD))) diff --git a/tests/unittests/Makefile b/tests/unittests/Makefile index ab820930e2..6442020732 100644 --- a/tests/unittests/Makefile +++ b/tests/unittests/Makefile @@ -70,6 +70,7 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon \ stk3600 \ stm32f0discovery \ stm32f3discovery \ + stm32l0538-disco \ teensy31 \ telosb \ waspmote-pro \ @@ -189,6 +190,7 @@ ARM_CORTEX_M_BOARDS := airfy-beacon \ stm32f3discovery \ stm32f4discovery \ stm32f769i-disco \ + stm32l0538-disco \ udoo \ usb-kw41z \ yunjia-nrf51822 \