Skip to content

Commit a6dae2c

Browse files
authored
Increase HEAP availability for EFR32. (project-chip#28946)
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).
1 parent 2049ef5 commit a6dae2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/platform/silabs/FreeRTOSConfig.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
227227
#endif // DIC
228228
#else // SL_WIFI
229229
#if SL_CONFIG_OPENTHREAD_LIB == 1
230-
#define configTOTAL_HEAP_SIZE ((size_t)(31 * 1024))
230+
#define configTOTAL_HEAP_SIZE ((size_t)(40 * 1024))
231231
#else
232-
#define configTOTAL_HEAP_SIZE ((size_t)(29 * 1024))
232+
#define configTOTAL_HEAP_SIZE ((size_t)(38 * 1024))
233233
#endif // SL_CONFIG_OPENTHREAD_LIB
234234
#endif // configTOTAL_HEAP_SIZE
235235
#endif // configTOTAL_HEAP_SIZE

0 commit comments

Comments
 (0)