aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtimer/sys_options.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-02-19 08:00:52 +1000
committerinmarket <andrewh@inmarket.com.au>2014-02-19 08:00:52 +1000
commitb82448c3e23663a25a423402343fbca78253b80c (patch)
tree57a03e35b88f6e434b6c4d084695fc5ce1061932 /src/gtimer/sys_options.h
parentdcedf414136e55e6dacbe736babe748e1374e19e (diff)
parent37966ff16d923bbca53c9464815cb49cbd7fc3be (diff)
downloaduGFX-b82448c3e23663a25a423402343fbca78253b80c.tar.gz
uGFX-b82448c3e23663a25a423402343fbca78253b80c.tar.bz2
uGFX-b82448c3e23663a25a423402343fbca78253b80c.zip
Merge branch 'master' into gwin
Diffstat (limited to 'src/gtimer/sys_options.h')
-rw-r--r--src/gtimer/sys_options.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/gtimer/sys_options.h b/src/gtimer/sys_options.h
new file mode 100644
index 00000000..8dca0b82
--- /dev/null
+++ b/src/gtimer/sys_options.h
@@ -0,0 +1,46 @@
+/*
+ * This file is subject to the terms of the GFX License. If a copy of
+ * the license was not distributed with this file, you can obtain one at:
+ *
+ * http://ugfx.org/license.html
+ */
+
+/**
+ * @file src/gtimer/sys_options.h
+ * @brief GTIMER sub-system options header file.
+ *
+ * @addtogroup GTIMER
+ * @{
+ */
+
+#ifndef _GTIMER_OPTIONS_H
+#define _GTIMER_OPTIONS_H
+
+/**
+ * @name GTIMER Functionality to be included
+ * @{
+ */
+/**
+ * @}
+ *
+ * @name GTIMER Optional Sizing Parameters
+ * @{
+ */
+ /**
+ * @brief Defines the GTIMER thread priority
+ * @details Defaults to HIGH_PRIORITY
+ */
+ #ifndef GTIMER_THREAD_PRIORITY
+ #define GTIMER_THREAD_PRIORITY HIGH_PRIORITY
+ #endif
+ /**
+ * @brief Defines the size of the timer threads work area (stack+structures).
+ * @details Defaults to 2048 bytes
+ */
+ #ifndef GTIMER_THREAD_WORKAREA_SIZE
+ #define GTIMER_THREAD_WORKAREA_SIZE 2048
+ #endif
+/** @} */
+
+#endif /* _GTIMER_OPTIONS_H */
+/** @} */