aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/sys_options.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-07-29 12:00:47 +1000
committerinmarket <andrewh@inmarket.com.au>2014-07-29 12:00:47 +1000
commit9826378b9608362c4ad6efa3271e6f6de1e2b30e (patch)
treea0e4bc643f420dda032f90bf6423ee64728209d2 /src/gos/sys_options.h
parent4ce658b022bbafe129d5ed3a571017c7d34b3892 (diff)
downloaduGFX-9826378b9608362c4ad6efa3271e6f6de1e2b30e.tar.gz
uGFX-9826378b9608362c4ad6efa3271e6f6de1e2b30e.tar.bz2
uGFX-9826378b9608362c4ad6efa3271e6f6de1e2b30e.zip
Operating System initialisation can now be turned off in gfxconf.h
Diffstat (limited to 'src/gos/sys_options.h')
-rw-r--r--src/gos/sys_options.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gos/sys_options.h b/src/gos/sys_options.h
index 7937e082..ead1f3f7 100644
--- a/src/gos/sys_options.h
+++ b/src/gos/sys_options.h
@@ -76,6 +76,20 @@
* @{
*/
/**
+ * @brief Should uGFX avoid initializing the operating system
+ * @details Defaults to FALSE
+ * @note This is not relevant to all operating systems eg Win32 never initializes the
+ * operating system as uGFX runs as an application outside the boot process.
+ * @note Operating system initialization is not necessarily implemented for all
+ * operating systems yet even when it is relevant. These operating systems
+ * will display a compile warning reminding you to initialize the operating
+ * system in your application code. Note that on these operating systems the
+ * demo applications will not work without modification.
+ */
+ #ifndef GFX_NO_OS_INIT
+ #define GFX_NO_OS_INIT FALSE
+ #endif
+ /**
* @brief Should uGFX stuff be added to the FreeRTOS+Tracer
* @details Defaults to FALSE
*/