-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsdk.conf
65 lines (54 loc) · 1.91 KB
/
sdk.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
########################################
# WinnerMicro W800 Configuration
########################################
##########################
# Firmware Configuration
##########################
#
# Flash Map:
# Bootloader[0x08000000-0x08010000]: 64 KB
# OTA_REGION[0x08010000-0x080D0000]: 768 KB
# IMG_REGION[0x080D0000-0x08200000]: Image Region, MAX 0x130000 Bytes
# - APP_IMG[0x080D0000-??????????]: App Code, Size: 1MB + 128KB (End: 0x081F0400)
# - USR_DAT[0x081F1000-0x081FB000]: User Data (Max Size: 40KB) (End: 0x081FB000)
# SYSTEM_DAT[0x081FB000-0x08200000]: System parameter defined in wm_internal_fls.c
#
CONFIG_W800_IMAGE_OTA_ADDR = 0x08010000
CONFIG_W800_IMAGE_HEADER_ADDR = 0x080D0000
CONFIG_W800_IMAGE_APP_ADDR = 0x080D0400
CONFIG_W800_IMAGE_APP_SIZE = 0x00120000
CONFIG_W800_IMAGE_USR_ADDR = 0x081F1000
CONFIG_W800_IMAGE_END_ADDR = 0x081FB000
# External P-SRAM Max Size
CONFIG_W800_EXT_PSRAM_SIZE = 0x00800000
#
# Firmware Security
#
# 固件类型
# 0x0:SECBOOT;
# 0x1:User Image
# 0xE:ft 测试程序
# 其它值:用户自定义
CONFIG_W800_IMAGE_TYPE = 1
# 固件签名
# 0:IMAGE 不包含签名部分;
# 1:IMAGE 包含 128bytes 签名
CONFIG_W800_IMAGE_SIGN = 1
# 固件签名所用RSA密钥对路径(为空则使用默认密钥)
CONFIG_W800_IMAGE_SIGN_PRIKEY_PATH = ""
CONFIG_W800_IMAGE_SIGN_PUBKEY_PATH = ""
# 固件加密
# 是否启用固件加密
CONFIG_W800_CODE_ENCRYPT = 1
# 芯片内置 8 组 RSA 私钥用于解密固件加密的秘钥,用户可任选一组使用,取值范围 0~7(目前只能选 0)
CONFIG_W800_PRIKEY_SEL = 0
# 固件加密的 key (16 字节 ascii 码值)
CONFIG_W800_CODE_ENCRYPT_KEY = "0123456789abcdef"
#########################
# Compile Configuration
#########################
CONFIG_W800_FIRMWARE_DEBUG = y
#####################
# Components Config
#####################
CONFIG_USER_MAIN_TASK_STACK_SIZE = 4096