WS63 SDK 文档
7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
upg_default_config.h
浏览该文件的文档.
1
/*
2
* Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2021-2021. All rights reserved.
3
* Description: UPG config file
4
*/
5
#ifndef UPG_DEFAULT_CONFIG_H
6
#define UPG_DEFAULT_CONFIG_H
7
8
#ifndef UPG_PRODUCT_CONFIG_H
9
#error "Include "upg_config.h" if necessary. Do not include this file directly! "
10
#endif
11
12
#ifndef UPG_CFG_DEBUG_ENABLED
13
#define UPG_CFG_DEBUG_ENABLED NO
14
#endif
15
16
#ifndef UPG_CFG_DEBUG_PRINT_ENABLED
17
#define UPG_CFG_DEBUG_PRINT_ENABLED NO
18
#endif
19
20
#ifndef UPG_CFG_DIRECT_FLASH_ACCESS
21
#define UPG_CFG_DIRECT_FLASH_ACCESS NO
22
#endif
23
24
#ifndef UPG_CFG_PROCESS_NOTIFY_SUPPORT
25
#define UPG_CFG_PROCESS_NOTIFY_SUPPORT NO
26
#endif
27
28
#ifndef UPG_CFG_VERIFICATION_SUPPORT
29
#define UPG_CFG_VERIFICATION_SUPPORT NO
30
#endif
31
32
#ifndef UPG_CFG_NV_UPGRADE_SUPPORT
33
#define UPG_CFG_NV_UPGRADE_SUPPORT NO
34
#endif
35
36
#ifndef UPG_CFG_DIFF_UPGRADE_SUPPORT
37
#define UPG_CFG_DIFF_UPGRADE_SUPPORT YES
38
#endif
39
40
#ifndef UPG_CFG_IMGAE_DECRYPT_SUPPORT
41
#define UPG_CFG_IMGAE_DECRYPT_SUPPORT NO
42
#endif
43
44
#ifndef UPG_CFG_PROGRESS_RECOVERY_SUPPORT
45
#define UPG_CFG_PROGRESS_RECOVERY_SUPPORT YES
46
#endif
47
48
#ifndef UPG_CFG_ANTI_ROLLBACK_SUPPORT
49
#define UPG_CFG_ANTI_ROLLBACK_SUPPORT NO
50
#endif
51
52
#ifndef UPG_CFG_HASH_VERIFY_SUPPORT
53
#define UPG_CFG_HASH_VERIFY_SUPPORT NO
54
#endif
55
56
#ifndef UPG_CFG_SIGNATURE_VERIFY_SUPPORT
57
#define UPG_CFG_SIGNATURE_VERIFY_SUPPORT NO
58
#endif
59
60
#ifndef UPG_CFG_SUPPORT_FILE_SYSTEM
61
#define UPG_CFG_SUPPORT_FILE_SYSTEM YES
62
#endif
63
64
#if ((UPG_CFG_DIFF_UPGRADE_SUPPORT == YES) && (UPG_CFG_PROGRESS_RECOVERY_SUPPORT != YES))
65
#error "MUST SUPPORT PROGRESS RECOVERY IN DIFF UPGRADE !"
66
#endif
67
68
#ifndef UPG_CFG_MEMORY_DCACHE_ENABLED
69
#define UPG_CFG_MEMORY_DCACHE_ENABLED NO
70
#endif
71
72
#ifndef UPG_CFG_SUPPORT_IMAGE_ON_FILE_SYSTEM
73
#define UPG_CFG_SUPPORT_IMAGE_ON_FILE_SYSTEM NO
74
#endif
75
76
#ifndef UPG_CFG_SUPPORT_RESOURCES_FILE
77
#define UPG_CFG_SUPPORT_RESOURCES_FILE NO
78
#endif
79
80
#ifndef UPG_CFG_SUPPORT_ERASE_WHOLE_IMAGE
81
#define UPG_CFG_SUPPORT_ERASE_WHOLE_IMAGE NO
82
#endif
83
84
#endif
/* UPG_DEFAULT_CONFIG_H */
src
middleware
utils
update
inner_include
upg_default_config.h
由
William Goodspeed
维护 | E-mail: gongzl@stu.hebust.edu.cn | Wechat: a23333344 | ALSO CHECKOUT
WS63FLASH
!
生成于 2025年 一月 4日 星期六 17:47:12 , 为 WS63 SDK 文档使用
1.9.8