diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-04-03 09:53:22 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-04-03 09:53:22 +0000 |
commit | 05b9eb553005fd070c6710d0245a1d67c21966e6 (patch) | |
tree | 005eb73356abf76c4827e8fadbc97fb4dea962ae /test/nil/configuration.xml | |
parent | 88fc433e5dfc3ddc3948d27b78be2e531113fa1e (diff) | |
download | ChibiOS-05b9eb553005fd070c6710d0245a1d67c21966e6.tar.gz ChibiOS-05b9eb553005fd070c6710d0245a1d67c21966e6.tar.bz2 ChibiOS-05b9eb553005fd070c6710d0245a1d67c21966e6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9231 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/nil/configuration.xml')
-rw-r--r-- | test/nil/configuration.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/nil/configuration.xml b/test/nil/configuration.xml index c759ff4f9..87f76a7fb 100644 --- a/test/nil/configuration.xml +++ b/test/nil/configuration.xml @@ -962,8 +962,11 @@ test_assert(msg1 == MSG_TIMEOUT, "wrong wake-up message");]]></value> <value><![CDATA[#define MEMORY_POOL_SIZE 4 static uint32_t objects[MEMORY_POOL_SIZE]; -static MEMORYPOOL_DECL(mp1, sizeof (uint32_t), NULL); +static MEMORYPOOL_DECL(mp1, sizeof (uint32_t), NULL);
+
+#if CH_CFG_USE_SEMAPHORES static GUARDEDMEMORYPOOL_DECL(gmp1, sizeof (uint32_t)); +#endif
static void *null_provider(size_t size, unsigned align) { |