Skip to content

Commit f8b5352

Browse files
authored
Merge pull request #9612 from Frauschi/zephyr_track_memory
Add Zephyr support for TRACK_MEMORY
2 parents 9fe3b19 + b934d95 commit f8b5352

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
@@ -1105,6 +1105,7 @@ __thumb__
11051105
__ti__
11061106
__x86_64__
11071107
__xtensa__
1108+
__ZEPHYR__
11081109
byte
11091110
configTICK_RATE_HZ
11101111
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)