Skip to content

Commit cf24dcf

Browse files
author
Roberto Spelta
committed
modified mesh_system.c to improve memory
1 parent c5e6689 commit cf24dcf

File tree

1 file changed

+1
-1
lines changed
  • features/nanostack/FEATURE_NANOSTACK/mbed-mesh-api/source

1 file changed

+1
-1
lines changed

features/nanostack/FEATURE_NANOSTACK/mbed-mesh-api/source/mesh_system.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
/* Heap for NanoStack */
3333
#if !MBED_CONF_MBED_MESH_API_USE_MALLOC_FOR_HEAP
34-
static uint8_t app_stack_heap[MBED_CONF_MBED_MESH_API_HEAP_SIZE + 1];
34+
static uint8_t app_stack_heap[MBED_CONF_MBED_MESH_API_HEAP_SIZE + 1] __attribute__(( section( "mesh_heap") ));
3535
#else
3636
static uint8_t *app_stack_heap;
3737
#endif

0 commit comments

Comments
 (0)