Skip to content

Commit

Permalink
freeRTOS: shrink heap by half
Browse files Browse the repository at this point in the history
A 128K reservation on a device with 256K of RAM is a bit demanding.
Shrink to fix a link error in a DebugRel build.
  • Loading branch information
P33M committed Feb 27, 2023
1 parent 3bd5869 commit 156a33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
/* Memory allocation related definitions. */
#define configSUPPORT_STATIC_ALLOCATION 0
#define configSUPPORT_DYNAMIC_ALLOCATION 1
#define configTOTAL_HEAP_SIZE (128*1024)
#define configTOTAL_HEAP_SIZE (64*1024)
#define configAPPLICATION_ALLOCATED_HEAP 0

/* Hook function related definitions. */
Expand Down

0 comments on commit 156a33f

Please sign in to comment.