aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-10-23 14:31:51 +0200
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-10-23 14:31:51 +0200
commit96a912bbc0559924dfc89bfb3e57f4e109392c9d (patch)
tree2d697b0f108eaef24613dce0b9f752fe753f471f
parent00aeab86eb311f57d026931499ae5935c00857b1 (diff)
downloaduGFX-96a912bbc0559924dfc89bfb3e57f4e109392c9d.tar.gz
uGFX-96a912bbc0559924dfc89bfb3e57f4e109392c9d.tar.bz2
uGFX-96a912bbc0559924dfc89bfb3e57f4e109392c9d.zip
Adding missing defines for CMSIS and Keil OS
-rw-r--r--gfxconf.example.h1
-rw-r--r--src/gos/gos.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/gfxconf.example.h b/gfxconf.example.h
index de4ed230..9f901fce 100644
--- a/gfxconf.example.h
+++ b/gfxconf.example.h
@@ -36,6 +36,7 @@
//#define GFX_USE_OS_RAWRTOS FALSE
//#define GFX_USE_OS_ARDUINO FALSE
//#define GFX_USE_OS_KEIL FALSE
+//#define GFX_USE_OS_CMSIS FALSE
//#define GFX_USE_OS_RAW32 FALSE
// #define INTERRUPTS_OFF() optional_code
// #define INTERRUPTS_ON() optional_code
diff --git a/src/gos/gos.h b/src/gos/gos.h
index 048d5765..4463740d 100644
--- a/src/gos/gos.h
+++ b/src/gos/gos.h
@@ -474,6 +474,10 @@
#include "src/gos/gos_ecos.h"
#elif GFX_USE_OS_ARDUINO
#include "src/gos/gos_arduino.h"
+#elif GFX_USE_OS_CMSIS
+ #include "src/gos/gos_cmsis.h"
+#elif GFX_USE_OS_KEIL
+ #include "src/gos/gos_keil.h"
#else
#error "Your operating system is not supported yet"
#endif