Files
openharmony_kernel_liteos_a/platform/Kconfig
shenchenkai 12cc392f46 Description:[feature] support customized hilog ring buffer size
Change-Id: I5d23deaada5939bbb6fb57505f72c2348bd6afe9
Signed-off-by: shenchenkai <shenchenkai@huawei.com>
2021-12-17 15:56:15 +08:00

99 lines
2.5 KiB
Plaintext

config PLATFORM
string
default "hi3516dv300" if PLATFORM_HI3516DV300
default "hi3518ev300" if PLATFORM_HI3518EV300
default "virt" if PLATFORM_QEMU_ARM_VIRT_CA7
config PRODUCT_NAME
string "product name"
default "ipcamera_hi3516dv300_liteos" if PRODUCT_IPCAMERA_HI3516DV300_LITEOS
default "ipcamera_hi3518ev300_liteos" if PRODUCT_IPCAMERA_HI3518EV300_LITEOS
default "hispark_taurus" if PRODUCT_HISPARK_TAURUS
default "hispark_aries" if PRODUCT_HISPARK_ARIES
default "arm_virt" if PRODUCT_QEMU_ARM
config DEVICE_COMPANY
string "vendor name"
default "hisilicon" if PLATFORM_HI3516DV300
default "hisilicon" if PLATFORM_HI3518EV300
default "qemu" if PLATFORM_QEMU_ARM_VIRT_CA7
choice
prompt "Chip"
default PLATFORM_HI3516DV300
help
IP Camera has several chips:
- hi3516dv300
- hi3518ev300
Qemu ARM Virt variants (based on different CPU types):
- qemu_arm_virt_ca7
config PLATFORM_HI3516DV300
bool "hi3516dv300"
select ARCH_CORTEX_A7
config PLATFORM_HI3518EV300
bool "hi3518ev300"
select ARCH_CORTEX_A7
config PLATFORM_QEMU_ARM_VIRT_CA7
bool "qemu_arm_virt_ca7"
select ARCH_CORTEX_A7
help
QEMU ARM Virtual Platform using Cortex-A7 CPU.
endchoice
choice
prompt "Product"
help
Select your target board.
config PRODUCT_IPCAMERA_HI3516DV300_LITEOS
bool "ipcamera_hi3516dv300_liteos" if PLATFORM_HI3516DV300
config PRODUCT_HISPARK_TAURUS
bool "hispark_taurus" if PLATFORM_HI3516DV300
config PRODUCT_IPCAMERA_HI3518EV300_LITEOS
bool "ipcamera_hi3518ev300_liteos" if PLATFORM_HI3518EV300
config PRODUCT_HISPARK_ARIES
bool "hispark_aries" if PLATFORM_HI3518EV300
config PRODUCT_QEMU_ARM
bool "arm_virt" if PLATFORM_QEMU_ARM_VIRT_CA7
endchoice
config BOARD_CONFIG_PATH
string "Board config path"
default "config/board"
config TEE_ENABLE
bool "Enable TEE"
default n
depends on PLATFORM_HI3516DV300
help
Enable teeos in platform
config HRTIMER_ENABLE
bool "HR TIMER enable"
default y
help
Enable High-resolution timer support
config HILOG
tristate "Hilog support"
default y
help
hilog buffer manager.
Hilog is a simple log manager for OpenHarmonyOS.
log string write to /dev/hilog, and the hilog driver copy it
to the ring buffer. Ring buffer can be read from userspace.
config HILOG_BUFFER_SIZE
int "hilog buffer size"
default 4096
help
Define the default ring buffer size of hilog