project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp: Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem. sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately. sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades. sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for fastboot. Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
340 lines
7.5 KiB
Plaintext
340 lines
7.5 KiB
Plaintext
menu "RT-Thread Kernel"
|
|
|
|
choice
|
|
prompt "OS Core"
|
|
default RT_USING_CORE_RTTHREAD
|
|
|
|
config RT_USING_CORE_RTTHREAD
|
|
bool "Using rt-thread os core"
|
|
|
|
config RT_USING_CORE_FREERTOS
|
|
bool "Using freertos core"
|
|
|
|
endchoice
|
|
|
|
config RT_NAME_MAX
|
|
int "The maximal size of kernel object name"
|
|
range 2 32
|
|
default 8
|
|
help
|
|
Each kernel object, such as thread, timer, semaphore etc, has a name,
|
|
the RT_NAME_MAX is the maximal size of this object name.
|
|
|
|
config RT_ALIGN_SIZE
|
|
int "Alignment size for CPU architecture data access"
|
|
default 4
|
|
help
|
|
Alignment size for CPU architecture data access
|
|
|
|
choice
|
|
prompt "The maximal level value of priority of thread"
|
|
default RT_THREAD_PRIORITY_32
|
|
|
|
config RT_THREAD_PRIORITY_8
|
|
bool "8"
|
|
|
|
config RT_THREAD_PRIORITY_32
|
|
bool "32"
|
|
|
|
config RT_THREAD_PRIORITY_256
|
|
bool "256"
|
|
endchoice
|
|
|
|
config RT_THREAD_PRIORITY_MAX
|
|
int
|
|
default 8 if RT_THREAD_PRIORITY_8
|
|
default 32 if RT_THREAD_PRIORITY_32
|
|
default 256 if RT_THREAD_PRIORITY_256
|
|
|
|
config RT_TICK_PER_SECOND
|
|
int "Tick frequency, Hz"
|
|
range 10 1000
|
|
default 100
|
|
help
|
|
System's tick frequency, Hz.
|
|
|
|
config RT_USING_OVERFLOW_CHECK
|
|
bool "Using stack overflow checking"
|
|
default y
|
|
help
|
|
Enable thread stack overflow checking. The stack overflow is checking when
|
|
each thread switch.
|
|
|
|
config RT_USING_HOOK
|
|
bool "Enable system hook"
|
|
default y
|
|
select RT_USING_IDLE_HOOK
|
|
help
|
|
Enable the hook function when system running, such as idle thread hook,
|
|
thread context switch etc.
|
|
|
|
config RT_USING_IDLE_HOOK
|
|
bool "Enable IDLE Task hook"
|
|
default y if RT_USING_HOOK
|
|
|
|
if RT_USING_IDLE_HOOK
|
|
config RT_IDEL_HOOK_LIST_SIZE
|
|
int "The max size of idel hook list"
|
|
default 4
|
|
range 1 16
|
|
help
|
|
The system has a hook list. This is the hook list size.
|
|
endif
|
|
|
|
config IDLE_THREAD_STACK_SIZE
|
|
int "The stack size of idle thread"
|
|
default 256
|
|
|
|
config RT_USING_TIMER_SOFT
|
|
bool "Enable software timer with a timer thread"
|
|
default n
|
|
help
|
|
the timeout function context of soft-timer is under a high priority timer
|
|
thread.
|
|
|
|
if RT_USING_TIMER_SOFT
|
|
config RT_TIMER_THREAD_PRIO
|
|
int "The priority level value of timer thread"
|
|
default 4
|
|
|
|
config RT_TIMER_THREAD_STACK_SIZE
|
|
int "The stack size of timer thread"
|
|
default 512
|
|
|
|
endif
|
|
|
|
menuconfig RT_DEBUG
|
|
bool "Enable debugging features"
|
|
default y
|
|
|
|
if RT_DEBUG
|
|
|
|
config RT_DEBUG_COLOR
|
|
bool "Enable color debugging log"
|
|
default y
|
|
|
|
config RT_DEBUG_INIT_CONFIG
|
|
bool "Enable debugging of components initialization"
|
|
default n
|
|
|
|
config RT_DEBUG_INIT
|
|
int
|
|
default 1 if RT_DEBUG_INIT_CONFIG
|
|
|
|
config RT_DEBUG_USING_IO
|
|
bool "Enable io cmd"
|
|
default y
|
|
|
|
config RT_DEBUG_USING_GPIO
|
|
bool "Enable gpio cmd"
|
|
default n
|
|
|
|
config RT_DEBUG_THREAD_CONFIG
|
|
bool "Enable debugging of Thread State Changes"
|
|
default n
|
|
|
|
config RT_DEBUG_THREAD
|
|
int
|
|
default 1 if RT_DEBUG_THREAD_CONFIG
|
|
|
|
config RT_DEBUG_SCHEDULER_CONFIG
|
|
bool "Enable debugging of Scheduler"
|
|
default n
|
|
|
|
config RT_DEBUG_SCHEDULER
|
|
int
|
|
default 1 if RT_DEBUG_SCHEDULER_CONFIG
|
|
|
|
config RT_DEBUG_IPC_CONFIG
|
|
bool "Enable debugging of IPC"
|
|
default n
|
|
|
|
config RT_DEBUG_IPC
|
|
int
|
|
default 1 if RT_DEBUG_IPC_CONFIG
|
|
|
|
config RT_DEBUG_TIMER_CONFIG
|
|
bool "Enable debugging of Timer"
|
|
default n
|
|
|
|
config RT_DEBUG_TIMER
|
|
int
|
|
default 1 if RT_DEBUG_TIMER_CONFIG
|
|
|
|
config RT_DEBUG_IRQ_CONFIG
|
|
bool "Enable debugging of IRQ(Interrupt Request)"
|
|
default n
|
|
|
|
config RT_DEBUG_IRQ
|
|
int
|
|
default 1 if RT_DEBUG_IRQ_CONFIG
|
|
|
|
config RT_DEBUG_MEM_CONFIG
|
|
bool "Enable debugging of Small Memory Algorithm"
|
|
default n
|
|
|
|
config RT_DEBUG_MEM
|
|
int
|
|
default 1 if RT_DEBUG_MEM_CONFIG
|
|
|
|
config RT_DEBUG_SLAB_CONFIG
|
|
bool "Enable debugging of SLAB Memory Algorithm"
|
|
default n
|
|
|
|
config RT_DEBUG_SLAB
|
|
int
|
|
default 1 if RT_DEBUG_SLAB_CONFIG
|
|
|
|
config RT_DEBUG_MEMHEAP_CONFIG
|
|
bool "Enable debugging of Memory Heap Algorithm"
|
|
default n
|
|
|
|
config RT_DEBUG_MEMHEAP
|
|
int
|
|
default 1 if RT_DEBUG_MEMHEAP_CONFIG
|
|
|
|
config RT_DEBUG_MODULE_CONFIG
|
|
bool "Enable debugging of Application Module"
|
|
default n
|
|
|
|
config RT_DEBUG_MODULE
|
|
int
|
|
default 1 if RT_DEBUG_MODULE_CONFIG
|
|
|
|
endif
|
|
|
|
menu "Inter-Thread communication"
|
|
|
|
config RT_USING_SEMAPHORE
|
|
bool "Enable semaphore"
|
|
default y
|
|
|
|
config RT_USING_MUTEX
|
|
bool "Enable mutex"
|
|
default y
|
|
|
|
config RT_USING_EVENT
|
|
bool "Enable event flag"
|
|
default y
|
|
|
|
config RT_USING_MAILBOX
|
|
bool "Enable mailbox"
|
|
default y
|
|
|
|
config RT_USING_MESSAGEQUEUE
|
|
bool "Enable message queue"
|
|
default y
|
|
|
|
config RT_USING_SIGNALS
|
|
bool "Enable signals"
|
|
select RT_USING_MEMPOOL
|
|
default n
|
|
help
|
|
A signal is an asynchronous notification sent to a specific thread
|
|
in order to notify it of an event that occurred.
|
|
endmenu
|
|
|
|
menu "Memory Management"
|
|
|
|
config RT_USING_MEMPOOL
|
|
bool "Using memory pool"
|
|
default y
|
|
help
|
|
Using static memory fixed partition
|
|
|
|
config RT_USING_MEMHEAP
|
|
bool "Using memory heap object"
|
|
default n
|
|
help
|
|
Using memory heap object to manage dynamic memory heap.
|
|
|
|
choice
|
|
prompt "Dynamic Memory Management"
|
|
default RT_USING_SMALL_MEM
|
|
|
|
config RT_USING_NOHEAP
|
|
bool "Disable Heap"
|
|
|
|
config RT_USING_SMALL_MEM
|
|
bool "Small Memory Algorithm"
|
|
|
|
config RT_USING_SLAB
|
|
bool "SLAB Algorithm for large memory"
|
|
|
|
if RT_USING_MEMHEAP
|
|
config RT_USING_MEMHEAP_AS_HEAP
|
|
bool "Use all of memheap objects as heap"
|
|
endif
|
|
endchoice
|
|
|
|
if RT_USING_SMALL_MEM
|
|
config RT_USING_MEMTRACE
|
|
bool "Enable memory trace"
|
|
default n
|
|
help
|
|
When enable RT_USING_MEMTRACE with shell, developer can call cmd:
|
|
1. memtrace
|
|
to dump memory block information.
|
|
2. memcheck
|
|
to check memory block to avoid memory overwritten.
|
|
|
|
And developer also can call memcheck() in each of scheduling
|
|
to check memory block to find which thread has wrongly modified
|
|
memory.
|
|
endif
|
|
|
|
config RT_USING_HEAP
|
|
bool
|
|
default n if RT_USING_NOHEAP
|
|
default y if RT_USING_SMALL_MEM
|
|
default y if RT_USING_SLAB
|
|
default y if RT_USING_MEMHEAP_AS_HEAP
|
|
|
|
endmenu
|
|
|
|
menu "Kernel Device Object"
|
|
|
|
config RT_USING_DEVICE
|
|
bool "Using device object"
|
|
default y
|
|
|
|
config RT_USING_DEVICE_OPS
|
|
bool "Using ops for each device object"
|
|
default n
|
|
|
|
config RT_USING_INTERRUPT_INFO
|
|
bool "Enable additional interrupt trace information"
|
|
default n
|
|
help
|
|
Add name and counter information for interrupt trace.
|
|
|
|
config RT_USING_CONSOLE
|
|
bool "Using console for rt_kprintf"
|
|
default y
|
|
|
|
if RT_USING_CONSOLE
|
|
config RT_CONSOLEBUF_SIZE
|
|
int "the buffer size for console log printf"
|
|
default 128
|
|
|
|
config RT_CONSOLE_DEVICE_NAME
|
|
string "the device name for console"
|
|
default "uart"
|
|
|
|
config RT_CONSOLE_DEVICE_MUX
|
|
int "uart 1 mux"
|
|
depends on RT_CONSOLE_DEVICE_NAME="uart1"
|
|
default 0
|
|
|
|
endif
|
|
|
|
endmenu
|
|
|
|
config RT_VER_NUM
|
|
hex
|
|
default 0x30103
|
|
help
|
|
RT-Thread version number
|
|
|
|
endmenu
|