mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
Adds a Kconfig option for mbedtls' MBEDTLS_PLATFORM_MEMORY define. This makes it possible to override the mbedtls allocator with your own.
Merges https://github.com/espressif/esp-idf/pull/2237
This commit is contained in:

committed by
Angus Gratton

parent
1c7a8b3b71
commit
d7a17ac941
@@ -114,7 +114,9 @@
|
||||
*
|
||||
* Enable this layer to allow use of alternative memory allocators.
|
||||
*/
|
||||
//#define MBEDTLS_PLATFORM_MEMORY
|
||||
#ifdef CONFIG_MBEDTLS_PLATFORM_MEMORY
|
||||
#define MBEDTLS_PLATFORM_MEMORY
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_PLATFORM_NO_STD_FUNCTIONS
|
||||
|
Reference in New Issue
Block a user