aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/sys_rules.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-05-10 18:13:51 +0200
committerJoel Bodenmann <joel@unormal.org>2014-05-10 18:13:51 +0200
commitcb825aa823f2b7ae687cdc4753a77baf6f24cb91 (patch)
tree8fb7084131713ba2fe915b8efaf9b1f08aabe098 /src/gos/sys_rules.h
parenta93ec009c4b8ae01c8b28ed4cf2beb90a7facc77 (diff)
downloaduGFX-cb825aa823f2b7ae687cdc4753a77baf6f24cb91.tar.gz
uGFX-cb825aa823f2b7ae687cdc4753a77baf6f24cb91.tar.bz2
uGFX-cb825aa823f2b7ae687cdc4753a77baf6f24cb91.zip
Introducing GFX_FREERTOS_USE_TRACE
Diffstat (limited to 'src/gos/sys_rules.h')
-rw-r--r--src/gos/sys_rules.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gos/sys_rules.h b/src/gos/sys_rules.h
index ff4a1ecb..f23d330b 100644
--- a/src/gos/sys_rules.h
+++ b/src/gos/sys_rules.h
@@ -23,9 +23,14 @@
#undef GFX_USE_OS_CHIBIOS
#define GFX_USE_OS_CHIBIOS TRUE
#endif
+
#if GFX_USE_OS_CHIBIOS + GFX_USE_OS_WIN32 + GFX_USE_OS_LINUX + GFX_USE_OS_OSX + GFX_USE_OS_RAW32 + GFX_USE_OS_FREERTOS != 1 * TRUE
#error "GOS: More than one operation system has been defined as TRUE."
#endif
+#if GFX_FREERTOS_USE_TRACE && !GFX_USE_OS_FREERTOS
+ #error "GOS: GFX_FREERTOS_USE_TRACE is only available for the FreeRTOS port."
+#endif
+
#endif /* _GOS_RULES_H */
/** @} */