-
Notifications
You must be signed in to change notification settings - Fork 0
/
sdk.config
73 lines (58 loc) · 1.55 KB
/
sdk.config
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
66
67
68
69
70
71
72
73
# Autotiler Options
CONFIG_CNN_SQ8=y
CONFIG_CNN_POW2=n
CONFIG_CNN_FP16=y
CONFIG_CNN_NE16=y
CONFIG_MODEL_HAS_NO_CONSTANTS=n
CONFIG_MODEL_FLASH_TYPE_DEFAULT=n
CONFIG_MODEL_FLASH_TYPE_MRAM=y
CONFIG_MODEL_RAM_TYPE_DEFAULT=y
# Autotiler libraries float type
CONFIG_MODEL_FLOAT16_TYPE_IEEE16=n
CONFIG_MODEL_FLOAT16_TYPE_BFLOAT16=y
# Memory sizes for cluster L1, SoC L2 and Flash
CONFIG_MODEL_L1_MEMORY=128000
CONFIG_MODEL_L2_MEMORY=1100000
CONFIG_MODEL_L3_MEMORY=8000000
CONFIG_MODEL_LOGLEVEL=1
# Cluster stack size for master core and other cores
CONFIG_FC_APP_MAIN_STACK_SIZE=8192
CONFIG_CL_MASTER_CORE_STACK_SIZE=4096
CONFIG_CL_SLAVE_CORE_STACK_SIZE=1024
CONFIG_ENABLE_AUTOTILER=y
CONFIG_GAP_LIB_IMG_IO=y
CONFIG_DRIVER_HOSTFS=y
CONFIG_DRIVER_READFS=y
CONFIG_PLATFORM_BOARD=y
#CONFIG_BOARD_GAP9_V2_VIRTUAL=n
CONFIG_BOARD_GAP9MOD_V1_0_B=y
#CONFIG_BOARD_GAP9EVK_V1_3=n
CONFIG_BOARD_GAP9EVK_V2_0=y
CONFIG_DRIVER_TYPE_FLASH=y
CONFIG_DRIVER_TYPE_RAM=y
# Board settings
#CONFIG_PLATFORM_GVSOC=y
CONFIG_PLATFORM_BOARD=y
#CONFIG_MODEL_EMUL=n
#CONFIG_DRIVER_CLUSTERDECOMPRESSOR=n
# OS float printf
CONFIG_FREERTOS_ENABLE_FLOAT_PRINTF=y
CONFIG_FREERTOS_ENABLE_FLOAT_EXPONENT_PRINTF=y
# GAP_LIB
CONFIG_LIB_GAP_LIB=y
CONFIG_LIB_GAP_LIB_IMG_IO=y
# jpeg compression
CONFIG_LIB_GAP_LIB_JPEG=y
#CONFIG_IO_TYPE_SEMIHOSTING=y
#CONFIG_IO_TYPE_DISABLED=n
#CONFIG_DEMO=n
#camera hardware
CONFIG_DRIVER_TYPE_CAMERA=y
CONFIG_DRIVER_HM0360=y
CONFIG_DRIVER_HM0360_FORMAT_VGA=y
# uart HW
#CONFIG_DRIVER_UDMAUART=y
CONFIG_BOOT_DEVICE_JTAG=n
CONFIG_BOOT_DEVICE_MRAM=y
CONFIG_DRIVER_SPIM=y
CONFIG_DEMO=y