diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-07-29 12:00:47 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-07-29 12:00:47 +1000 |
commit | 9826378b9608362c4ad6efa3271e6f6de1e2b30e (patch) | |
tree | a0e4bc643f420dda032f90bf6423ee64728209d2 /src/gos/sys_options.h | |
parent | 4ce658b022bbafe129d5ed3a571017c7d34b3892 (diff) | |
download | uGFX-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.h | 14 |
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 */ |