Make mbedTLS heap size configurable. (#1506)

This commit is contained in:
Robert Lubos
2017-03-23 01:44:24 -07:00
committed by Jonathan Hui
parent e01e3c505e
commit 4fae0c248a
3 changed files with 22 additions and 2 deletions
@@ -115,4 +115,12 @@
*/
#define SETTINGS_CONFIG_PAGE_NUM 4
/**
* @def OPENTHREAD_CONFIG_MBEDTLS_HEAP_SIZE
*
* The size of mbedTLS heap buffer when DTLS is enabled.
*
*/
#define OPENTHREAD_CONFIG_MBEDTLS_HEAP_SIZE (4096 * sizeof(void *))
#endif // OPENTHREAD_CORE_NRF52840_CONFIG_H_