summaryrefslogtreecommitdiff
path: root/examples/device/cdc_msc_freertos/src/FreeRTOSConfig
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-12-05 12:45:48 +0700
committerGitHub <[email protected]>2022-12-05 12:45:48 +0700
commit71a59068651c513a26e668bdc7eb8aaaae5e8a99 (patch)
tree2e4e5d5374f117d63fa8165895408ebdbe2c4723 /examples/device/cdc_msc_freertos/src/FreeRTOSConfig
parent279e2d6aeb1bb1dd2dfb1e861e3a9d1102cd0b88 (diff)
parentde5a67bf3b8737a580539c5fbc6a054c90e4a084 (diff)
Merge pull request #1767 from pete-pjb/master
Allow the use of non-static allocation for FreeRTOS mutexes & queues
Diffstat (limited to 'examples/device/cdc_msc_freertos/src/FreeRTOSConfig')
-rw-r--r--examples/device/cdc_msc_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/cdc_msc_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h b/examples/device/cdc_msc_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h
index 6a3630dbc..968c59749 100644
--- a/examples/device/cdc_msc_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h
+++ b/examples/device/cdc_msc_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h
@@ -69,7 +69,7 @@
#define configTICK_RATE_HZ ( 1000 )
#define configMAX_PRIORITIES ( 5 )
#define configMINIMAL_STACK_SIZE ( 128 )
-#define configTOTAL_HEAP_SIZE ( 0*1024 ) // dynamic is not used
+#define configTOTAL_HEAP_SIZE ( configSUPPORT_DYNAMIC_ALLOCATION*4*1024 )
#define configMAX_TASK_NAME_LEN 16
#define configUSE_16_BIT_TICKS 0
#define configIDLE_SHOULD_YIELD 1