diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-11-10 10:45:28 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-11-10 10:45:28 +1000 |
commit | d528fb218d2773c051098cd44cb6eb0eb0732be0 (patch) | |
tree | a0a16a4ac68bf1c78c69a163c0865c9a72a9fd4d /src/gos | |
parent | 8a9ed5195b3345635533b6150b9303abbaf5adf3 (diff) | |
download | uGFX-d528fb218d2773c051098cd44cb6eb0eb0732be0.tar.gz uGFX-d528fb218d2773c051098cd44cb6eb0eb0732be0.tar.bz2 uGFX-d528fb218d2773c051098cd44cb6eb0eb0732be0.zip |
Minor fixups
Diffstat (limited to 'src/gos')
-rw-r--r-- | src/gos/gos_x_threads.c | 2 | ||||
-rw-r--r-- | src/gos/gos_x_threads_cortexm01.h | 2 | ||||
-rw-r--r-- | src/gos/gos_x_threads_cortexm347.h | 2 | ||||
-rw-r--r-- | src/gos/gos_zephyr.h | 6 |
4 files changed, 9 insertions, 3 deletions
diff --git a/src/gos/gos_x_threads.c b/src/gos/gos_x_threads.c index ce431de6..7b483315 100644 --- a/src/gos/gos_x_threads.c +++ b/src/gos/gos_x_threads.c @@ -568,4 +568,4 @@ gThreadreturn gfxThreadWait(gThread th) { return (gThreadreturn)t->param; } -#endif /* GFX_USE_OS_RAW32 */ +#endif diff --git a/src/gos/gos_x_threads_cortexm01.h b/src/gos/gos_x_threads_cortexm01.h index 1ffde0f3..57a84981 100644 --- a/src/gos/gos_x_threads_cortexm01.h +++ b/src/gos/gos_x_threads_cortexm01.h @@ -12,7 +12,7 @@ * The context is saved at the current stack location and a pointer is maintained in the thread structure. */ -#if CORTEX_USE_FPU +#if defined(CORTEX_USE_FPU) && CORTEX_USE_FPU #if GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_DIRECT #warning "GOS Threads: You have specified GFX_CPU=GFX_CPU_CORTX_M? with no hardware floating point support but CORTEX_USE_FPU is GFXON. Try using GFX_CPU_GFX_CPU_CORTEX_M?_FP instead" #elif GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_MACRO diff --git a/src/gos/gos_x_threads_cortexm347.h b/src/gos/gos_x_threads_cortexm347.h index 6d9cc26d..07a1b695 100644 --- a/src/gos/gos_x_threads_cortexm347.h +++ b/src/gos/gos_x_threads_cortexm347.h @@ -13,7 +13,7 @@ */ -#if CORTEX_USE_FPU +#if defined(CORTEX_USE_FPU) && CORTEX_USE_FPU #if GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_DIRECT #warning "GOS Threads: You have specified GFX_CPU=GFX_CPU_CORTX_M? with no hardware floating point support but CORTEX_USE_FPU is GFXON. Try using GFX_CPU_GFX_CPU_CORTEX_M?_FP instead" #elif GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_MACRO diff --git a/src/gos/gos_zephyr.h b/src/gos/gos_zephyr.h index c832c0c1..55ef1e35 100644 --- a/src/gos/gos_zephyr.h +++ b/src/gos/gos_zephyr.h @@ -5,6 +5,12 @@ * http://ugfx.io/license.html
*/
+/**
+ * @file src/gos/gos_zepyhr.h
+ * @brief GOS - Operating System Support header file for Zephyr RTOS.
+ * Zephyr SDK 0.9.1
+ */
+
#ifndef _GOS_ZEPHYR_H
#define _GOS_ZEPHYR_H
|