diff options
author | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-29 14:00:45 +0000 |
---|---|---|
committer | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-29 14:00:45 +0000 |
commit | 5c213deb01cdc568139a4c35929940b362244588 (patch) | |
tree | cbc3750ccc57dfa4b32107ef85f5a52833d00aac /testhal/AVR/GPT/mcuconf.h | |
parent | 0f13eed26d4c66d51715abcf059dfca3e3f4b722 (diff) | |
download | ChibiOS-5c213deb01cdc568139a4c35929940b362244588.tar.gz ChibiOS-5c213deb01cdc568139a4c35929940b362244588.tar.bz2 ChibiOS-5c213deb01cdc568139a4c35929940b362244588.zip |
Add GPT test for AVR
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5907 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/AVR/GPT/mcuconf.h')
-rw-r--r-- | testhal/AVR/GPT/mcuconf.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testhal/AVR/GPT/mcuconf.h b/testhal/AVR/GPT/mcuconf.h new file mode 100644 index 000000000..cd5facdde --- /dev/null +++ b/testhal/AVR/GPT/mcuconf.h @@ -0,0 +1,39 @@ +/*
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011,2012 Giovanni Di Sirio.
+
+ This file is part of ChibiOS/RT.
+
+ ChibiOS/RT is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ ChibiOS/RT is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/*
+ * AVR drivers configuration.
+ * The following settings override the default settings present in
+ * the various device driver implementation headers.
+ * Note that the settings for each driver only have effect if the driver
+ * is enabled in halconf.h.
+ */
+
+/*
+ * SERIAL driver system settings.
+ */
+#define AVR_SERIAL_USE_USART0 TRUE
+
+/*
+ * GPT driver system settings.
+ */
+
+#define AVR_GPT_USE_GPT1 TRUE
+#define AVR_GPT_USE_GPT2 TRUE
|