Skip to content

Commit d4841da

Browse files
committed
feat(platform/zephyr/memory): suppress warning on native_sim
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
1 parent b2d5c8e commit d4841da

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/platform/zephyr/memory.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ void *user_realloc(void *ptr, size_t size)
2929

3030
#else
3131

32+
#ifndef CONFIG_SOC_POSIX
3233
#warning CONFIG_SHARED_MULTI_HEAP is not defined. Using internal RAM
34+
#endif
3335

3436
void *user_malloc(size_t size)
3537
{

0 commit comments

Comments
 (0)