301 lines
7.3 KiB
Plaintext
301 lines
7.3 KiB
Plaintext
|
|
#
|
|
# RT-Thread Kernel
|
|
#
|
|
CONFIG_RT_NAME_MAX=8
|
|
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
|
|
# CONFIG_RT_USING_NANO is not set
|
|
# CONFIG_RT_USING_AMP is not set
|
|
# CONFIG_RT_USING_SMP is not set
|
|
CONFIG_RT_CPUS_NR=1
|
|
CONFIG_RT_ALIGN_SIZE=8
|
|
# CONFIG_RT_THREAD_PRIORITY_8 is not set
|
|
CONFIG_RT_THREAD_PRIORITY_32=y
|
|
# CONFIG_RT_THREAD_PRIORITY_256 is not set
|
|
CONFIG_RT_THREAD_PRIORITY_MAX=32
|
|
CONFIG_RT_TICK_PER_SECOND=100
|
|
CONFIG_RT_USING_HOOK=y
|
|
CONFIG_RT_HOOK_USING_FUNC_PTR=y
|
|
# CONFIG_RT_USING_HOOKLIST is not set
|
|
CONFIG_RT_USING_IDLE_HOOK=y
|
|
CONFIG_RT_IDLE_HOOK_LIST_SIZE=4
|
|
CONFIG_IDLE_THREAD_STACK_SIZE=256
|
|
# CONFIG_RT_USING_TIMER_SOFT is not set
|
|
# CONFIG_RT_USING_CPU_USAGE_TRACER is not set
|
|
|
|
#
|
|
# kservice optimization
|
|
#
|
|
# CONFIG_RT_USING_TINY_FFS is not set
|
|
# end of kservice optimization
|
|
|
|
#
|
|
# klibc optimization
|
|
#
|
|
# CONFIG_RT_KLIBC_USING_STDLIB is not set
|
|
# CONFIG_RT_KLIBC_USING_TINY_SIZE is not set
|
|
# CONFIG_RT_KLIBC_USING_PRINTF_LONGLONG is not set
|
|
# end of klibc optimization
|
|
|
|
CONFIG_RT_USING_DEBUG=y
|
|
CONFIG_RT_DEBUGING_ASSERT=y
|
|
CONFIG_RT_DEBUGING_COLOR=y
|
|
CONFIG_RT_DEBUGING_CONTEXT=y
|
|
# CONFIG_RT_DEBUGING_AUTO_INIT is not set
|
|
CONFIG_RT_USING_OVERFLOW_CHECK=y
|
|
|
|
#
|
|
# Inter-Thread communication
|
|
#
|
|
CONFIG_RT_USING_SEMAPHORE=y
|
|
CONFIG_RT_USING_MUTEX=y
|
|
CONFIG_RT_USING_EVENT=y
|
|
CONFIG_RT_USING_MAILBOX=y
|
|
CONFIG_RT_USING_MESSAGEQUEUE=y
|
|
# CONFIG_RT_USING_MESSAGEQUEUE_PRIORITY is not set
|
|
# CONFIG_RT_USING_SIGNALS is not set
|
|
# end of Inter-Thread communication
|
|
|
|
#
|
|
# Memory Management
|
|
#
|
|
CONFIG_RT_USING_MEMPOOL=y
|
|
CONFIG_RT_USING_SMALL_MEM=y
|
|
# CONFIG_RT_USING_SLAB is not set
|
|
# CONFIG_RT_USING_MEMHEAP is not set
|
|
CONFIG_RT_USING_SMALL_MEM_AS_HEAP=y
|
|
# CONFIG_RT_USING_MEMHEAP_AS_HEAP is not set
|
|
# CONFIG_RT_USING_SLAB_AS_HEAP is not set
|
|
# CONFIG_RT_USING_USERHEAP is not set
|
|
# CONFIG_RT_USING_NOHEAP is not set
|
|
# CONFIG_RT_USING_MEMTRACE is not set
|
|
# CONFIG_RT_USING_HEAP_ISR is not set
|
|
CONFIG_RT_USING_HEAP=y
|
|
# end of Memory Management
|
|
|
|
CONFIG_RT_USING_DEVICE=y
|
|
# CONFIG_RT_USING_DEVICE_OPS is not set
|
|
# CONFIG_RT_USING_INTERRUPT_INFO is not set
|
|
# CONFIG_RT_USING_THREADSAFE_PRINTF is not set
|
|
CONFIG_RT_USING_CONSOLE=y
|
|
CONFIG_RT_CONSOLEBUF_SIZE=128
|
|
CONFIG_RT_CONSOLE_DEVICE_NAME="uart0"
|
|
CONFIG_RT_VER_NUM=0x50200
|
|
# CONFIG_RT_USING_STDC_ATOMIC is not set
|
|
CONFIG_RT_BACKTRACE_LEVEL_MAX_NR=32
|
|
# end of RT-Thread Kernel
|
|
|
|
#
|
|
# RT-Thread Components
|
|
#
|
|
CONFIG_RT_USING_COMPONENTS_INIT=y
|
|
CONFIG_RT_USING_USER_MAIN=y
|
|
CONFIG_RT_MAIN_THREAD_STACK_SIZE=2048
|
|
CONFIG_RT_MAIN_THREAD_PRIORITY=10
|
|
# CONFIG_RT_USING_LEGACY is not set
|
|
CONFIG_RT_USING_MSH=y
|
|
CONFIG_RT_USING_FINSH=y
|
|
CONFIG_FINSH_USING_MSH=y
|
|
CONFIG_FINSH_THREAD_NAME="tshell"
|
|
CONFIG_FINSH_THREAD_PRIORITY=20
|
|
CONFIG_FINSH_THREAD_STACK_SIZE=4096
|
|
CONFIG_FINSH_USING_HISTORY=y
|
|
CONFIG_FINSH_HISTORY_LINES=5
|
|
CONFIG_FINSH_USING_SYMTAB=y
|
|
CONFIG_FINSH_CMD_SIZE=80
|
|
CONFIG_MSH_USING_BUILT_IN_COMMANDS=y
|
|
CONFIG_FINSH_USING_DESCRIPTION=y
|
|
# CONFIG_FINSH_ECHO_DISABLE_DEFAULT is not set
|
|
# CONFIG_FINSH_USING_AUTH is not set
|
|
CONFIG_FINSH_ARG_MAX=10
|
|
CONFIG_FINSH_USING_OPTION_COMPLETION=y
|
|
|
|
#
|
|
# DFS: device virtual file system
|
|
#
|
|
# CONFIG_RT_USING_DFS is not set
|
|
# end of DFS: device virtual file system
|
|
|
|
# CONFIG_RT_USING_FAL is not set
|
|
|
|
#
|
|
# Device Drivers
|
|
#
|
|
# CONFIG_RT_USING_DM is not set
|
|
# CONFIG_RT_USING_DEV_BUS is not set
|
|
CONFIG_RT_USING_DEVICE_IPC=y
|
|
CONFIG_RT_UNAMED_PIPE_NUMBER=64
|
|
CONFIG_RT_USING_SYSTEM_WORKQUEUE=y
|
|
CONFIG_RT_SYSTEM_WORKQUEUE_STACKSIZE=2048
|
|
CONFIG_RT_SYSTEM_WORKQUEUE_PRIORITY=23
|
|
CONFIG_RT_USING_SERIAL=y
|
|
CONFIG_RT_USING_SERIAL_V1=y
|
|
# CONFIG_RT_USING_SERIAL_V2 is not set
|
|
CONFIG_RT_SERIAL_USING_DMA=y
|
|
CONFIG_RT_SERIAL_RB_BUFSZ=64
|
|
# CONFIG_RT_USING_CAN is not set
|
|
# CONFIG_RT_USING_CPUTIME is not set
|
|
# CONFIG_RT_USING_I2C is not set
|
|
# CONFIG_RT_USING_PHY is not set
|
|
# CONFIG_RT_USING_ADC is not set
|
|
# CONFIG_RT_USING_DAC is not set
|
|
# CONFIG_RT_USING_NULL is not set
|
|
# CONFIG_RT_USING_ZERO is not set
|
|
# CONFIG_RT_USING_RANDOM is not set
|
|
# CONFIG_RT_USING_PWM is not set
|
|
# CONFIG_RT_USING_PULSE_ENCODER is not set
|
|
# CONFIG_RT_USING_INPUT_CAPTURE is not set
|
|
# CONFIG_RT_USING_MTD_NOR is not set
|
|
# CONFIG_RT_USING_MTD_NAND is not set
|
|
# CONFIG_RT_USING_PM is not set
|
|
# CONFIG_RT_USING_RTC is not set
|
|
# CONFIG_RT_USING_SDIO is not set
|
|
# CONFIG_RT_USING_SPI is not set
|
|
# CONFIG_RT_USING_WDT is not set
|
|
# CONFIG_RT_USING_AUDIO is not set
|
|
# CONFIG_RT_USING_SENSOR is not set
|
|
# CONFIG_RT_USING_TOUCH is not set
|
|
# CONFIG_RT_USING_LCD is not set
|
|
# CONFIG_RT_USING_HWCRYPTO is not set
|
|
# CONFIG_RT_USING_WIFI is not set
|
|
# CONFIG_RT_USING_VIRTIO is not set
|
|
CONFIG_RT_USING_PIN=y
|
|
# CONFIG_RT_USING_KTIME is not set
|
|
# CONFIG_RT_USING_HWTIMER is not set
|
|
# CONFIG_RT_USING_CHERRYUSB is not set
|
|
# end of Device Drivers
|
|
|
|
#
|
|
# C/C++ and POSIX layer
|
|
#
|
|
|
|
#
|
|
# ISO-ANSI C layer
|
|
#
|
|
|
|
#
|
|
# Timezone and Daylight Saving Time
|
|
#
|
|
# CONFIG_RT_LIBC_USING_FULL_TZ_DST is not set
|
|
CONFIG_RT_LIBC_USING_LIGHT_TZ_DST=y
|
|
CONFIG_RT_LIBC_TZ_DEFAULT_HOUR=8
|
|
CONFIG_RT_LIBC_TZ_DEFAULT_MIN=0
|
|
CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0
|
|
# end of Timezone and Daylight Saving Time
|
|
# end of ISO-ANSI C layer
|
|
|
|
#
|
|
# POSIX (Portable Operating System Interface) layer
|
|
#
|
|
# CONFIG_RT_USING_POSIX_FS is not set
|
|
# CONFIG_RT_USING_POSIX_DELAY is not set
|
|
# CONFIG_RT_USING_POSIX_CLOCK is not set
|
|
# CONFIG_RT_USING_POSIX_TIMER is not set
|
|
# CONFIG_RT_USING_PTHREADS is not set
|
|
# CONFIG_RT_USING_MODULE is not set
|
|
|
|
#
|
|
# Interprocess Communication (IPC)
|
|
#
|
|
# CONFIG_RT_USING_POSIX_PIPE is not set
|
|
# CONFIG_RT_USING_POSIX_MESSAGE_QUEUE is not set
|
|
# CONFIG_RT_USING_POSIX_MESSAGE_SEMAPHORE is not set
|
|
|
|
#
|
|
# Socket is in the 'Network' category
|
|
#
|
|
# end of Interprocess Communication (IPC)
|
|
# end of POSIX (Portable Operating System Interface) layer
|
|
|
|
# CONFIG_RT_USING_CPLUSPLUS is not set
|
|
# end of C/C++ and POSIX layer
|
|
|
|
#
|
|
# Network
|
|
#
|
|
# CONFIG_RT_USING_SAL is not set
|
|
# CONFIG_RT_USING_NETDEV is not set
|
|
# CONFIG_RT_USING_LWIP is not set
|
|
# CONFIG_RT_USING_AT is not set
|
|
# end of Network
|
|
|
|
#
|
|
# Memory protection
|
|
#
|
|
# CONFIG_RT_USING_MEM_PROTECTION is not set
|
|
# CONFIG_RT_USING_HW_STACK_GUARD is not set
|
|
# end of Memory protection
|
|
|
|
#
|
|
# Utilities
|
|
#
|
|
# CONFIG_RT_USING_RYM is not set
|
|
# CONFIG_RT_USING_ULOG is not set
|
|
# CONFIG_RT_USING_UTEST is not set
|
|
# CONFIG_RT_USING_VAR_EXPORT is not set
|
|
# CONFIG_RT_USING_RESOURCE_ID is not set
|
|
# CONFIG_RT_USING_ADT is not set
|
|
# CONFIG_RT_USING_RT_LINK is not set
|
|
# end of Utilities
|
|
|
|
# CONFIG_RT_USING_VBUS is not set
|
|
|
|
#
|
|
# Using USB legacy version
|
|
#
|
|
# CONFIG_RT_USING_USB_HOST is not set
|
|
# CONFIG_RT_USING_USB_DEVICE is not set
|
|
# end of Using USB legacy version
|
|
|
|
# CONFIG_RT_USING_FDT is not set
|
|
# end of RT-Thread Components
|
|
|
|
#
|
|
# RT-Thread Utestcases
|
|
#
|
|
# CONFIG_RT_USING_UTESTCASES is not set
|
|
# end of RT-Thread Utestcases
|
|
|
|
#
|
|
# Hardware Drivers Config
|
|
#
|
|
|
|
#
|
|
# SOC Series
|
|
#
|
|
CONFIG_SOC_SERIES_GD32E50x=y
|
|
CONFIG_SOC_GD32503V=y
|
|
# end of SOC Series
|
|
|
|
#
|
|
# Onboard Peripheral Drivers
|
|
#
|
|
|
|
#
|
|
# On-chip Peripheral Drivers
|
|
#
|
|
CONFIG_BSP_USING_GPIO=y
|
|
CONFIG_BSP_USING_UART=y
|
|
CONFIG_BSP_USING_UART0=y
|
|
# CONFIG_BSP_UART0_RX_USING_DMA is not set
|
|
# CONFIG_BSP_USING_UART1 is not set
|
|
# CONFIG_BSP_USING_UART2 is not set
|
|
# CONFIG_BSP_USING_UART3 is not set
|
|
# CONFIG_BSP_USING_UART4 is not set
|
|
# CONFIG_BSP_USING_UART5 is not set
|
|
# CONFIG_BSP_USING_SPI is not set
|
|
# CONFIG_BSP_USING_I2C1 is not set
|
|
# CONFIG_BSP_USING_ADC is not set
|
|
# CONFIG_BSP_USING_TIM is not set
|
|
# CONFIG_BSP_USING_ONCHIP_RTC is not set
|
|
# CONFIG_BSP_USING_WDT is not set
|
|
# CONFIG_BSP_USING_SDIO is not set
|
|
# CONFIG_BSP_USING_USBD is not set
|
|
# CONFIG_BSP_USING_USBH is not set
|
|
# end of On-chip Peripheral Drivers
|
|
|
|
#
|
|
# Board extended module Drivers
|
|
#
|
|
# end of Hardware Drivers Config
|