You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/12/29 09:52:25 UTC

[incubator-nuttx] 05/09: Fix BL602 CI Build failed. Modify the default configuration in KConfig. Sync latest commit from mainline.

This is an automated email from the ASF dual-hosted git repository.

btashton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 2b8e0945a983f7d3b48d09c910841ee1d460ea86
Author: Virus.V <vi...@live.com>
AuthorDate: Sun Dec 20 00:29:35 2020 +0800

    Fix BL602 CI Build failed.
    Modify the default configuration in KConfig.
    Sync latest commit from mainline.
    
    Remove unused demo configuration
    
    fixup bl602 nsh defconfig cause CICD failed
    
    Rebase from mainline code
---
 arch/risc-v/include/csr.h                          |    1 +
 arch/risc-v/src/bl602/Kconfig                      |   16 +-
 arch/risc-v/src/bl602/Make.defs                    |    2 +-
 arch/risc-v/src/bl602/bl602_entry.S                |    2 +-
 arch/risc-v/src/bl602/bl602_schedulesigaction.c    |  196 ---
 .../risc-v/bl602/bl602evb/configs/demo/defconfig   | 1242 --------------------
 boards/risc-v/bl602/bl602evb/configs/nsh/defconfig |    9 +-
 7 files changed, 15 insertions(+), 1453 deletions(-)

diff --git a/arch/risc-v/include/csr.h b/arch/risc-v/include/csr.h
index 7d13db9..d4701ac 100644
--- a/arch/risc-v/include/csr.h
+++ b/arch/risc-v/include/csr.h
@@ -314,6 +314,7 @@
 #define MSTATUS_MIE   (0x1 << 3)  /* Machine Interrupt Enable */
 #define MSTATUS_MPIE  (0x1 << 7)  /* Machine Previous Interrupt Enable */
 #define MSTATUS_MPPM  (0x3 << 11) /* Machine Previous Privilege (m-mode) */
+#define MSTATUS_FS    (0x3 << 13) /* Machine Floating-point Status */
 
 /* In mie (machine interrupt enable) register */
 
diff --git a/arch/risc-v/src/bl602/Kconfig b/arch/risc-v/src/bl602/Kconfig
index 0d2e9f8..ea59f21 100644
--- a/arch/risc-v/src/bl602/Kconfig
+++ b/arch/risc-v/src/bl602/Kconfig
@@ -8,13 +8,15 @@ comment "BL602 Configuration Options"
 menu "BL602 Peripheral Support"
 
 config BL602_HAVE_UART0
-	bool
+	bool "UART0"
+	select BL602_UART0
+	select ARCH_HAVE_UART0
 	select UART0_SERIALDRIVER
 	select ARCH_HAVE_SERIAL_TERMIOS
 
 config BL602_UART0
-	bool "UART0"
-	select ARCH_HAVE_UART0
+	bool
+	default n
 
 config BL602_UART0_TX_PIN
 	int "UART0 tx pin num"
@@ -37,13 +39,15 @@ config BL602_UART0_CTS_PIN
 	depends on BL602_UART0
 
 config BL602_HAVE_UART1
-	bool
+	bool "UART1"
+	select BL602_UART1
+	select ARCH_HAVE_UART1
 	select UART1_SERIALDRIVER
 	select ARCH_HAVE_SERIAL_TERMIOS 
 
 config BL602_UART1
-	bool "UART1"
-	select ARCH_HAVE_UART1
+	bool
+	default n
 	
 config BL602_UART1_TX_PIN
     int "UART1 tx pin num"
diff --git a/arch/risc-v/src/bl602/Make.defs b/arch/risc-v/src/bl602/Make.defs
index 37d272b..f172c49 100644
--- a/arch/risc-v/src/bl602/Make.defs
+++ b/arch/risc-v/src/bl602/Make.defs
@@ -31,7 +31,7 @@ CMN_CSRCS  += riscv_createstack.c riscv_exit.c
 CMN_CSRCS  += riscv_assert.c riscv_blocktask.c riscv_copystate.c riscv_initialstate.c
 CMN_CSRCS  += riscv_interruptcontext.c riscv_modifyreg32.c riscv_puts.c riscv_mdelay.c
 CMN_CSRCS  += riscv_releasepending.c riscv_reprioritizertr.c
-CMN_CSRCS  += riscv_releasestack.c riscv_stackframe.c bl602_schedulesigaction.c
+CMN_CSRCS  += riscv_releasestack.c riscv_stackframe.c riscv_schedulesigaction.c
 CMN_CSRCS  += riscv_sigdeliver.c riscv_udelay.c riscv_unblocktask.c riscv_usestack.c
 
 
diff --git a/arch/risc-v/src/bl602/bl602_entry.S b/arch/risc-v/src/bl602/bl602_entry.S
index 00dadd1..6c0a659 100644
--- a/arch/risc-v/src/bl602/bl602_entry.S
+++ b/arch/risc-v/src/bl602/bl602_entry.S
@@ -22,7 +22,7 @@
  * Included Files
  ****************************************************************************/
 
-#include <arch/rv32im/irq.h>
+#include <arch/csr.h>
 
 	.section .init
 	.globl bl602_start
diff --git a/arch/risc-v/src/bl602/bl602_schedulesigaction.c b/arch/risc-v/src/bl602/bl602_schedulesigaction.c
deleted file mode 100644
index 041f8e5..0000000
--- a/arch/risc-v/src/bl602/bl602_schedulesigaction.c
+++ /dev/null
@@ -1,196 +0,0 @@
-/****************************************************************************
- * arch/risc-v/src/bl602/bl602_schedulesigaction.c
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.  The
- * ASF licenses this file to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the
- * License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
- * License for the specific language governing permissions and limitations
- * under the License.
- *
- ****************************************************************************/
-
-/****************************************************************************
- * Included Files
- ****************************************************************************/
-
-#include <nuttx/config.h>
-
-#include <stdint.h>
-#include <sched.h>
-#include <debug.h>
-
-#include <nuttx/irq.h>
-#include <nuttx/arch.h>
-#include <arch/bl602/irq.h>
-
-#include "sched/sched.h"
-#include "riscv_internal.h"
-#include "riscv_arch.h"
-
-/****************************************************************************
- * Public Functions
- ****************************************************************************/
-
-/****************************************************************************
- * Name: up_schedule_sigaction
- *
- * Description:
- *   This function is called by the OS when one or more
- *   signal handling actions have been queued for execution.
- *   The architecture specific code must configure things so
- *   that the 'igdeliver' callback is executed on the thread
- *   specified by 'tcb' as soon as possible.
- *
- *   This function may be called from interrupt handling logic.
- *
- *   This operation should not cause the task to be unblocked
- *   nor should it cause any immediate execution of sigdeliver.
- *   Typically, a few cases need to be considered:
- *
- *   (1) This function may be called from an interrupt handler
- *       During interrupt processing, all xcptcontext structures
- *       should be valid for all tasks.  That structure should
- *       be modified to invoke sigdeliver() either on return
- *       from (this) interrupt or on some subsequent context
- *       switch to the recipient task.
- *   (2) If not in an interrupt handler and the tcb is NOT
- *       the currently executing task, then again just modify
- *       the saved xcptcontext structure for the recipient
- *       task so it will invoke sigdeliver when that task is
- *       later resumed.
- *   (3) If not in an interrupt handler and the tcb IS the
- *       currently executing task -- just call the signal
- *       handler now.
- *
- ****************************************************************************/
-
-void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver)
-{
-  irqstate_t flags;
-  uint32_t   int_ctx;
-
-  sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver);
-
-  /* Make sure that interrupts are disabled */
-
-  flags = enter_critical_section();
-
-  /* Refuse to handle nested signal actions */
-
-  if (!tcb->xcp.sigdeliver)
-    {
-      /* First, handle some special cases when the signal is
-       * being delivered to the currently executing task.
-       */
-
-      sinfo("rtcb=0x%p g_current_regs=0x%p\n", this_task(), g_current_regs);
-
-      if (tcb == this_task())
-        {
-          /* CASE 1:  We are not in an interrupt handler and
-           * a task is signalling itself for some reason.
-           */
-
-          if (!g_current_regs)
-            {
-              /* In this case just deliver the signal now. */
-
-              sigdeliver(tcb);
-            }
-
-          /* CASE 2:  We are in an interrupt handler AND the
-           * interrupted task is the same as the one that
-           * must receive the signal, then we will have to modify
-           * the return state as well as the state in the TCB.
-           *
-           * Hmmm... there looks like a latent bug here: The following
-           * logic would fail in the strange case where we are in an
-           * interrupt handler, the thread is signalling itself, but
-           * a context switch to another task has occurred so that
-           * g_current_regs does not refer to the thread of this_task()!
-           */
-
-          else
-            {
-              /* Save the return EPC and STATUS registers.  These will be
-               * restored by the signal trampoline after the signals have
-               * been delivered.
-               */
-
-              tcb->xcp.sigdeliver    = sigdeliver;
-              tcb->xcp.saved_epc     = g_current_regs[REG_EPC];
-              tcb->xcp.saved_int_ctx = g_current_regs[REG_INT_CTX];
-
-              /* Then set up to vector to the trampoline with interrupts
-               * disabled
-               */
-
-              g_current_regs[REG_EPC] = (uint32_t)up_sigdeliver;
-
-              int_ctx = g_current_regs[REG_INT_CTX];
-              int_ctx &= ~MSTATUS_MIE;
-
-              g_current_regs[REG_INT_CTX] = int_ctx;
-
-              /* And make sure that the saved context in the TCB
-               * is the same as the interrupt return context.
-               */
-
-              up_savestate(tcb->xcp.regs);
-
-              sinfo("PC/STATUS Saved: %08lx/%08lx New: %08lx/%08lx\n",
-                    tcb->xcp.saved_epc,
-                    tcb->xcp.saved_int_ctx,
-                    g_current_regs[REG_EPC],
-                    g_current_regs[REG_INT_CTX]);
-            }
-        }
-
-      /* Otherwise, we are (1) signaling a task is not running
-       * from an interrupt handler or (2) we are not in an
-       * interrupt handler and the running task is signalling
-       * some non-running task.
-       */
-
-      else
-        {
-          /* Save the return EPC and STATUS registers.  These will be
-           * restored by the signal trampoline after the signals have
-           * been delivered.
-           */
-
-          tcb->xcp.sigdeliver    = sigdeliver;
-          tcb->xcp.saved_epc     = tcb->xcp.regs[REG_EPC];
-          tcb->xcp.saved_int_ctx = tcb->xcp.regs[REG_INT_CTX];
-
-          /* Then set up to vector to the trampoline with interrupts
-           * disabled
-           */
-
-          tcb->xcp.regs[REG_EPC] = (uint32_t)up_sigdeliver;
-
-          int_ctx = tcb->xcp.regs[REG_INT_CTX];
-          int_ctx &= ~MSTATUS_MIE;
-
-          tcb->xcp.regs[REG_INT_CTX] = int_ctx;
-
-          sinfo("PC/STATUS Saved: %08lx/%08lx New: %08lx/%08lx\n",
-                tcb->xcp.saved_epc,
-                tcb->xcp.saved_int_ctx,
-                tcb->xcp.regs[REG_EPC],
-                tcb->xcp.regs[REG_INT_CTX]);
-        }
-    }
-
-  leave_critical_section(flags);
-}
-
diff --git a/boards/risc-v/bl602/bl602evb/configs/demo/defconfig b/boards/risc-v/bl602/bl602evb/configs/demo/defconfig
deleted file mode 100644
index ab8ef23..0000000
--- a/boards/risc-v/bl602/bl602evb/configs/demo/defconfig
+++ /dev/null
@@ -1,1242 +0,0 @@
-#
-# Automatically generated file; DO NOT EDIT.
-# NuttX/x86_64 Configuration
-#
-
-#
-# Build Setup
-#
-# CONFIG_EXPERIMENTAL is not set
-CONFIG_DEFAULT_SMALL=y
-CONFIG_DEFAULT_TASK_STACKSIZE=2048
-CONFIG_HOST_LINUX=y
-# CONFIG_HOST_MACOS is not set
-# CONFIG_HOST_WINDOWS is not set
-# CONFIG_HOST_OTHER is not set
-
-#
-# Build Configuration
-#
-CONFIG_APPS_DIR="../apps"
-CONFIG_BUILD_FLAT=y
-# CONFIG_BUILD_2PASS is not set
-
-#
-# Binary Output Formats
-#
-CONFIG_INTELHEX_BINARY=y
-# CONFIG_MOTOROLA_SREC is not set
-CONFIG_RAW_BINARY=y
-# CONFIG_UBOOT_UIMAGE is not set
-# CONFIG_DFU_BINARY is not set
-
-#
-# Customize Header Files
-#
-# CONFIG_ARCH_HAVE_STDINT_H is not set
-# CONFIG_ARCH_HAVE_STDBOOL_H is not set
-# CONFIG_ARCH_HAVE_MATH_H is not set
-# CONFIG_ARCH_FLOAT_H is not set
-CONFIG_ARCH_HAVE_STDARG_H=y
-# CONFIG_ARCH_STDARG_H is not set
-CONFIG_ARCH_HAVE_SETJMP=y
-# CONFIG_ARCH_SETJMP_H is not set
-CONFIG_ARCH_NONE_DEBUG_H=y
-# CONFIG_ARCH_DEBUG_H is not set
-# CONFIG_ARCH_CHIP_DEBUG_H is not set
-
-#
-# Debug Options
-#
-CONFIG_DEBUG_ALERT=y
-CONFIG_DEBUG_FEATURES=y
-
-#
-# Debug SYSLOG Output Controls
-#
-# CONFIG_DEBUG_ERROR is not set
-# CONFIG_DEBUG_ASSERTIONS is not set
-
-#
-# Subsystem Debug Options
-#
-# CONFIG_DEBUG_FS is not set
-# CONFIG_DEBUG_GRAPHICS is not set
-# CONFIG_DEBUG_LIB is not set
-# CONFIG_DEBUG_MM is not set
-# CONFIG_DEBUG_POWER is not set
-# CONFIG_DEBUG_SCHED is not set
-
-#
-# OS Function Debug Options
-#
-# CONFIG_DEBUG_IRQ is not set
-
-#
-# Driver Debug Options
-#
-# CONFIG_DEBUG_INPUT is not set
-# CONFIG_DEBUG_GPIO is not set
-# CONFIG_DEBUG_PWM is not set
-# CONFIG_DEBUG_TIMER is not set
-CONFIG_ARCH_HAVE_STACKCHECK=y
-CONFIG_STACK_COLORATION=y
-# CONFIG_STACK_CANARIES is not set
-# CONFIG_ARCH_HAVE_HEAPCHECK is not set
-CONFIG_DEBUG_SYMBOLS=y
-CONFIG_ARCH_HAVE_CUSTOMOPT=y
-# CONFIG_DEBUG_NOOPT is not set
-# CONFIG_DEBUG_CUSTOMOPT is not set
-CONFIG_DEBUG_FULLOPT=y
-
-#
-# System Type
-#
-# CONFIG_ARCH_ARM is not set
-# CONFIG_ARCH_AVR is not set
-# CONFIG_ARCH_HC is not set
-# CONFIG_ARCH_MIPS is not set
-# CONFIG_ARCH_MISOC is not set
-# CONFIG_ARCH_RENESAS is not set
-CONFIG_ARCH_RISCV=y
-# CONFIG_ARCH_SIM is not set
-# CONFIG_ARCH_X86 is not set
-# CONFIG_ARCH_X86_64 is not set
-# CONFIG_ARCH_XTENSA is not set
-# CONFIG_ARCH_Z16 is not set
-# CONFIG_ARCH_Z80 is not set
-# CONFIG_ARCH_OR1K is not set
-CONFIG_ARCH="risc-v"
-CONFIG_ARCH_FAMILY="rv32im"
-CONFIG_ARCH_CHIP="bl602"
-
-#
-# RISC-V Options
-#
-# CONFIG_ARCH_CHIP_FE310 is not set
-# CONFIG_ARCH_CHIP_K210 is not set
-# CONFIG_ARCH_CHIP_LITEX is not set
-# CONFIG_ARCH_CHIP_NR5 is not set
-# CONFIG_ARCH_CHIP_GAP8 is not set
-CONFIG_ARCH_CHIP_BL602=y
-# CONFIG_ARCH_CHIP_RISCV_CUSTOM is not set
-# CONFIG_ARCH_RV32I is not set
-CONFIG_ARCH_RV32IM=y
-# CONFIG_ARCH_RV64GC is not set
-
-#
-# RV32IM Configuration Options
-#
-CONFIG_RV32IM_TOOLCHAIN_GNU_RVGL=y
-# CONFIG_RI5CY_GAP8_TOOLCHAIN is not set
-# CONFIG_RV32IM_HW_MULDIV is not set
-# CONFIG_RV32IM_SYSTEM_CSRRS_SUPPORT is not set
-CONFIG_RV32IM_CUSTOM_IRQ_SUPPORT=y
-
-#
-# BL602 Configuration Options
-#
-
-#
-# BL602 Peripheral Support
-#
-CONFIG_BL602_HAVE_UART0=y
-CONFIG_BL602_UART0=y
-CONFIG_BL602_UART0_TX_PIN=16
-CONFIG_BL602_UART0_RX_PIN=7
-CONFIG_BL602_UART0_RTS_PIN=-1
-CONFIG_BL602_UART0_CTS_PIN=-1
-CONFIG_BL602_HAVE_UART1=y
-CONFIG_BL602_UART1=y
-CONFIG_BL602_UART1_TX_PIN=4
-CONFIG_BL602_UART1_RX_PIN=1
-CONFIG_BL602_UART1_RTS_PIN=-2
-CONFIG_BL602_UART1_CTS_PIN=-1
-CONFIG_BL602_TIMER0=y
-# CONFIG_BL602_TIMER1 is not set
-CONFIG_ARCH_BOARD="bl602evb"
-# CONFIG_ARCH_CHIP_CUSTOM is not set
-# CONFIG_ARCH_TOOLCHAIN_IAR is not set
-CONFIG_ARCH_TOOLCHAIN_GNU=y
-# CONFIG_ARCH_GNU_NO_WEAKFUNCTIONS is not set
-# CONFIG_ARCH_SIZET_LONG is not set
-
-#
-# Architecture Options
-#
-# CONFIG_ARCH_NOINTC is not set
-# CONFIG_ARCH_VECNOTIRQ is not set
-# CONFIG_ARCH_HAVE_IRQTRIGGER is not set
-# CONFIG_ARCH_DMA is not set
-# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_ARCH_ICACHE is not set
-# CONFIG_ARCH_DCACHE is not set
-# CONFIG_ARCH_L2CACHE is not set
-# CONFIG_ARCH_HAVE_ADDRENV is not set
-# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
-# CONFIG_ARCH_HAVE_MODULE_TEXT is not set
-# CONFIG_ARCH_HAVE_MULTICPU is not set
-# CONFIG_ARCH_HAVE_VFORK is not set
-# CONFIG_ARCH_HAVE_FPU is not set
-# CONFIG_ARCH_HAVE_DPFPU is not set
-# CONFIG_ARCH_HAVE_MMU is not set
-# CONFIG_ARCH_HAVE_MPU is not set
-# CONFIG_ARCH_NAND_HWECC is not set
-# CONFIG_ARCH_HAVE_EXTCLK is not set
-# CONFIG_ARCH_HAVE_POWEROFF is not set
-# CONFIG_ARCH_HAVE_PROGMEM is not set
-# CONFIG_ARCH_HAVE_RESET is not set
-# CONFIG_ARCH_HAVE_TESTSET is not set
-# CONFIG_ARCH_HAVE_FETCHADD is not set
-# CONFIG_ARCH_HAVE_RTC_SUBSECONDS is not set
-CONFIG_ARCH_HAVE_SYSCALL_HOOKS=y
-CONFIG_ARCH_STACKDUMP=y
-# CONFIG_ARCH_IDLE_CUSTOM is not set
-# CONFIG_ARCH_HAVE_RAMFUNCS is not set
-# CONFIG_ARCH_HAVE_RAMVECTORS is not set
-# CONFIG_ARCH_MINIMAL_VECTORTABLE is not set
-
-#
-# Board Settings
-#
-CONFIG_BOARD_LOOPSPERMSEC=10000
-
-#
-# Interrupt options
-#
-CONFIG_ARCH_HAVE_INTERRUPTSTACK=y
-CONFIG_ARCH_INTERRUPTSTACK=8192
-# CONFIG_ARCH_HAVE_HIPRI_INTERRUPT is not set
-
-#
-# Boot options
-#
-# CONFIG_BOOT_RUNFROMEXTSRAM is not set
-CONFIG_BOOT_RUNFROMFLASH=y
-# CONFIG_BOOT_RUNFROMISRAM is not set
-# CONFIG_BOOT_RUNFROMSDRAM is not set
-# CONFIG_BOOT_COPYTORAM is not set
-
-#
-# Boot Memory Configuration
-#
-CONFIG_RAM_START=0xc0800000
-CONFIG_RAM_SIZE=134217728
-# CONFIG_ARCH_HAVE_SDRAM is not set
-
-#
-# Board Selection
-#
-CONFIG_ARCH_BOARD_BL602EVB=y
-# CONFIG_ARCH_BOARD_CUSTOM is not set
-
-#
-# Common Board Options
-#
-
-#
-# Board-Specific Options
-#
-# CONFIG_BOARD_CRASHDUMP is not set
-CONFIG_LIB_BOARDCTL=y
-# CONFIG_BOARDCTL_FINALINIT is not set
-# CONFIG_BOARDCTL_UNIQUEID is not set
-# CONFIG_BOARDCTL_MKRD is not set
-# CONFIG_BOARDCTL_ROMDISK is not set
-# CONFIG_BOARDCTL_APP_SYMTAB is not set
-# CONFIG_BOARDCTL_TESTSET is not set
-# CONFIG_BOARDCTL_IOCTL is not set
-
-#
-# RTOS Features
-#
-CONFIG_DISABLE_OS_API=y
-CONFIG_DISABLE_POSIX_TIMERS=y
-# CONFIG_DISABLE_PTHREAD is not set
-CONFIG_DISABLE_MQUEUE=y
-CONFIG_DISABLE_ENVIRON=y
-
-#
-# Clocks and Timers
-#
-CONFIG_ARCH_HAVE_TICKLESS=y
-# CONFIG_SCHED_TICKLESS is not set
-CONFIG_USEC_PER_TICK=10000
-# CONFIG_SYSTEMTICK_HOOK is not set
-# CONFIG_SYSTEM_TIME64 is not set
-# CONFIG_CLOCK_MONOTONIC is not set
-CONFIG_ARCH_HAVE_TIMEKEEPING=y
-# CONFIG_JULIAN_TIME is not set
-CONFIG_START_YEAR=2020
-CONFIG_START_MONTH=3
-CONFIG_START_DAY=20
-CONFIG_PREALLOC_TIMERS=0
-
-#
-# Tasks and Scheduling
-#
-# CONFIG_SPINLOCK_IRQ is not set
-# CONFIG_IRQCHAIN is not set
-# CONFIG_IRQCOUNT is not set
-# CONFIG_INIT_NONE is not set
-CONFIG_INIT_ENTRYPOINT=y
-CONFIG_INIT_ARGS=""
-CONFIG_USER_ENTRYPOINT="nsh_main"
-CONFIG_USERMAIN_STACKSIZE=8192
-CONFIG_USERMAIN_PRIORITY=100
-CONFIG_RR_INTERVAL=200
-# CONFIG_SCHED_SPORADIC is not set
-CONFIG_TASK_NAME_SIZE=12
-CONFIG_MAX_TASKS=8
-# CONFIG_SCHED_HAVE_PARENT is not set
-CONFIG_SCHED_WAITPID=y
-# CONFIG_SCHED_USER_IDENTITY is not set
-
-#
-# Pthread Options
-#
-# CONFIG_PTHREAD_MUTEX_TYPES is not set
-# CONFIG_PTHREAD_MUTEX_ROBUST is not set
-CONFIG_PTHREAD_MUTEX_UNSAFE=y
-# CONFIG_PTHREAD_MUTEX_BOTH is not set
-# CONFIG_PTHREAD_CLEANUP is not set
-# CONFIG_CANCELLATION_POINTS is not set
-
-#
-# Performance Monitoring
-#
-# CONFIG_SCHED_SUSPENDSCHEDULER is not set
-# CONFIG_SCHED_RESUMESCHEDULER is not set
-# CONFIG_SCHED_IRQMONITOR is not set
-# CONFIG_SCHED_CRITMONITOR is not set
-CONFIG_SCHED_CPULOAD=y
-CONFIG_SCHED_CPULOAD_EXTCLK=y
-CONFIG_SCHED_CPULOAD_TICKSPERSEC=100
-CONFIG_CPULOAD_ONESHOT=y
-# CONFIG_CPULOAD_PERIOD is not set
-CONFIG_CPULOAD_ENTROPY=6
-CONFIG_SCHED_CPULOAD_TIMECONSTANT=2
-# CONFIG_SCHED_INSTRUMENTATION is not set
-
-#
-# Files and I/O
-#
-CONFIG_DEV_CONSOLE=y
-# CONFIG_FDCLONE_DISABLE is not set
-# CONFIG_FDCLONE_STDIO is not set
-# CONFIG_SDCLONE_DISABLE is not set
-CONFIG_NFILE_DESCRIPTORS=6
-CONFIG_FILE_STREAM=y
-CONFIG_NAME_MAX=32
-CONFIG_PATH_MAX=256
-# CONFIG_PRIORITY_INHERITANCE is not set
-
-#
-# RTOS hooks
-#
-# CONFIG_BOARD_EARLY_INITIALIZE is not set
-# CONFIG_BOARD_LATE_INITIALIZE is not set
-# CONFIG_SCHED_STARTHOOK is not set
-# CONFIG_SCHED_ATEXIT is not set
-# CONFIG_SCHED_ONEXIT is not set
-
-#
-# Signal Configuration
-#
-# CONFIG_SIG_DEFAULT is not set
-
-#
-# Signal Numbers
-#
-
-#
-# Standard Signal Numbers
-#
-CONFIG_SIG_SIGUSR1=1
-CONFIG_SIG_SIGUSR2=2
-CONFIG_SIG_SIGALRM=3
-CONFIG_SIG_PIPE=13
-
-#
-# Non-standard Signal Numbers
-#
-CONFIG_SIG_SIGCONDTIMEDOUT=16
-# CONFIG_MODULE is not set
-
-#
-# Work queue support
-#
-# CONFIG_SCHED_WORKQUEUE is not set
-# CONFIG_SCHED_HPWORK is not set
-# CONFIG_SCHED_LPWORK is not set
-
-#
-# Stack and heap information
-#
-CONFIG_IDLETHREAD_STACKSIZE=8192
-CONFIG_PTHREAD_STACK_MIN=256
-CONFIG_PTHREAD_STACK_DEFAULT=8192
-# CONFIG_LIB_SYSCALL is not set
-
-#
-# Device Drivers
-#
-# CONFIG_DEV_SIMPLE_ADDRENV is not set
-CONFIG_DEV_NULL=y
-CONFIG_DEV_ZERO=y
-# CONFIG_DRVR_MKRD is not set
-
-#
-# Buffering
-#
-# CONFIG_DRVR_WRITEBUFFER is not set
-# CONFIG_DRVR_READAHEAD is not set
-# CONFIG_SPECIFIC_DRIVERS is not set
-# CONFIG_DEV_URANDOM is not set
-# CONFIG_DEV_LOOP is not set
-# CONFIG_ARCH_HAVE_CAN_ERRORS is not set
-# CONFIG_CAN is not set
-# CONFIG_ARCH_HAVE_I2CRESET is not set
-# CONFIG_I2C is not set
-# CONFIG_ARCH_HAVE_SPI_CRCGENERATION is not set
-# CONFIG_ARCH_HAVE_SPI_CS_CONTROL is not set
-# CONFIG_ARCH_HAVE_SPI_BITORDER is not set
-# CONFIG_SPI is not set
-# CONFIG_I2S is not set
-
-#
-# Timer Driver Support
-#
-# CONFIG_ARCH_HAVE_PWM_PULSECOUNT is not set
-# CONFIG_ARCH_HAVE_PWM_MULTICHAN is not set
-CONFIG_PWM=y
-CONFIG_TIMER=y
-CONFIG_TIMER_ARCH=y
-CONFIG_ONESHOT=y
-CONFIG_ALARM_ARCH=y
-# CONFIG_RTC is not set
-# CONFIG_WATCHDOG is not set
-# CONFIG_ANALOG is not set
-# CONFIG_DRIVERS_AUDIO is not set
-# CONFIG_FB_CMAP is not set
-# CONFIG_FB_TRANSPARENCY is not set
-# CONFIG_FB_UPDATE is not set
-# CONFIG_FB_SYNC is not set
-# CONFIG_FB_OVERLAY is not set
-# CONFIG_DRIVERS_VIDEO is not set
-# CONFIG_BCH is not set
-CONFIG_INPUT=y
-# CONFIG_MOUSE is not set
-# CONFIG_INPUT_MAX11802 is not set
-# CONFIG_INPUT_TSC2007 is not set
-# CONFIG_INPUT_FT5X06 is not set
-# CONFIG_INPUT_ADS7843E is not set
-# CONFIG_INPUT_MXT is not set
-# CONFIG_INPUT_STMPE811 is not set
-# CONFIG_INPUT_CYPRESS_MBR3108 is not set
-# CONFIG_BUTTONS is not set
-# CONFIG_DJOYSTICK is not set
-# CONFIG_AJOYSTICK is not set
-# CONFIG_INPUT_NUNCHUCK is not set
-# CONFIG_INPUT_SPQ10KBD is not set
-
-#
-# IO Expander/GPIO Support
-#
-CONFIG_IOEXPANDER=y
-# CONFIG_IOEXPANDER_INT_ENABLE is not set
-CONFIG_IOEXPANDER_NPINS=16
-# CONFIG_IOEXPANDER_MULTIPIN is not set
-CONFIG_DEV_GPIO=y
-CONFIG_DEV_GPIO_NSIGNALS=1
-# CONFIG_GPIO_LOWER_HALF is not set
-
-#
-# LCD Driver Support
-#
-# CONFIG_LCD is not set
-
-#
-# Character/Segment LCD Devices
-#
-# CONFIG_SLCD is not set
-
-#
-# Other LCD-related Devices
-#
-# CONFIG_LCD_OTHER is not set
-
-#
-# LED Support
-#
-# CONFIG_USERLED is not set
-# CONFIG_LEDS_APA102 is not set
-# CONFIG_LEDS_MAX7219 is not set
-# CONFIG_RGBLED is not set
-# CONFIG_PCA9635PW is not set
-# CONFIG_NCP5623C is not set
-# CONFIG_WS2812 is not set
-# CONFIG_ARCH_HAVE_SDIO is not set
-# CONFIG_ARCH_HAVE_SDIOWAIT_WRCOMPLETE is not set
-# CONFIG_ARCH_HAVE_SDIO_PREFLIGHT is not set
-# CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT is not set
-# CONFIG_MMCSD is not set
-# CONFIG_MODEM is not set
-CONFIG_MTD=y
-CONFIG_MTD_PARTITION=y
-CONFIG_MTD_SECT512=y
-CONFIG_MTD_SECT512_ERASED_STATE=0xff
-# CONFIG_MTD_SECT512_READONLY is not set
-# CONFIG_MTD_PARTITION_NAMES is not set
-# CONFIG_MTD_BYTE_WRITE is not set
-# CONFIG_MTD_PROGMEM is not set
-# CONFIG_MTD_CONFIG is not set
-
-#
-# MTD Device Drivers
-#
-# CONFIG_MTD_NAND is not set
-# CONFIG_RAMMTD is not set
-# CONFIG_FILEMTD is not set
-# CONFIG_MTD_AT24XX is not set
-# CONFIG_MTD_AT25 is not set
-# CONFIG_MTD_AT45DB is not set
-# CONFIG_MTD_IS25XP is not set
-# CONFIG_MTD_M25P is not set
-# CONFIG_MTD_MX25L is not set
-# CONFIG_MTD_MX35 is not set
-# CONFIG_MTD_S25FL1 is not set
-# CONFIG_MTD_N25QXXX is not set
-# CONFIG_MTD_W25QXXXJV is not set
-# CONFIG_MTD_MX25RXX is not set
-# CONFIG_MTD_SMART is not set
-# CONFIG_MTD_RAMTRON is not set
-# CONFIG_MTD_SST25 is not set
-# CONFIG_MTD_SST25XX is not set
-# CONFIG_MTD_SST26 is not set
-# CONFIG_MTD_SST39FV is not set
-# CONFIG_MTD_W25 is not set
-# CONFIG_MTD_GD25 is not set
-# CONFIG_MTD_GD5F is not set
-# CONFIG_EEPROM is not set
-# CONFIG_PIPES is not set
-# CONFIG_PM is not set
-# CONFIG_DRIVERS_POWERLED is not set
-# CONFIG_DRIVERS_SMPS is not set
-# CONFIG_DRIVERS_MOTOR is not set
-# CONFIG_POWER is not set
-# CONFIG_SENSORS is not set
-CONFIG_ARCH_HAVE_SERIAL_TERMIOS=y
-CONFIG_SERIAL=y
-# CONFIG_SERIAL_REMOVABLE is not set
-CONFIG_SERIAL_CONSOLE=y
-# CONFIG_16550_UART is not set
-# CONFIG_OTHER_UART_SERIALDRIVER is not set
-CONFIG_MCU_SERIAL=y
-# CONFIG_STANDARD_SERIAL is not set
-# CONFIG_SERIAL_IFLOWCONTROL is not set
-# CONFIG_SERIAL_RS485CONTROL is not set
-# CONFIG_SERIAL_OFLOWCONTROL is not set
-# CONFIG_SERIAL_TXDMA is not set
-# CONFIG_SERIAL_RXDMA is not set
-# CONFIG_SERIAL_TIOCSERGSTRUCT is not set
-# CONFIG_SERIAL_TERMIOS is not set
-CONFIG_UART0_SERIAL_CONSOLE=y
-# CONFIG_UART1_SERIAL_CONSOLE is not set
-# CONFIG_OTHER_SERIAL_CONSOLE is not set
-# CONFIG_NO_SERIAL_CONSOLE is not set
-# CONFIG_UART_SERIALDRIVER is not set
-CONFIG_UART0_SERIALDRIVER=y
-CONFIG_UART1_SERIALDRIVER=y
-# CONFIG_UART2_SERIALDRIVER is not set
-# CONFIG_UART3_SERIALDRIVER is not set
-# CONFIG_UART4_SERIALDRIVER is not set
-# CONFIG_UART5_SERIALDRIVER is not set
-# CONFIG_UART6_SERIALDRIVER is not set
-# CONFIG_UART7_SERIALDRIVER is not set
-# CONFIG_UART8_SERIALDRIVER is not set
-
-#
-# UART0 Configuration
-#
-CONFIG_UART0_RXBUFSIZE=128
-CONFIG_UART0_TXBUFSIZE=128
-CONFIG_UART0_BAUD=2000000
-CONFIG_UART0_BITS=8
-CONFIG_UART0_PARITY=0
-CONFIG_UART0_2STOP=0
-# CONFIG_UART0_IFLOWCONTROL is not set
-# CONFIG_UART0_OFLOWCONTROL is not set
-# CONFIG_UART0_RXDMA is not set
-# CONFIG_UART0_TXDMA is not set
-
-#
-# UART1 Configuration
-#
-CONFIG_UART1_RXBUFSIZE=256
-CONFIG_UART1_TXBUFSIZE=256
-CONFIG_UART1_BAUD=115200
-CONFIG_UART1_BITS=8
-CONFIG_UART1_PARITY=0
-CONFIG_UART1_2STOP=0
-# CONFIG_UART1_IFLOWCONTROL is not set
-# CONFIG_UART1_OFLOWCONTROL is not set
-# CONFIG_UART1_RXDMA is not set
-# CONFIG_UART1_TXDMA is not set
-# CONFIG_LPUART_SERIALDRIVER is not set
-# CONFIG_LPUART0_SERIALDRIVER is not set
-# CONFIG_LPUART1_SERIALDRIVER is not set
-# CONFIG_LPUART2_SERIALDRIVER is not set
-# CONFIG_LPUART3_SERIALDRIVER is not set
-# CONFIG_LPUART4_SERIALDRIVER is not set
-# CONFIG_LPUART5_SERIALDRIVER is not set
-# CONFIG_LPUART6_SERIALDRIVER is not set
-# CONFIG_LPUART7_SERIALDRIVER is not set
-# CONFIG_LPUART8_SERIALDRIVER is not set
-# CONFIG_USART0_SERIALDRIVER is not set
-# CONFIG_USART1_SERIALDRIVER is not set
-# CONFIG_USART2_SERIALDRIVER is not set
-# CONFIG_USART3_SERIALDRIVER is not set
-# CONFIG_USART4_SERIALDRIVER is not set
-# CONFIG_USART5_SERIALDRIVER is not set
-# CONFIG_USART6_SERIALDRIVER is not set
-# CONFIG_USART7_SERIALDRIVER is not set
-# CONFIG_USART8_SERIALDRIVER is not set
-# CONFIG_USART9_SERIALDRIVER is not set
-# CONFIG_SCI0_SERIALDRIVER is not set
-# CONFIG_SCI1_SERIALDRIVER is not set
-# CONFIG_SCI2_SERIALDRIVER is not set
-# CONFIG_SCI3_SERIALDRIVER is not set
-# CONFIG_SCI4_SERIALDRIVER is not set
-# CONFIG_SCI5_SERIALDRIVER is not set
-# CONFIG_SCI6_SERIALDRIVER is not set
-# CONFIG_SCI7_SERIALDRIVER is not set
-# CONFIG_SCI8_SERIALDRIVER is not set
-# CONFIG_SCI9_SERIALDRIVER is not set
-# CONFIG_SCI10_SERIALDRIVER is not set
-# CONFIG_SCI11_SERIALDRIVER is not set
-# CONFIG_SCI12_SERIALDRIVER is not set
-# CONFIG_PSEUDOTERM is not set
-# CONFIG_USBDEV is not set
-# CONFIG_USBHOST_HAVE_ASYNCH is not set
-# CONFIG_USBHOST is not set
-# CONFIG_USBMISC is not set
-# CONFIG_HAVE_USBTRACE is not set
-# CONFIG_DRIVERS_WIRELESS is not set
-# CONFIG_DRIVERS_CONTACTLESS is not set
-# CONFIG_1WIRE is not set
-
-#
-# System Logging
-#
-# CONFIG_ARCH_SYSLOG is not set
-# CONFIG_SYSLOG_WRITE is not set
-# CONFIG_RAMLOG is not set
-# CONFIG_SYSLOG_INTBUFFER is not set
-# CONFIG_SYSLOG_TIMESTAMP is not set
-# CONFIG_SYSLOG_PREFIX is not set
-# CONFIG_SYSLOG_CHAR is not set
-# CONFIG_SYSLOG_CONSOLE is not set
-CONFIG_SYSLOG_DEFAULT=y
-# CONFIG_SYSLOG_FILE is not set
-# CONFIG_CONSOLE_SYSLOG is not set
-# CONFIG_SYSLOG_CHARDEV is not set
-# CONFIG_DRIVERS_RF is not set
-# CONFIG_DRIVERS_RC is not set
-
-#
-# Networking Support
-#
-# CONFIG_ARCH_HAVE_NET is not set
-# CONFIG_ARCH_HAVE_PHY is not set
-# CONFIG_ARCH_PHY_INTERRUPT is not set
-# CONFIG_ARCH_PHY_POLLED is not set
-# CONFIG_ARCH_HAVE_NETDEV_STATISTICS is not set
-# CONFIG_NET_WRITE_BUFFERS is not set
-# CONFIG_NET_READAHEAD is not set
-# CONFIG_NET_MCASTGROUP is not set
-# CONFIG_NET is not set
-
-#
-# Crypto API
-#
-# CONFIG_CRYPTO is not set
-
-#
-# File Systems
-#
-
-#
-# File system configuration
-#
-# CONFIG_DISABLE_MOUNTPOINT is not set
-# CONFIG_FS_AUTOMOUNTER is not set
-CONFIG_FS_NEPOLL_DESCRIPTORS=8
-CONFIG_DISABLE_PSEUDOFS_OPERATIONS=y
-# CONFIG_EVENT_FD is not set
-# CONFIG_FS_NAMED_SEMAPHORES is not set
-# CONFIG_FS_RAMMAP is not set
-
-#
-# Partition Table
-#
-CONFIG_PTABLE_PARTITION=y
-# CONFIG_FS_FAT is not set
-# CONFIG_NFS is not set
-# CONFIG_FS_NXFFS is not set
-# CONFIG_FS_ROMFS is not set
-# CONFIG_FS_CROMFS is not set
-# CONFIG_FS_TMPFS is not set
-# CONFIG_FS_SMARTFS is not set
-# CONFIG_FS_BINFS is not set
-CONFIG_FS_PROCFS=y
-# CONFIG_FS_PROCFS_REGISTER is not set
-
-#
-# Exclude individual procfs entries
-#
-# CONFIG_FS_PROCFS_EXCLUDE_PROCESS is not set
-CONFIG_FS_PROCFS_EXCLUDE_ENVIRON=y
-# CONFIG_FS_PROCFS_EXCLUDE_BLOCKS is not set
-# CONFIG_FS_PROCFS_EXCLUDE_MOUNT is not set
-# CONFIG_FS_PROCFS_EXCLUDE_USAGE is not set
-# CONFIG_FS_PROCFS_EXCLUDE_UPTIME is not set
-# CONFIG_FS_PROCFS_EXCLUDE_VERSION is not set
-# CONFIG_FS_PROCFS_EXCLUDE_CPULOAD is not set
-# CONFIG_FS_PROCFS_EXCLUDE_MEMINFO is not set
-# CONFIG_FS_PROCFS_EXCLUDE_MOUNTS is not set
-# CONFIG_FS_PROCFS_EXCLUDE_PARTITIONS is not set
-# CONFIG_FS_SPIFFS is not set
-CONFIG_FS_LITTLEFS=y
-# CONFIG_FS_UNIONFS is not set
-# CONFIG_FS_HOSTFS is not set
-
-#
-# Graphics Support
-#
-# CONFIG_NX is not set
-# CONFIG_NXFONTS is not set
-
-#
-# Font Cache Pixel Depths
-#
-# CONFIG_NXFONTS_DISABLE_1BPP is not set
-# CONFIG_NXFONTS_DISABLE_2BPP is not set
-# CONFIG_NXFONTS_DISABLE_4BPP is not set
-# CONFIG_NXFONTS_DISABLE_8BPP is not set
-# CONFIG_NXFONTS_DISABLE_16BPP is not set
-# CONFIG_NXFONTS_DISABLE_24BPP is not set
-# CONFIG_NXFONTS_DISABLE_32BPP is not set
-CONFIG_NXFONTS_PACKEDMSFIRST=y
-# CONFIG_NXGLIB is not set
-
-#
-# Memory Management
-#
-# CONFIG_MM_SMALL is not set
-CONFIG_MM_REGIONS=1
-# CONFIG_ARCH_HAVE_HEAP2 is not set
-# CONFIG_GRAN is not set
-# CONFIG_MM_FILL_ALLOCATIONS is not set
-# CONFIG_MM_CIRCBUF is not set
-
-#
-# Common I/O Buffer Support
-#
-# CONFIG_MM_IOB is not set
-
-#
-# Audio Support
-#
-# CONFIG_AUDIO is not set
-
-#
-# Video Support
-#
-
-#
-# Video subsystem
-#
-# CONFIG_VIDEO is not set
-
-#
-# Wireless Support
-#
-# CONFIG_WIRELESS is not set
-
-#
-# Binary Loader
-#
-CONFIG_BINFMT_DISABLE=y
-# CONFIG_SYMTAB_ORDEREDBYNAME is not set
-
-#
-# Library Routines
-#
-
-#
-# Standard C Library Options
-#
-
-#
-# Standard C I/O
-#
-CONFIG_STDIO_DISABLE_BUFFERING=y
-CONFIG_NUNGET_CHARS=2
-# CONFIG_LIBC_PRINT_LEGACY is not set
-# CONFIG_LIBC_FLOATINGPOINT is not set
-# CONFIG_LIBC_LONG_LONG is not set
-# CONFIG_LIBC_SCANSET is not set
-# CONFIG_EOL_IS_CR is not set
-# CONFIG_EOL_IS_LF is not set
-# CONFIG_EOL_IS_BOTH_CRLF is not set
-CONFIG_EOL_IS_EITHER_CRLF=y
-# CONFIG_AUDIO_SRC is not set
-# CONFIG_LIBM is not set
-
-#
-# Architecture-Specific Support
-#
-CONFIG_ARCH_LOWPUTC=y
-# CONFIG_ARCH_ROMGETC is not set
-# CONFIG_LIBC_ARCH_MEMCPY is not set
-# CONFIG_LIBC_ARCH_MEMCMP is not set
-# CONFIG_LIBC_ARCH_MEMMOVE is not set
-# CONFIG_LIBC_ARCH_MEMSET is not set
-# CONFIG_LIBC_ARCH_STRCHR is not set
-# CONFIG_LIBC_ARCH_STRCMP is not set
-# CONFIG_LIBC_ARCH_STRCPY is not set
-# CONFIG_LIBC_ARCH_STRLCPY is not set
-# CONFIG_LIBC_ARCH_STRNCPY is not set
-# CONFIG_LIBC_ARCH_STRLEN is not set
-# CONFIG_LIBC_ARCH_STRNLEN is not set
-# CONFIG_LIBC_ARCH_ELF is not set
-
-#
-# stdlib Options
-#
-CONFIG_LIB_RAND_ORDER=1
-CONFIG_LIBC_TMPDIR="/tmp"
-CONFIG_LIBC_MAX_TMPFILE=32
-
-#
-# Program Execution Options
-#
-CONFIG_POSIX_SPAWN_PROXY_STACKSIZE=1024
-CONFIG_TASK_SPAWN_DEFAULT_STACKSIZE=8192
-CONFIG_LIB_HOSTNAME=""
-
-#
-# errno Decode Support
-#
-CONFIG_LIBC_STRERROR=y
-# CONFIG_LIBC_STRERROR_SHORT is not set
-CONFIG_LIBC_PERROR_STDOUT=y
-
-#
-# memcpy/memset Options
-#
-# CONFIG_MEMCPY_VIK is not set
-# CONFIG_MEMSET_OPTSPEED is not set
-
-#
-# pthread support
-#
-# CONFIG_LIBC_DLFCN is not set
-# CONFIG_LIBC_MODLIB is not set
-# CONFIG_LIBC_GROUP_FILE is not set
-# CONFIG_LIBC_PASSWD_FILE is not set
-# CONFIG_LIBC_WCHAR is not set
-# CONFIG_LIBC_LOCALE is not set
-# CONFIG_LIBC_LZF is not set
-
-#
-# Time/Time Zone Support
-#
-
-#
-# Thread Local Storage (TLS)
-#
-# CONFIG_TLS_ALIGNED is not set
-CONFIG_TLS_NELEM=4
-
-#
-# Network-Related Options
-#
-# CONFIG_LIBC_IPv4_ADDRCONV is not set
-# CONFIG_LIBC_IPv6_ADDRCONV is not set
-# CONFIG_LIBC_NETDB is not set
-
-#
-# NETDB Support
-#
-# CONFIG_LIBC_GAISTRERROR is not set
-CONFIG_NETDB_BUFSIZE=256
-CONFIG_NETDB_MAX_IPADDR=1
-# CONFIG_NETDB_HOSTFILE is not set
-CONFIG_LIB_SENDFILE_BUFSIZE=512
-
-#
-# Non-standard Library Support
-#
-# CONFIG_LIB_CRC64_FAST is not set
-# CONFIG_LIB_KBDCODEC is not set
-# CONFIG_LIB_SLCDCODEC is not set
-# CONFIG_LIB_HEX2BIN is not set
-CONFIG_BUILTIN=y
-
-#
-# Basic CXX Support
-#
-# CONFIG_C99_BOOL8 is not set
-# CONFIG_HAVE_CXX is not set
-# CONFIG_LIBDSP is not set
-
-#
-# Open Asymmetric Multi Processing
-#
-# CONFIG_OPENAMP is not set
-
-#
-# Application Configuration
-#
-
-#
-# CAN Utilities
-#
-
-#
-# Examples
-#
-# CONFIG_EXAMPLES_ABNTCODI is not set
-# CONFIG_EXAMPLES_ADXL372_TEST is not set
-# CONFIG_EXAMPLES_APA102 is not set
-# CONFIG_EXAMPLES_AUDIO_SOUND is not set
-# CONFIG_EXAMPLES_BATTERY is not set
-# CONFIG_EXAMPLES_SIXAXIS is not set
-# CONFIG_EXAMPLES_CALIB_UDELAY is not set
-# CONFIG_EXAMPLES_CAMERA is not set
-# CONFIG_EXAMPLES_CCTYPE is not set
-# CONFIG_EXAMPLES_CHARGER is not set
-# CONFIG_EXAMPLES_CHAT is not set
-# CONFIG_EXAMPLES_CHRONO is not set
-# CONFIG_EXAMPLES_CONFIGDATA is not set
-# CONFIG_EXAMPLES_DHCPD is not set
-# CONFIG_EXAMPLES_DHTXX is not set
-# CONFIG_EXAMPLES_DSPTEST is not set
-# CONFIG_EXAMPLES_ESP32_HIMEM is not set
-# CONFIG_EXAMPLES_FTPC is not set
-# CONFIG_EXAMPLES_FTPD is not set
-# CONFIG_EXAMPLES_FXOS8700CQ is not set
-CONFIG_EXAMPLES_GPIO=y
-CONFIG_EXAMPLES_GPIO_PROGNAME="gpio"
-CONFIG_EXAMPLES_GPIO_PRIORITY=100
-CONFIG_EXAMPLES_GPIO_STACKSIZE=2048
-# CONFIG_EXAMPLES_GPS is not set
-# CONFIG_EXAMPLES_HDC1008 is not set
-CONFIG_EXAMPLES_HELLO=y
-CONFIG_EXAMPLES_HELLO_PROGNAME="hello"
-CONFIG_EXAMPLES_HELLO_PRIORITY=100
-CONFIG_EXAMPLES_HELLO_STACKSIZE=8192
-# CONFIG_EXAMPLES_HIDKBD is not set
-# CONFIG_EXAMPLES_IGMP is not set
-# CONFIG_EXAMPLES_INA219 is not set
-# CONFIG_EXAMPLES_INA226 is not set
-# CONFIG_EXAMPLES_LSM330SPI_TEST is not set
-# CONFIG_EXAMPLES_LVGLDEMO is not set
-# CONFIG_EXAMPLES_MAX31855 is not set
-# CONFIG_EXAMPLES_MEDIA is not set
-# CONFIG_EXAMPLES_MLX90614 is not set
-# CONFIG_EXAMPLES_MODBUS is not set
-# CONFIG_EXAMPLES_MODBUSMASTER is not set
-# CONFIG_EXAMPLES_MOUNT is not set
-# CONFIG_EXAMPLES_MTDPART is not set
-# CONFIG_EXAMPLES_NULL is not set
-# CONFIG_EXAMPLES_NXDEMO is not set
-# CONFIG_EXAMPLES_OBD2 is not set
-CONFIG_EXAMPLES_ONESHOT=y
-CONFIG_EXAMPLES_ONESHOT_DEVNAME="/dev/oneshot"
-CONFIG_EXAMPLES_ONESHOT_DELAY=100000
-CONFIG_EXAMPLES_ONESHOT_SIGNO=13
-CONFIG_EXAMPLES_ONESHOT_STACKSIZE=2048
-CONFIG_EXAMPLES_ONESHOT_PRIORITY=100
-CONFIG_EXAMPLES_ONESHOT_PROGNAME="oneshot"
-# CONFIG_EXAMPLES_PCA9635 is not set
-# CONFIG_EXAMPLES_PDCURSES is not set
-# CONFIG_EXAMPLES_POSIXSPAWN is not set
-# CONFIG_EXAMPLES_POWERLED is not set
-# CONFIG_EXAMPLES_POWERMONITOR is not set
-# CONFIG_EXAMPLES_PPPD is not set
-# CONFIG_EXAMPLES_PWM is not set
-# CONFIG_EXAMPLES_RFID_READUID is not set
-# CONFIG_EXAMPLES_RGBLED is not set
-CONFIG_EXAMPLES_SERIALBLASTER=y
-CONFIG_EXAMPLES_SERIALBLASTER_STACKSIZE=2048
-CONFIG_EXAMPLES_SERIALBLASTER_PRIORITY=50
-CONFIG_EXAMPLES_SERIALBLASTER_DEVPATH="/dev/ttyS2"
-CONFIG_EXAMPLES_SERIALRX=y
-CONFIG_EXAMPLES_SERIALRX_STACKSIZE=2048
-CONFIG_EXAMPLES_SERIALRX_PRIORITY=50
-# CONFIG_EXAMPLES_SERIALRX_BUFFERED is not set
-CONFIG_EXAMPLES_SERIALRX_BUFSIZE=11520
-CONFIG_EXAMPLES_SERIALRX_DEVPATH="/dev/ttyS0"
-CONFIG_EXAMPLES_SERIALRX_PRINTHYPHEN=y
-# CONFIG_EXAMPLES_SERIALRX_PRINTHEX is not set
-# CONFIG_EXAMPLES_SERIALRX_PRINTSTR is not set
-CONFIG_EXAMPLES_SERLOOP=y
-# CONFIG_EXAMPLES_SLCD is not set
-# CONFIG_EXAMPLES_SMPS is not set
-# CONFIG_EXAMPLES_STAT is not set
-# CONFIG_EXAMPLES_TCPECHO is not set
-# CONFIG_EXAMPLES_TIFF is not set
-CONFIG_EXAMPLES_TIMER=y
-CONFIG_EXAMPLES_TIMER_DEVNAME="/dev/timer0"
-CONFIG_EXAMPLES_TIMER_INTERVAL=1000000
-CONFIG_EXAMPLES_TIMER_DELAY=100000
-CONFIG_EXAMPLES_TIMER_NSAMPLES=20
-CONFIG_EXAMPLES_TIMER_SIGNO=17
-CONFIG_EXAMPLES_TIMER_STACKSIZE=2048
-CONFIG_EXAMPLES_TIMER_PRIORITY=100
-CONFIG_EXAMPLES_TIMER_PROGNAME="timer"
-# CONFIG_EXAMPLES_TOUCHSCREEN is not set
-# CONFIG_EXAMPLES_UID is not set
-# CONFIG_EXAMPLES_USBSERIAL is not set
-# CONFIG_EXAMPLES_USERFS is not set
-# CONFIG_EXAMPLES_WATCHDOG is not set
-# CONFIG_EXAMPLES_WEBSERVER is not set
-# CONFIG_EXAMPLES_XBC_TEST is not set
-
-#
-# File System Utilities
-#
-# CONFIG_FSUTILS_FLASH_ERASEALL is not set
-# CONFIG_FSUTILS_INIFILE is not set
-# CONFIG_FSUTILS_INIH is not set
-# CONFIG_FSUTILS_PASSWD is not set
-
-#
-# GPS Utilities
-#
-# CONFIG_GPSUTILS_MINMEA_LIB is not set
-
-#
-# Graphics Support
-#
-# CONFIG_GRAPHICS_FT80X is not set
-# CONFIG_GRAPHICS_LVGL is not set
-
-#
-# NxWidgets
-#
-
-#
-# NxWM
-#
-# CONFIG_GRAPHICS_PDCURSES is not set
-# CONFIG_TIFF is not set
-
-#
-# Industrial Applications
-#
-# CONFIG_INDUSTRY_ABNT_CODI_LIB is not set
-
-#
-# Interpreters
-#
-# CONFIG_INTERPRETERS_BAS is not set
-# CONFIG_INTERPRETERS_DUKTAPE is not set
-# CONFIG_INTERPRETERS_FICL is not set
-# CONFIG_INTERPRETERS_MINIBASIC is not set
-# CONFIG_INTERPRETERS_QUICKJS is not set
-# CONFIG_INTERPRETERS_WAMR is not set
-# CONFIG_INTERPRETERS_WASM3 is not set
-
-#
-# FreeModBus
-#
-# CONFIG_MODBUS is not set
-
-#
-# Network Utilities
-#
-# CONFIG_NETUTILS_CHAT is not set
-# CONFIG_NETUTILS_CJSON is not set
-# CONFIG_NETUTILS_CODECS is not set
-# CONFIG_NETUTILS_ESP8266 is not set
-# CONFIG_NETUTILS_FTPC is not set
-
-#
-# NSH Library
-#
-CONFIG_NSH_LIBRARY=y
-# CONFIG_NSH_MOTD is not set
-
-#
-# Command Line Configuration
-#
-CONFIG_NSH_PROMPT_STRING="nsh> "
-CONFIG_NSH_READLINE=y
-# CONFIG_NSH_CLE is not set
-CONFIG_NSH_LINELEN=64
-CONFIG_NSH_DISABLE_SEMICOLON=y
-# CONFIG_NSH_QUOTE is not set
-# CONFIG_NSH_CMDPARMS is not set
-CONFIG_NSH_MAXARGUMENTS=7
-# CONFIG_NSH_ARGCAT is not set
-CONFIG_NSH_NESTDEPTH=3
-# CONFIG_NSH_DISABLEBG is not set
-CONFIG_NSH_BUILTIN_APPS=y
-
-#
-# Disable Individual commands
-#
-CONFIG_NSH_DISABLE_BASENAME=y
-# CONFIG_NSH_DISABLE_CAT is not set
-CONFIG_NSH_DISABLE_CD=y
-CONFIG_NSH_DISABLE_CP=y
-CONFIG_NSH_DISABLE_CMP=y
-CONFIG_NSH_DISABLE_DATE=y
-CONFIG_NSH_DISABLE_DD=y
-CONFIG_NSH_DISABLE_DF=y
-CONFIG_NSH_DISABLE_DIRNAME=y
-# CONFIG_NSH_DISABLE_ECHO is not set
-# CONFIG_NSH_DISABLE_ENV is not set
-CONFIG_NSH_DISABLE_EXEC=y
-CONFIG_NSH_DISABLE_EXIT=y
-# CONFIG_NSH_DISABLE_EXPORT is not set
-# CONFIG_NSH_DISABLE_FREE is not set
-CONFIG_NSH_DISABLE_GET=y
-# CONFIG_NSH_DISABLE_HELP is not set
-CONFIG_NSH_DISABLE_HEXDUMP=y
-# CONFIG_NSH_DISABLE_IFCONFIG is not set
-CONFIG_NSH_DISABLE_IFUPDOWN=y
-# CONFIG_NSH_DISABLE_KILL is not set
-CONFIG_NSH_DISABLE_LOSETUP=y
-# CONFIG_NSH_DISABLE_LOSMART is not set
-# CONFIG_NSH_DISABLE_LS is not set
-# CONFIG_NSH_DISABLE_MB is not set
-CONFIG_NSH_DISABLE_MKDIR=y
-CONFIG_NSH_DISABLE_MKRD=y
-# CONFIG_NSH_DISABLE_MH is not set
-# CONFIG_NSH_DISABLE_MOUNT is not set
-# CONFIG_NSH_DISABLE_MV is not set
-# CONFIG_NSH_DISABLE_MW is not set
-CONFIG_NSH_DISABLE_PRINTF=y
-# CONFIG_NSH_DISABLE_PS is not set
-# CONFIG_NSH_DISABLE_PSSTACKUSAGE is not set
-CONFIG_NSH_DISABLE_PUT=y
-# CONFIG_NSH_DISABLE_PWD is not set
-CONFIG_NSH_DISABLE_RM=y
-CONFIG_NSH_DISABLE_RMDIR=y
-# CONFIG_NSH_DISABLE_SET is not set
-# CONFIG_NSH_DISABLE_SOURCE is not set
-# CONFIG_NSH_DISABLE_SLEEP is not set
-CONFIG_NSH_DISABLE_TIME=y
-# CONFIG_NSH_DISABLE_TEST is not set
-# CONFIG_NSH_DISABLE_TELNETD is not set
-CONFIG_NSH_DISABLE_TRUNCATE=y
-CONFIG_NSH_DISABLE_UMOUNT=y
-# CONFIG_NSH_DISABLE_UNAME is not set
-# CONFIG_NSH_DISABLE_UNSET is not set
-# CONFIG_NSH_DISABLE_USLEEP is not set
-CONFIG_NSH_DISABLE_WGET=y
-CONFIG_NSH_DISABLE_XD=y
-CONFIG_NSH_MMCSDMINOR=0
-
-#
-# Configure Command Options
-#
-# CONFIG_NSH_VARS is not set
-CONFIG_NSH_CODECS_BUFSIZE=128
-CONFIG_NSH_PROC_MOUNTPOINT="/proc"
-CONFIG_NSH_FILEIOSIZE=64
-CONFIG_NSH_STRERROR=y
-
-#
-# Scripting Support
-#
-CONFIG_NSH_DISABLESCRIPT=y
-
-#
-# Console Configuration
-#
-CONFIG_NSH_CONSOLE=y
-# CONFIG_NSH_ALTCONDEV is not set
-CONFIG_NSH_ARCHINIT=y
-# CONFIG_NSH_LOGIN is not set
-# CONFIG_NSH_CONSOLE_LOGIN is not set
-
-#
-# Platform-specific Support
-#
-# CONFIG_PLATFORM_CONFIGDATA is not set
-
-#
-# System Libraries and NSH Add-Ons
-#
-# CONFIG_SYSTEM_ADBD is not set
-# CONFIG_SYSTEM_CLE is not set
-# CONFIG_SYSTEM_CUTERM is not set
-# CONFIG_SYSTEM_EMBEDLOG is not set
-# CONFIG_SYSTEM_FLASH_ERASEALL is not set
-# CONFIG_SYSTEM_HEX2BIN is not set
-# CONFIG_SYSTEM_HEXED is not set
-
-#
-# libuv async i/o Library
-#
-# CONFIG_LIBUV is not set
-CONFIG_SYSTEM_NSH=y
-CONFIG_SYSTEM_NSH_PRIORITY=100
-CONFIG_SYSTEM_NSH_STACKSIZE=2048
-CONFIG_SYSTEM_NSH_PROGNAME="nsh"
-# CONFIG_SYSTEM_POPEN is not set
-# CONFIG_SYSTEM_RAMTEST is not set
-CONFIG_READLINE_HAVE_EXTMATCH=y
-CONFIG_SYSTEM_READLINE=y
-CONFIG_READLINE_ECHO=y
-# CONFIG_READLINE_TABCOMPLETION is not set
-# CONFIG_READLINE_CMD_HISTORY is not set
-# CONFIG_SYSTEM_SETLOGMASK is not set
-# CONFIG_SYSTEM_STACKMONITOR is not set
-# CONFIG_SYSTEM_SYSTEM is not set
-# CONFIG_SYSTEM_TEE is not set
-# CONFIG_SYSTEM_TERMCURSES is not set
-# CONFIG_SYSTEM_UBLOXMODEM is not set
-# CONFIG_SYSTEM_VI is not set
-# CONFIG_SYSTEM_ZMODEM is not set
-
-#
-# Testing
-#
-# CONFIG_TESTING_FATUTF8 is not set
-# CONFIG_TESTING_FSTEST is not set
-CONFIG_TESTING_GETPRIME=y
-CONFIG_TESTING_GETPRIME_PROGNAME="getprime"
-CONFIG_TESTING_GETPRIME_PRIORITY=50
-CONFIG_TESTING_GETPRIME_STACKSIZE=2048
-# CONFIG_TESTING_IRTEST is not set
-# CONFIG_TESTING_MM is not set
-# CONFIG_TESTING_NXFFS is not set
-# CONFIG_TESTING_OSTEST is not set
-# CONFIG_TESTING_SCANFTEST is not set
-# CONFIG_TESTING_SENSORTEST is not set
-# CONFIG_TESTING_SMART is not set
-# CONFIG_TESTING_SMART_TEST is not set
-# CONFIG_TESTING_UNITY is not set
-
-#
-# Wireless Libraries and NSH Add-Ons
-#
-
-#
-# Bluetooth applications
-#
-# CONFIG_BTSAK is not set
-
-#
-# IEEE 802.15.4 applications
-#
-# CONFIG_IEEE802154_I8SAK is not set
-# CONFIG_IEEE802154_LIBMAC is not set
-# CONFIG_IEEE802154_LIBUTILS is not set
diff --git a/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig b/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig
index 98bcacc..a2f07c3 100644
--- a/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig
+++ b/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig
@@ -8,19 +8,19 @@
 # CONFIG_NSH_DISABLEBG is not set
 # CONFIG_NSH_DISABLE_LOSMART is not set
 # CONFIG_NSH_DISABLE_UNAME is not set
-# CONFIG_STANDARD_SERIAL is not set
 CONFIG_ARCH="risc-v"
 CONFIG_ARCH_BOARD="bl602evb"
 CONFIG_ARCH_BOARD_BL602EVB=y
 CONFIG_ARCH_CHIP="bl602"
 CONFIG_ARCH_CHIP_BL602=y
 CONFIG_ARCH_INTERRUPTSTACK=8192
-CONFIG_ARCH_FPU=y
 CONFIG_ARCH_RISCV=y
 CONFIG_ARCH_STACKDUMP=y
 CONFIG_BINFMT_DISABLE=y
+CONFIG_BL602_HAVE_UART0=y
 CONFIG_BOARD_LOOPSPERMSEC=10000
 CONFIG_BUILTIN=y
+CONFIG_DEBUG_FEATURES=y
 CONFIG_DEBUG_FULLOPT=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_DEFAULT_SMALL=y
@@ -34,9 +34,7 @@ CONFIG_INTELHEX_BINARY=y
 CONFIG_LIBC_PERROR_STDOUT=y
 CONFIG_LIBC_STRERROR=y
 CONFIG_MAX_TASKS=8
-CONFIG_MAX_WDOGPARMS=2
 CONFIG_NFILE_DESCRIPTORS=6
-CONFIG_NFILE_STREAMS=6
 CONFIG_NSH_ARCHINIT=y
 CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_DISABLE_CD=y
@@ -49,7 +47,6 @@ CONFIG_NSH_DISABLE_UMOUNT=y
 CONFIG_NSH_FILEIOSIZE=64
 CONFIG_NSH_STRERROR=y
 CONFIG_PREALLOC_TIMERS=0
-CONFIG_PREALLOC_WDOGS=4
 CONFIG_PTHREAD_STACK_DEFAULT=8192
 CONFIG_RAM_SIZE=134217728
 CONFIG_RAM_START=0xc0800000
@@ -71,5 +68,3 @@ CONFIG_UART0_SERIAL_CONSOLE=y
 CONFIG_UART0_TXBUFSIZE=128
 CONFIG_USERMAIN_STACKSIZE=8192
 CONFIG_USER_ENTRYPOINT="nsh_main"
-CONFIG_WDOG_INTRESERVE=0
-CONFIG_DEBUG_FEATURES=y