2023-10-19 01:23:59 +08:00
|
|
|
CONFIG_TEST=y
|
|
|
|
# all printf, fprintf to stdout go to console
|
|
|
|
CONFIG_STDOUT_CONSOLE=y
|
|
|
|
|
|
|
|
# eliminate timer interrupts during the benchmark
|
|
|
|
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1
|
|
|
|
|
|
|
|
CONFIG_MAIN_THREAD_PRIORITY=6
|
|
|
|
CONFIG_FORCE_NO_ASSERT=y
|
|
|
|
|
|
|
|
# Disable HW Stack Protection (see #28664)
|
|
|
|
CONFIG_TEST_HW_STACK_PROTECTION=n
|
|
|
|
CONFIG_HW_STACK_PROTECTION=n
|
|
|
|
CONFIG_CBPRINTF_FP_SUPPORT=y
|
|
|
|
|
|
|
|
# Can only run under 1 CPU
|
|
|
|
CONFIG_MP_MAX_NUM_CPUS=1
|
|
|
|
|
|
|
|
# Enable pipes
|
|
|
|
CONFIG_PIPES=y
|
|
|
|
|
|
|
|
CONFIG_APPLICATION_DEFINED_SYSCALL=y
|
|
|
|
CONFIG_TIMING_FUNCTIONS=y
|
|
|
|
CONFIG_USERSPACE=y
|
2023-12-15 03:29:43 +08:00
|
|
|
|
|
|
|
# Disable time slicing
|
|
|
|
CONFIG_TIMESLICING=n
|
2024-02-24 23:37:06 +08:00
|
|
|
CONFIG_USERSPACE_THREAD_MAY_RAISE_PRIORITY=y
|