Skip to content

Commit b934d95

Browse files
committed
Add Zephyr support for TRACK_MEMORY
1 parent 80c1228 commit b934d95

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.wolfssl_known_macro_extras

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,7 @@ __thumb__
11041104
__ti__
11051105
__x86_64__
11061106
__xtensa__
1107+
__ZEPHYR__
11071108
byte
11081109
configTICK_RATE_HZ
11091110
fallthrough

wolfssl/wolfcrypt/mem_track.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@
7979
!defined(WOLFSSL_STATIC_MEMORY)
8080

8181
#define DO_MEM_STATS
82-
#if (defined(__linux__) && !defined(WOLFSSL_KERNEL_MODE)) || defined(__MACH__)
82+
#if (defined(__linux__) && !defined(WOLFSSL_KERNEL_MODE)) || \
83+
defined(__MACH__) || defined(__ZEPHYR__)
8384
#define DO_MEM_LIST
8485
#endif
8586

0 commit comments

Comments
 (0)