@@ -142,12 +142,18 @@ INC_DIRS = \
142
142
$(NRF5_SDK_ROOT ) /components/softdevice/mbr/nrf52840/headers \
143
143
$(NRF5_SDK_ROOT ) /components/thread/freertos_mbedtls_mutex \
144
144
$(NRF5_SDK_ROOT ) /components/toolchain/cmsis/include \
145
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/config \
146
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/mbedtls_plat_config \
147
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/nrf_cc310_plat/include \
148
+ $(NRF5_SDK_ROOT ) /external/openthread/project/config \
149
+ $(NRF5_SDK_ROOT ) /external/openthread/project/nrf52840 \
145
150
$(NRF5_SDK_ROOT ) /config/nrf52840/config \
146
151
$(NRF5_SDK_ROOT ) /external/fprintf \
147
152
$(NRF5_SDK_ROOT ) /external/freertos/config \
148
153
$(NRF5_SDK_ROOT ) /external/freertos/portable/CMSIS/nrf52 \
149
154
$(NRF5_SDK_ROOT ) /external/freertos/portable/GCC/nrf52 \
150
155
$(NRF5_SDK_ROOT ) /external/freertos/source/include \
156
+ $(NRF5_SDK_ROOT ) /external/openthread/include \
151
157
$(NRF5_SDK_ROOT ) /external/segger_rtt \
152
158
$(NRF5_SDK_ROOT ) /integration/nrfx \
153
159
$(NRF5_SDK_ROOT ) /integration/nrfx/legacy \
@@ -162,13 +168,27 @@ DEFINES = \
162
168
BSP_DEFINES_ONLY \
163
169
CONFIG_GPIO_AS_PINRESET \
164
170
FLOAT_ABI_HARD \
171
+ MBEDTLS_CONFIG_FILE=\"nrf-config.h\" \
172
+ MBEDTLS_USER_CONFIG_FILE=\"nrf52840-mbedtls-config.h\" \
173
+ OPENTHREAD_CONFIG_FILE=\"openthread-config-wrap.h\" \
165
174
USE_APP_CONFIG \
166
175
__HEAP_SIZE=40960 \
167
176
__STACK_SIZE=8192 \
168
177
SOFTDEVICE_PRESENT \
169
178
PRINTF_DISABLE_SUPPORT_EXPONENTIAL \
170
179
S140
171
180
181
+ LIBS = \
182
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/lib/libmbedcrypto_glue.a \
183
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/lib/libmbedcrypto_glue_cc310.a \
184
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/lib/libmbedcrypto_glue_vanilla.a \
185
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/lib/libmbedcrypto_cc310_backend.a \
186
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/lib/libmbedcrypto_vanilla_backend.a \
187
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/lib/libmbedtls_base_vanilla.a \
188
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/lib/libmbedtls_tls_vanilla.a \
189
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/lib/libmbedtls_x509_vanilla.a \
190
+ $(NRF5_SDK_ROOT ) /external/openthread/nrf_security/lib/libnrf_cc310_platform_0.9.1.a \
191
+
172
192
CFLAGS = \
173
193
--specs=nano.specs
174
194
0 commit comments