diff --git a/arch/risc-v/src/bl602/bl602_tim_lowerhalf.c b/arch/risc-v/src/bl602/bl602_tim_lowerhalf.c index 2e2bacbc0e..5cc756c3b2 100644 --- a/arch/risc-v/src/bl602/bl602_tim_lowerhalf.c +++ b/arch/risc-v/src/bl602/bl602_tim_lowerhalf.c @@ -288,7 +288,7 @@ static int bl602_tim_getstatus(FAR struct timer_lowerhalf_s *lower, (FAR struct bl602_tim_lowerhalf_s *)lower; uint32_t current_count; - status->timeout = timer_getcompvalue(priv->tim, TIMER_COMP_ID_0); + status->timeout = bl602_timer_getcompvalue(priv->tim, TIMER_COMP_ID_0); current_count = bl602_timer_getcountervalue(priv->tim); if (current_count < status->timeout) { diff --git a/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig b/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig index 0b2c10e50b..d624275470 100644 --- a/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig @@ -1,1136 +1,75 @@ # -# Automatically generated file; DO NOT EDIT. -# NuttX/x86_64 Configuration +# This file is autogenerated: PLEASE DO NOT EDIT IT. # - +# You can use "make menuconfig" to make any modifications to the installed .config file. +# You can then do "make savedefconfig" to generate a new defconfig file that includes your +# modifications. # -# 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_GPIO 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 is not set -# CONFIG_BL602_UART1 is not set -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 is not set -# 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_PREALLOC_IRQ_ACTIONS=8 -# 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 is not set -CONFIG_TIMER=y -CONFIG_TIMER_ARCH=y -# CONFIG_ONESHOT is not set -# 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 is not set - -# -# IO Expander/GPIO Support -# -# CONFIG_IOEXPANDER is not set -# CONFIG_DEV_GPIO 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 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=y -CONFIG_SERIAL_NPOLLWAITERS=2 -# 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_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 is not set -# 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 -# 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 is not set -# 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_MEMINFO is not set -# CONFIG_FS_PROCFS_EXCLUDE_MOUNTS is not set -# CONFIG_FS_SPIFFS is not set -# CONFIG_FS_LITTLEFS is not set -# 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_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_NULL is not set -# CONFIG_EXAMPLES_NXDEMO is not set -# CONFIG_EXAMPLES_OBD2 is not set -# 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_RFID_READUID is not set -# CONFIG_EXAMPLES_RGBLED is not set -# CONFIG_EXAMPLES_SERIALBLASTER is not set -# CONFIG_EXAMPLES_SERIALRX is not set -# CONFIG_EXAMPLES_SERLOOP is not set -# 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_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_DISABLE_LOSMART is not set +# CONFIG_NSH_DISABLE_UNAME 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_RISCV=y +CONFIG_ARCH_STACKDUMP=y +CONFIG_BINFMT_DISABLE=y +CONFIG_BL602_HAVE_UART0=y +CONFIG_BL602_TIMER0=y +CONFIG_BOARD_LOOPSPERMSEC=10000 +CONFIG_BUILTIN=y +CONFIG_DEBUG_FEATURES=y +CONFIG_DEBUG_FULLOPT=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_DEFAULT_SMALL=y +CONFIG_DEV_ZERO=y +CONFIG_DISABLE_MQUEUE=y +CONFIG_EXAMPLES_HELLO=y +CONFIG_EXAMPLES_HELLO_STACKSIZE=8192 +CONFIG_EXAMPLES_TIMER=y +CONFIG_FS_PROCFS=y +CONFIG_IDLETHREAD_STACKSIZE=8192 +CONFIG_INTELHEX_BINARY=y +CONFIG_LIBC_PERROR_STDOUT=y +CONFIG_LIBC_STRERROR=y +CONFIG_MAX_TASKS=8 +CONFIG_NFILE_DESCRIPTORS=6 +CONFIG_NSH_ARCHINIT=y 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_HEX2BIN is not set -# CONFIG_SYSTEM_HEXED is not set - -# -# libuv async i/o Library -# -# CONFIG_LIBUV is not set +CONFIG_PREALLOC_TIMERS=0 +CONFIG_PTHREAD_STACK_DEFAULT=8192 +CONFIG_RAM_SIZE=134217728 +CONFIG_RAM_START=0xc0800000 +CONFIG_RAW_BINARY=y +CONFIG_RR_INTERVAL=200 +CONFIG_RV32IM_CUSTOM_IRQ_SUPPORT=y +CONFIG_SCHED_WAITPID=y +CONFIG_STACK_COLORATION=y +CONFIG_START_DAY=20 +CONFIG_START_MONTH=3 +CONFIG_START_YEAR=2020 +CONFIG_STDIO_DISABLE_BUFFERING=y 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_TASK_NAME_SIZE=12 +CONFIG_TASK_SPAWN_DEFAULT_STACKSIZE=8192 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 -# CONFIG_NIMBLE 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 +CONFIG_TIMER=y +CONFIG_TIMER_ARCH=y +CONFIG_UART0_BAUD=2000000 +CONFIG_UART0_RXBUFSIZE=128 +CONFIG_UART0_SERIAL_CONSOLE=y +CONFIG_UART0_TXBUFSIZE=128 +CONFIG_USERMAIN_STACKSIZE=8192 +CONFIG_USER_ENTRYPOINT="nsh_main"