summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-06-05 12:43:04 +0100
committerDamien George <damien.p.george@gmail.com>2016-06-28 11:28:53 +0100
commit1d5aa9d245362d060843688a97f12a86b8fe1e46 (patch)
tree45ec650cb33ebb825e71b674481f424d5c0a4a70
parent8b9ddf403119100d6bbd4c6d77bd4a334032b893 (diff)
downloadmicropython-1d5aa9d245362d060843688a97f12a86b8fe1e46.tar.gz
micropython-1d5aa9d245362d060843688a97f12a86b8fe1e46.zip
cc3200: In FreeRTOSConfig.h, comment on configSUPPORT_STATIC_ALLOCATION.
This config variable is now needed regardless of whether threading is enabled or not.
-rw-r--r--cc3200/FreeRTOS/FreeRTOSConfig.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc3200/FreeRTOS/FreeRTOSConfig.h b/cc3200/FreeRTOS/FreeRTOSConfig.h
index abde289374..c0d50d0c1d 100644
--- a/cc3200/FreeRTOS/FreeRTOSConfig.h
+++ b/cc3200/FreeRTOS/FreeRTOSConfig.h
@@ -154,9 +154,11 @@ version. */
/* We provide a definition of ucHeap so it can go in a special segment. */
#define configAPPLICATION_ALLOCATED_HEAP 1
+/* We use static versions of functions (like xTaskCreateStatic) */
+#define configSUPPORT_STATIC_ALLOCATION 1
+
/* For threading */
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS 1
-#define configSUPPORT_STATIC_ALLOCATION 1
#undef configUSE_MUTEXES
#define configUSE_MUTEXES 1
#undef INCLUDE_vTaskDelete