Skip to content

Commit

Permalink
Increase HEAP availability for EFR32. (project-chip#28946)
Browse files Browse the repository at this point in the history
I had lock-rpc failing to commission with a
vApplicationMallocFailedHook.

The non-rpc version seems to work, however overall we seem to be
tight on RAM. Increasing RAM to 40/38 from 31/29, which leaves a
bit of buffer room (confirmed I was able to comission with 38/36
even with rpc).
  • Loading branch information
andy31415 authored Aug 29, 2023
1 parent 2049ef5 commit a6dae2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/platform/silabs/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
#endif // DIC
#else // SL_WIFI
#if SL_CONFIG_OPENTHREAD_LIB == 1
#define configTOTAL_HEAP_SIZE ((size_t)(31 * 1024))
#define configTOTAL_HEAP_SIZE ((size_t)(40 * 1024))
#else
#define configTOTAL_HEAP_SIZE ((size_t)(29 * 1024))
#define configTOTAL_HEAP_SIZE ((size_t)(38 * 1024))
#endif // SL_CONFIG_OPENTHREAD_LIB
#endif // configTOTAL_HEAP_SIZE
#endif // configTOTAL_HEAP_SIZE
Expand Down

0 comments on commit a6dae2c

Please sign in to comment.