summaryrefslogtreecommitdiff
path: root/hw/bsp/samd21/FreeRTOSConfig/FreeRTOSConfig.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-11-16 22:12:38 +0700
committerhathach <[email protected]>2023-11-16 22:12:38 +0700
commitfbf64b122d6d77a7aa1ec501ff29b8bddeec0a70 (patch)
treef664a029b666cf3ceb1beffe89b11f14c844ba73 /hw/bsp/samd21/FreeRTOSConfig/FreeRTOSConfig.h
parent83d6263adeaef23943c0eae888a460d6470a8af7 (diff)
switch freertos to static allocation only (dynamic = 0), since it is possible now with latest freertos cmake
Diffstat (limited to 'hw/bsp/samd21/FreeRTOSConfig/FreeRTOSConfig.h')
-rw-r--r--hw/bsp/samd21/FreeRTOSConfig/FreeRTOSConfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/samd21/FreeRTOSConfig/FreeRTOSConfig.h b/hw/bsp/samd21/FreeRTOSConfig/FreeRTOSConfig.h
index 02e868741..d83c79601 100644
--- a/hw/bsp/samd21/FreeRTOSConfig/FreeRTOSConfig.h
+++ b/hw/bsp/samd21/FreeRTOSConfig/FreeRTOSConfig.h
@@ -73,8 +73,8 @@
#define configENABLE_BACKWARD_COMPATIBILITY 1
#define configSTACK_ALLOCATION_FROM_SEPARATE_HEAP 0
-#define configSUPPORT_STATIC_ALLOCATION 0
-#define configSUPPORT_DYNAMIC_ALLOCATION 1
+#define configSUPPORT_STATIC_ALLOCATION 1
+#define configSUPPORT_DYNAMIC_ALLOCATION 0
/* Hook function related definitions. */
#define configUSE_IDLE_HOOK 0