2022-06-09 14:27:30 +08:00
|
|
|
#
|
|
|
|
# Automatically generated file; DO NOT EDIT.
|
|
|
|
# RT-Thread Project Configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# RT-Thread Kernel
|
|
|
|
#
|
|
|
|
CONFIG_RT_NAME_MAX=8
|
|
|
|
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_SMART is not set
|
2023-10-08 11:01:28 +08:00
|
|
|
# CONFIG_RT_USING_AMP is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_SMP is not set
|
2023-01-12 12:25:57 +08:00
|
|
|
CONFIG_RT_ALIGN_SIZE=8
|
2022-06-09 14:27:30 +08:00
|
|
|
# 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=1000
|
|
|
|
CONFIG_RT_USING_OVERFLOW_CHECK=y
|
|
|
|
CONFIG_RT_USING_HOOK=y
|
2022-08-16 15:28:03 +08:00
|
|
|
CONFIG_RT_HOOK_USING_FUNC_PTR=y
|
2022-06-09 14:27:30 +08:00
|
|
|
CONFIG_RT_USING_IDLE_HOOK=y
|
|
|
|
CONFIG_RT_IDLE_HOOK_LIST_SIZE=4
|
|
|
|
CONFIG_IDLE_THREAD_STACK_SIZE=512
|
|
|
|
# CONFIG_RT_USING_TIMER_SOFT is not set
|
|
|
|
|
|
|
|
#
|
|
|
|
# kservice optimization
|
|
|
|
#
|
|
|
|
# CONFIG_RT_KSERVICE_USING_STDLIB is not set
|
|
|
|
# CONFIG_RT_KSERVICE_USING_TINY_SIZE is not set
|
|
|
|
# CONFIG_RT_USING_TINY_FFS is not set
|
2022-08-16 15:28:03 +08:00
|
|
|
# CONFIG_RT_KPRINTF_USING_LONGLONG is not set
|
2023-10-08 11:01:28 +08:00
|
|
|
CONFIG_RT_USING_DEBUG=y
|
|
|
|
CONFIG_RT_DEBUGING_COLOR=y
|
|
|
|
CONFIG_RT_DEBUGING_CONTEXT=y
|
|
|
|
# CONFIG_RT_DEBUGING_INIT is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|
2023-10-08 11:01:28 +08:00
|
|
|
# CONFIG_RT_USING_MESSAGEQUEUE_PRIORITY is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_SIGNALS is not set
|
|
|
|
|
|
|
|
#
|
|
|
|
# Memory Management
|
|
|
|
#
|
|
|
|
CONFIG_RT_USING_MEMPOOL=y
|
|
|
|
CONFIG_RT_USING_SMALL_MEM=y
|
|
|
|
# CONFIG_RT_USING_SLAB is not set
|
2022-08-16 15:28:03 +08:00
|
|
|
CONFIG_RT_USING_MEMHEAP=y
|
|
|
|
CONFIG_RT_MEMHEAP_FAST_MODE=y
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_MEMHEAP_BEST_MODE is not set
|
2022-08-16 15:28:03 +08:00
|
|
|
CONFIG_RT_USING_SMALL_MEM_AS_HEAP=y
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_MEMHEAP_AS_HEAP is not set
|
2022-08-16 15:28:03 +08:00
|
|
|
# CONFIG_RT_USING_SLAB_AS_HEAP is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_USERHEAP is not set
|
2022-08-16 15:28:03 +08:00
|
|
|
# CONFIG_RT_USING_NOHEAP is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_MEMTRACE is not set
|
2022-08-16 15:28:03 +08:00
|
|
|
# CONFIG_RT_USING_HEAP_ISR is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
CONFIG_RT_USING_HEAP=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# Kernel Device Object
|
|
|
|
#
|
|
|
|
CONFIG_RT_USING_DEVICE=y
|
|
|
|
CONFIG_RT_USING_DEVICE_OPS=y
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_DM is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_INTERRUPT_INFO is not set
|
|
|
|
CONFIG_RT_USING_CONSOLE=y
|
|
|
|
CONFIG_RT_CONSOLEBUF_SIZE=128
|
|
|
|
CONFIG_RT_CONSOLE_DEVICE_NAME="uart2"
|
2023-10-08 11:01:28 +08:00
|
|
|
CONFIG_RT_VER_NUM=0x50002
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_STDC_ATOMIC is not set
|
|
|
|
CONFIG_RT_USING_CACHE=y
|
|
|
|
CONFIG_RT_USING_HW_ATOMIC=y
|
|
|
|
# CONFIG_ARCH_ARM_BOOTWITH_FLUSH_CACHE is not set
|
|
|
|
# CONFIG_ARCH_CPU_STACK_GROWS_UPWARD is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
CONFIG_RT_USING_CPU_FFS=y
|
2023-03-31 16:49:48 +08:00
|
|
|
CONFIG_ARCH_ARM=y
|
2022-06-09 14:27:30 +08:00
|
|
|
CONFIG_ARCH_ARM_CORTEX_M=y
|
|
|
|
CONFIG_ARCH_ARM_CORTEX_M4=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|
2022-08-16 15:28:03 +08:00
|
|
|
CONFIG_RT_USING_FINSH=y
|
2022-06-09 14:27:30 +08:00
|
|
|
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
|
2023-10-08 11:01:28 +08:00
|
|
|
CONFIG_FINSH_USING_OPTION_COMPLETION=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# DFS: device virtual file system
|
|
|
|
#
|
2022-06-09 14:27:30 +08:00
|
|
|
CONFIG_RT_USING_DFS=y
|
|
|
|
CONFIG_DFS_USING_POSIX=y
|
|
|
|
CONFIG_DFS_USING_WORKDIR=y
|
2023-10-08 11:01:28 +08:00
|
|
|
# CONFIG_RT_USING_DFS_MNTTABLE is not set
|
|
|
|
CONFIG_DFS_FD_MAX=16
|
|
|
|
CONFIG_RT_USING_DFS_V1=y
|
|
|
|
# CONFIG_RT_USING_DFS_V2 is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
CONFIG_DFS_FILESYSTEMS_MAX=4
|
|
|
|
CONFIG_DFS_FILESYSTEM_TYPES_MAX=4
|
|
|
|
# CONFIG_RT_USING_DFS_ELMFAT is not set
|
|
|
|
CONFIG_RT_USING_DFS_DEVFS=y
|
|
|
|
# CONFIG_RT_USING_DFS_ROMFS is not set
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_DFS_CROMFS is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_DFS_RAMFS is not set
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_DFS_TMPFS is not set
|
2023-10-08 11:01:28 +08:00
|
|
|
# CONFIG_RT_USING_DFS_MQUEUE is not set
|
2022-08-16 15:28:03 +08:00
|
|
|
# CONFIG_RT_USING_FAL is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Device Drivers
|
|
|
|
#
|
|
|
|
CONFIG_RT_USING_DEVICE_IPC=y
|
2023-03-31 16:49:48 +08:00
|
|
|
CONFIG_RT_UNAMED_PIPE_NUMBER=64
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_SYSTEM_WORKQUEUE is not set
|
|
|
|
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_HWTIMER 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_PIN=y
|
|
|
|
# CONFIG_RT_USING_ADC is not set
|
|
|
|
# CONFIG_RT_USING_DAC is not set
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_NULL is not set
|
|
|
|
# CONFIG_RT_USING_ZERO is not set
|
|
|
|
# CONFIG_RT_USING_RANDOM is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_PWM 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
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_FDT is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# 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
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_LCD is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_HWCRYPTO is not set
|
|
|
|
# CONFIG_RT_USING_PULSE_ENCODER is not set
|
|
|
|
# CONFIG_RT_USING_INPUT_CAPTURE is not set
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_DEV_BUS is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_WIFI is not set
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_VIRTIO is not set
|
2023-10-08 11:01:28 +08:00
|
|
|
# CONFIG_RT_USING_KTIME is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Using USB
|
|
|
|
#
|
|
|
|
# CONFIG_RT_USING_USB is not set
|
|
|
|
# CONFIG_RT_USING_USB_HOST is not set
|
|
|
|
# CONFIG_RT_USING_USB_DEVICE is not set
|
|
|
|
|
|
|
|
#
|
2022-08-16 15:28:03 +08:00
|
|
|
# C/C++ and POSIX layer
|
2022-06-09 14:27:30 +08:00
|
|
|
#
|
2023-10-08 11:01:28 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|
2022-06-09 14:27:30 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# POSIX (Portable Operating System Interface) layer
|
|
|
|
#
|
|
|
|
# CONFIG_RT_USING_POSIX_FS is not set
|
|
|
|
# CONFIG_RT_USING_POSIX_DELAY is not set
|
2022-08-16 15:28:03 +08:00
|
|
|
# CONFIG_RT_USING_POSIX_CLOCK is not set
|
|
|
|
# CONFIG_RT_USING_POSIX_TIMER is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_PTHREADS is not set
|
2022-08-16 15:28:03 +08:00
|
|
|
# CONFIG_RT_USING_MODULE is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
|
|
|
|
#
|
2022-08-16 15:28:03 +08:00
|
|
|
# Interprocess Communication (IPC)
|
2022-06-09 14:27:30 +08:00
|
|
|
#
|
2022-08-16 15:28:03 +08:00
|
|
|
# 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
|
2022-06-09 14:27:30 +08:00
|
|
|
|
|
|
|
#
|
2022-08-16 15:28:03 +08:00
|
|
|
# Socket is in the 'Network' category
|
2022-06-09 14:27:30 +08:00
|
|
|
#
|
2022-08-16 15:28:03 +08:00
|
|
|
# CONFIG_RT_USING_CPLUSPLUS is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
|
|
|
|
#
|
2022-08-16 15:28:03 +08:00
|
|
|
# Network
|
2022-06-09 14:27:30 +08:00
|
|
|
#
|
2022-08-16 15:28:03 +08:00
|
|
|
# CONFIG_RT_USING_SAL is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_NETDEV is not set
|
|
|
|
# CONFIG_RT_USING_LWIP is not set
|
|
|
|
# CONFIG_RT_USING_AT is not set
|
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|
2023-10-08 11:01:28 +08:00
|
|
|
# CONFIG_RT_USING_RESOURCE_ID is not set
|
2023-03-31 16:49:48 +08:00
|
|
|
# CONFIG_RT_USING_ADT is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
# CONFIG_RT_USING_RT_LINK is not set
|
2022-08-16 15:28:03 +08:00
|
|
|
# CONFIG_RT_USING_VBUS is not set
|
2022-06-09 14:27:30 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# RT-Thread Utestcases
|
|
|
|
#
|
|
|
|
# CONFIG_RT_USING_UTESTCASES is not set
|
|
|
|
CONFIG_BSP_RK2108=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# RT-Thread board config
|
|
|
|
#
|
|
|
|
CONFIG_RT_BOARD_NAME="rk2108_evb"
|
|
|
|
CONFIG_RT_RUN_MEM_BASE=0x20000000
|
|
|
|
CONFIG_RT_RUN_MEM_SIZE=0x00100000
|
|
|
|
CONFIG_M4_JTAG_ENABLE=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# RT-Thread rockchip common drivers
|
|
|
|
#
|
|
|
|
# CONFIG_RT_USING_RESET is not set
|
|
|
|
# CONFIG_RT_USING_UNCACHE_HEAP is not set
|
|
|
|
# CONFIG_RT_USING_LARGE_HEAP is not set
|
|
|
|
CONFIG_RT_USING_PM_RUNTIME=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# RT-Thread rockchip RK2108 drivers
|
|
|
|
#
|
|
|
|
CONFIG_RT_USING_CRU=y
|
|
|
|
|
|
|
|
#
|
|
|
|
# Enable UART
|
|
|
|
#
|
|
|
|
CONFIG_RT_USING_UART=y
|
|
|
|
# CONFIG_RT_USING_UART0 is not set
|
|
|
|
# CONFIG_RT_USING_UART1 is not set
|
|
|
|
CONFIG_RT_USING_UART2=y
|
|
|
|
CONFIG_RT_USING_SYSTICK=y
|