forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmatter-platform.slcp
133 lines (127 loc) · 3.71 KB
/
matter-platform.slcp
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# Silicon Labs Project Configuration Tools: slcp, v0, Component selection file.
project_name: matter-platform
label: matter-platform
description: |
This project contains the minimal requirements to generate the dependencies needed by all Matter examples
category: Matter Examples
filter:
- name: Capability
value: [Multiprotocol]
- name: Device Type
value: [SoC]
- name: Project Difficulty
value: [Advanced]
- name: Wireless Technology
value: [Bluetooth, Thread]
package: OpenThread
quality: production
readme:
- {path: README.md}
source:
- {path: main.c}
- {path: app.c}
- {path: bluetooth_event_callback.c}
tag: [prebuilt_demo]
include:
- path: ''
file_list:
- {path: app.h}
- {path: reset_util.h}
sdk: {id: simplicity_sdk, version: 2024.6.0}
toolchain_settings: []
component:
#bluetooth components
- {id: gatt_configuration}
- {id: bluetooth_feature_gatt_server}
- {id: bluetooth_feature_legacy_advertiser}
- {id: bluetooth_feature_connection}
- {id: bluetooth_feature_system}
- {id: bluetooth_stack}
# Platform support
- {id: cpp_support}
- {id: sl_system}
- {id: device_init}
- {id: board_control}
- {id: memory_manager}
- {id: silabs_core_memory_manager}
- {id: clock_manager}
- {id: silabs_core_circular_queue}
- {id: sleeptimer}
- {id: nvm3_lib}
- {id: freertos}
- {id: freertos_heap_3}
- {id: iostream_rtt}
- {id: toolchain_gcc}
- {id: brd4002a}
- {id: rail_util_pti}
- {id: rail_lib_multiprotocol}
- {id: rail_util_power_manager_init}
# crypto components
- {id: psa_crypto}
- {id: psa_crypto_aes}
- {id: psa_crypto_ccm}
- {id: psa_crypto_cmac}
- {id: psa_crypto_ecc}
- {id: psa_crypto_ecdh}
- {id: psa_crypto_ecdsa}
- {id: psa_crypto_hash}
- {id: psa_crypto_hkdf}
- {id: mbedtls_x509}
- {id: mbedtls_cmac}
- {id: mbedtls_platform_dynamic_memory_allocation_config_init_runtime }
- {id: mbedtls_base64}
- {id: ot_psa_crypto}
- {id: ot_platform_abstraction}
- {id: sl_ot_custom_cli}
# Necessary componenets for ot coap cert lib
# - {id: mbedtls_dtls} # Requried by COAP lib
# - {id: mbedtls_tls_server} # Requried by COAP lib
# - {id: mbedtls_tls} # Requried by COAP lib
# - {id: mbedtls_jpake} # Required by COAP lib
config_file:
- override:
component: gatt_configuration
file_id: gatt_configuration_file_id
path: gatt_configuration.btconf
directory: btconf
configuration:
- name: SL_OPENTHREAD_ENABLE_APP_TASK
value: 0
- name: SL_OPENTHREAD_ENABLE_CLI_TASK
value: 0
- {name: SL_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED, value: '0'}
- {name: SL_MBEDTLS_KEY_EXCHANGE_PSK_ENABLED, value: '1'}
- condition: [uartdrv_usart]
name: UARTDRV_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION
value: '1'
- condition: [iostream_usart]
name: SL_IOSTREAM_USART_VCOM_RESTRICT_ENERGY_MODE_TO_ALLOW_RECEPTION
value: '1'
- condition: [iostream_usart]
name: SL_IOSTREAM_USART_VCOM_RX_BUFFER_SIZE
value: '128'
- {name: SL_HEAP_SIZE, value: '0'}
- {name: SL_STACK_SIZE, value: '4608'}
- {name: SL_BOARD_ENABLE_VCOM, value: '0'}
- {name: EMDRV_UARTDRV_FLOW_CONTROL_ENABLE, value: '0'}
- {name: NVM3_DEFAULT_MAX_OBJECT_SIZE, value: '4092'}
- {name: CIRCULAR_QUEUE_LEN_MAX, value: '16'}
- {name: SL_CLOCK_MANAGER_HFRCO_DPLL_EN, value: 1}
- {name: SL_BT_RTOS_LINK_LAYER_TASK_STACK_SIZE, value: 1024}
- {name: SL_BT_RTOS_HOST_STACK_TASK_STACK_SIZE, value: 2048}
- {name: SL_BT_RTOS_EVENT_HANDLER_STACK_SIZE, value: 1536}
- {name: SL_MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS, value: 1}
- {name: SL_OPENTHREAD_ENABLE_SERIAL_TASK, value: 0}
template_contribution:
- name: mbedtls_ssl_content_len_in_requirement
value: 900
- name: mbedtls_ssl_content_len_out_requirement
value: 900
requires:
- condition: [device_series_2]
name: uartdrv_eusart
- condition: [device_series_2]
name: device_init_dpll
ui_hints:
highlight:
- {path: ./README.md, focus: true}