From 04b9b8f6dba6ef7005c909e4622362a9a81c7d4d Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Fri, 26 Mar 2021 15:10:21 +0100 Subject: [PATCH] esp32-devkitc: Make nsh the entry-point of the ostest config. This makes it consistent with other configs and helps with scripting. Signed-off-by: Abdelatif Guettouche --- .../esp32/esp32-devkitc/configs/ostest/defconfig | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/ostest/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/ostest/defconfig index 57da9de7e9..a1f967043e 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/ostest/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/ostest/defconfig @@ -6,6 +6,9 @@ # modifications. # # CONFIG_ARCH_LEDS is not set +# CONFIG_NSH_ARGCAT is not set +# CONFIG_NSH_CMDOPT_HEXDUMP is not set +# CONFIG_NSH_CMDPARMS is not set CONFIG_ARCH="xtensa" CONFIG_ARCH_BOARD="esp32-devkitc" CONFIG_ARCH_BOARD_ESP32_DEVKITC=y @@ -22,9 +25,13 @@ CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_IDLETHREAD_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y -CONFIG_LIB_BOARDCTL=y CONFIG_MAX_TASKS=16 CONFIG_MM_REGIONS=3 +CONFIG_NSH_ARCHINIT=y +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_LINELEN=64 +CONFIG_NSH_READLINE=y CONFIG_PREALLOC_TIMERS=4 CONFIG_RAM_SIZE=114688 CONFIG_RAM_START=0x20000000 @@ -36,9 +43,7 @@ CONFIG_SPI=y CONFIG_START_DAY=6 CONFIG_START_MONTH=12 CONFIG_START_YEAR=2011 -CONFIG_SYSTEM_READLINE=y +CONFIG_SYSTEM_NSH=y CONFIG_TESTING_OSTEST=y -CONFIG_TESTING_OSTEST_LOOPS=10 -CONFIG_TESTING_OSTEST_STACKSIZE=6114 CONFIG_UART0_SERIAL_CONSOLE=y -CONFIG_USER_ENTRYPOINT="ostest_main" +CONFIG_USER_ENTRYPOINT="nsh_main"