From 7c85f4b2f5bea25a3c34a8f81ef6590639629434 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 28 May 2020 10:16:19 -0400 Subject: [PATCH] samples: remove board_shell This sample is not working on all boards anymore. Adding every single shell we have to the prj.conf does not work on every board, due to missing features. Instead, we now change how shell modules are enabled and make it possible to enable shell command and modules for any application when CONFIG_SHELL is enabled. Signed-off-by: Anas Nashif --- tests/boards/board_shell/CMakeLists.txt | 8 ------- tests/boards/board_shell/prj.conf | 31 ------------------------- tests/boards/board_shell/src/main.c | 20 ---------------- tests/boards/board_shell/testcase.yaml | 5 ---- 4 files changed, 64 deletions(-) delete mode 100644 tests/boards/board_shell/CMakeLists.txt delete mode 100644 tests/boards/board_shell/prj.conf delete mode 100644 tests/boards/board_shell/src/main.c delete mode 100644 tests/boards/board_shell/testcase.yaml diff --git a/tests/boards/board_shell/CMakeLists.txt b/tests/boards/board_shell/CMakeLists.txt deleted file mode 100644 index bd739fc2c4d..00000000000 --- a/tests/boards/board_shell/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -cmake_minimum_required(VERSION 3.13.1) -find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) -project(board_shell) - -FILE(GLOB app_sources src/*.c) -target_sources(app PRIVATE ${app_sources}) diff --git a/tests/boards/board_shell/prj.conf b/tests/boards/board_shell/prj.conf deleted file mode 100644 index 6638adc5c7d..00000000000 --- a/tests/boards/board_shell/prj.conf +++ /dev/null @@ -1,31 +0,0 @@ -CONFIG_SHELL=y -CONFIG_LOG=y -CONFIG_LOG_BACKEND_UART=n -CONFIG_KERNEL_SHELL=y -CONFIG_THREAD_MONITOR=y -CONFIG_INIT_STACKS=y -CONFIG_BOOT_BANNER=n -CONFIG_THREAD_NAME=y -CONFIG_DEVICE_SHELL=y -CONFIG_TEST_SHELL=y -CONFIG_HWINFO=y -CONFIG_HWINFO_SHELL=y -CONFIG_GPIO_SHELL=y -CONFIG_GPIO=y -CONFIG_FLASH=y -CONFIG_FLASH_SHELL=y -CONFIG_FLASH_PAGE_LAYOUT=y -CONFIG_FLASH_MAP=y -CONFIG_FLASH_MAP_SHELL=y -CONFIG_ADC=y -CONFIG_ADC_SHELL=y -CONFIG_CAN=y -CONFIG_CAN_SHELL=y -CONFIG_PWM=y -CONFIG_PWM_SHELL=y -CONFIG_EEPROM=y -CONFIG_EEPROM_SHELL=y -CONFIG_SENSOR=y -CONFIG_SENSOR_SHELL=y -CONFIG_DAC=y -CONFIG_DAC_SHELL=y diff --git a/tests/boards/board_shell/src/main.c b/tests/boards/board_shell/src/main.c deleted file mode 100644 index c97275ef434..00000000000 --- a/tests/boards/board_shell/src/main.c +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (c) 2018 Intel Corporation - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include -#include -#include - -LOG_MODULE_REGISTER(app); - -void main(void) -{ - -} diff --git a/tests/boards/board_shell/testcase.yaml b/tests/boards/board_shell/testcase.yaml deleted file mode 100644 index 7b2365baae6..00000000000 --- a/tests/boards/board_shell/testcase.yaml +++ /dev/null @@ -1,5 +0,0 @@ -tests: - boards.shell.shell: - tags: shell - harness: keyboard - platform_whitelist: nrf52840dk_nrf52840 frdm_k64f