• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1config PLATFORM
2    string
3    default "hi3516dv300"     if PLATFORM_HI3516DV300
4    default "hi3518ev300"     if PLATFORM_HI3518EV300
5    default "virt"            if PLATFORM_QEMU_ARM_VIRT_CA7
6
7config PRODUCT_NAME
8    string "product name"
9    default "ipcamera_hi3516dv300_liteos" if PRODUCT_IPCAMERA_HI3516DV300_LITEOS
10    default "ipcamera_hi3518ev300_liteos" if PRODUCT_IPCAMERA_HI3518EV300_LITEOS
11    default "hispark_taurus" if PRODUCT_HISPARK_TAURUS
12    default "hispark_aries" if PRODUCT_HISPARK_ARIES
13    default "arm_virt" if PRODUCT_QEMU_ARM
14
15config DEVICE_COMPANY
16    string "vendor name"
17    default "hisilicon" if PLATFORM_HI3516DV300
18    default "hisilicon" if PLATFORM_HI3518EV300
19    default "qemu" if PLATFORM_QEMU_ARM_VIRT_CA7
20
21choice
22    prompt "Chip"
23    default PLATFORM_HI3516DV300
24    help
25      IP Camera has several chips:
26       - hi3516dv300
27       - hi3518ev300
28      Qemu ARM Virt variants (based on different CPU types):
29       - qemu_arm_virt_ca7
30
31config PLATFORM_HI3516DV300
32    bool "hi3516dv300"
33    select ARCH_CORTEX_A7
34
35config PLATFORM_HI3518EV300
36    bool "hi3518ev300"
37    select ARCH_CORTEX_A7
38
39config PLATFORM_QEMU_ARM_VIRT_CA7
40    bool "qemu_arm_virt_ca7"
41    select ARCH_CORTEX_A7
42    help
43        QEMU ARM Virtual Platform using Cortex-A7 CPU.
44
45endchoice
46
47choice
48    prompt "Product"
49    help
50      Select your target board.
51
52config PRODUCT_IPCAMERA_HI3516DV300_LITEOS
53    bool "ipcamera_hi3516dv300_liteos" if PLATFORM_HI3516DV300
54config PRODUCT_HISPARK_TAURUS
55    bool "hispark_taurus" if PLATFORM_HI3516DV300
56
57config PRODUCT_IPCAMERA_HI3518EV300_LITEOS
58    bool "ipcamera_hi3518ev300_liteos" if PLATFORM_HI3518EV300
59config PRODUCT_HISPARK_ARIES
60    bool "hispark_aries" if PLATFORM_HI3518EV300
61
62config PRODUCT_QEMU_ARM
63    bool "arm_virt" if PLATFORM_QEMU_ARM_VIRT_CA7
64endchoice
65
66config BOARD_CONFIG_PATH
67    string "Board config path"
68    default "config/board"
69
70config TEE_ENABLE
71    bool "Enable TEE"
72    default n
73    depends on PLATFORM_HI3516DV300
74    help
75        Enable teeos in platform
76
77config HRTIMER_ENABLE
78    bool "HR TIMER enable"
79    default y
80    help
81      Enable High-resolution timer support
82
83config HILOG
84    tristate "Hilog support"
85    default y
86    help
87      hilog buffer manager.
88
89      Hilog is a simple log manager for OpenHarmonyOS.
90      log string write to /dev/hilog, and the hilog driver copy it
91      to the ring buffer. Ring buffer can be read from userspace.
92
93config HILOG_BUFFER_SIZE
94    int "hilog buffer size"
95    default 4096
96    help
97      Define the default ring buffer size of hilog
98
99