• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#===============================================================================
2# @brief    Kconfig file.
3# Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
4#===============================================================================
5config MIDDLEWARE_SUPPORT_FTM
6    bool
7    prompt "FTM"
8    default y
9    help
10        This option means support FTM.
11
12config MIDDLEWARE_SUPPORT_NV
13    bool
14    prompt "NV"
15    default y
16    help
17        This option means support nv.
18config MIDDLEWARE_NV_SUPPORT_HSO_ACCESS
19    bool
20    depends on MIDDLEWARE_SUPPORT_NV
21    prompt "NV Support HSO Access"
22    default n
23    help
24        This option means nv support HSO access.
25
26config PARTITION_FEATURE_SUPPORT
27    bool
28    depends on MIDDLEWARE_SUPPORT_NV
29    prompt "NV Support HSO Access"
30    default n
31    help
32        This option means nv support get addr by partition feature.
33
34config MIDDLEWARE_SUPPORT_UPG
35    bool
36    prompt "FOTA"
37    default y
38    help
39        This option means support FOTA.
40
41config MIDDLEWARE_SUPPORT_EXCEPT_DISABLE_WDT
42    bool
43    prompt "Disable wdt after exception"
44    default n
45    help
46        This option means support disable wdt after exception.
47
48choice
49depends on MIDDLEWARE_SUPPORT_UPG
50    prompt "FOTA TYPE"
51    default MIDDLEWARE_SUPPORT_UPG_COMPRESS
52    config MIDDLEWARE_SUPPORT_UPG_COMPRESS
53        bool
54        prompt "FOTA for compress"
55        default y
56        help
57            This option means support FOTA for compress.
58
59    config MIDDLEWARE_SUPPORT_UPG_AB
60        bool
61        prompt "FOTA for AB"
62        default n
63        help
64            This option means support FOTA for AB plane.
65endchoice
66
67config MIDDLEWARE_SUPPORT_UPG_COMPRESS_ENCRY
68    bool
69    prompt "OTA for compress encry"
70    default y
71    depends on MIDDLEWARE_SUPPORT_UPG_COMPRESS
72    help
73        This option means support FOTA for compress encry.
74
75config MIDDLEWARE_SUPPORT_UPG_SAMPLE_VERIFY
76    bool
77    prompt "OTA for sample verify"
78    default n
79    depends on MIDDLEWARE_SUPPORT_UPG
80    help
81        This option means support FOTA for compress encry.
82
83choice
84    prompt "EXCEPTION MODE"
85config MIDDLEWARE_SUPPORT_EXCEPT_REBOOT
86    bool
87    prompt "Reboot after exception"
88    default y
89    help
90        This option means support reboot after exception.
91config MIDDLEWARE_SUPPORT_EXCEPT_WAITFOREVER
92    bool
93    prompt "Wait forever after exception"
94    default n
95    help
96        This option means support wait forever after exception.
97endchoice
98
99config MIDDLEWARE_SUPPORT_LFS
100    bool
101    prompt "littlefs adapt"
102    default n
103    help
104        This option means support little file system.
105config LFS_PARTITION_ID
106    int
107    depends on MIDDLEWARE_SUPPORT_LFS
108    prompt "littlefs flash partition ID"
109    default 0x21
110    help
111        This option means support little file system partition ID.
112config LFS_ADAPT_DEBUG
113    bool
114    depends on MIDDLEWARE_SUPPORT_LFS
115    prompt "littlefs adapt debug print"
116    default n
117    help
118        This option means support little file system debug print.
119config LFS_ADAPT_WARN
120    bool
121    depends on MIDDLEWARE_SUPPORT_LFS
122    prompt "littlefs adapt warn print"
123    default n
124    help
125        This option means support little file system warn print.
126config LFS_ADAPT_ERROR
127    bool
128    depends on MIDDLEWARE_SUPPORT_LFS
129    prompt "littlefs adapt error print"
130    default y
131    help
132        This option means support little file system error print.
133config SUPPORT_CRASHINFO_SAVE_TO_FLASH
134    bool
135    prompt "save crash info into flash"
136    default n
137