diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-26 09:40:45 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-26 09:40:45 +0000 |
commit | c2a407c4d58b69cda4c1f7504bbf79c1aeffb594 (patch) | |
tree | bd3684e63c2a6cf37f3abe454c7fbd405467b42d /os/rt/include/chdynamic.h | |
parent | 3e6e47ee7dfea369d865bef41dc59e7fbdff6e8a (diff) | |
download | ChibiOS-c2a407c4d58b69cda4c1f7504bbf79c1aeffb594.tar.gz ChibiOS-c2a407c4d58b69cda4c1f7504bbf79c1aeffb594.tar.bz2 ChibiOS-c2a407c4d58b69cda4c1f7504bbf79c1aeffb594.zip |
Enhanced dynamic support.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8948 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chdynamic.h')
-rw-r--r-- | os/rt/include/chdynamic.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/os/rt/include/chdynamic.h b/os/rt/include/chdynamic.h index 9b653cc5c..b42a6d34e 100644 --- a/os/rt/include/chdynamic.h +++ b/os/rt/include/chdynamic.h @@ -49,6 +49,10 @@ #error "CH_CFG_USE_DYNAMIC requires CH_CFG_USE_WAITEXIT"
#endif
+#if CH_CFG_USE_REGISTRY == FALSE
+#error "CH_CFG_USE_DYNAMIC requires CH_CFG_USE_REGISTRY"
+#endif
+
#if (CH_CFG_USE_HEAP == FALSE) && (CH_CFG_USE_MEMPOOLS == FALSE)
#error "CH_CFG_USE_DYNAMIC requires CH_CFG_USE_HEAP and/or CH_CFG_USE_MEMPOOLS"
#endif
@@ -71,8 +75,6 @@ #ifdef __cplusplus
extern "C" {
#endif
- thread_t *chThdAddRef(thread_t *tp);
- void chThdRelease(thread_t *tp);
#if CH_CFG_USE_HEAP == TRUE
thread_t *chThdCreateFromHeap(memory_heap_t *heapp, size_t size,
const char *name, tprio_t prio,
|