aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/NRF51/NRF51822/GPT/mcuconf.h
diff options
context:
space:
mode:
authorStephen Caudle <stephen@caudle.info>2015-09-08 23:22:01 -0400
committerStephen Caudle <stephen@caudle.info>2015-09-27 09:28:27 -0400
commitcd2787ea883144601fe4ee069aaaf691c652368b (patch)
tree08783b9bd649ca80e1484ffa5d3547f294687ba9 /testhal/NRF51/NRF51822/GPT/mcuconf.h
parent0aaa137a33c6052b6c2f04b212018f1f482d0ae3 (diff)
downloadChibiOS-Contrib-cd2787ea883144601fe4ee069aaaf691c652368b.tar.gz
ChibiOS-Contrib-cd2787ea883144601fe4ee069aaaf691c652368b.tar.bz2
ChibiOS-Contrib-cd2787ea883144601fe4ee069aaaf691c652368b.zip
Add GPT driver for nRF51
Diffstat (limited to 'testhal/NRF51/NRF51822/GPT/mcuconf.h')
-rw-r--r--testhal/NRF51/NRF51822/GPT/mcuconf.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/testhal/NRF51/NRF51822/GPT/mcuconf.h b/testhal/NRF51/NRF51822/GPT/mcuconf.h
new file mode 100644
index 0000000..7fd549f
--- /dev/null
+++ b/testhal/NRF51/NRF51822/GPT/mcuconf.h
@@ -0,0 +1,26 @@
+/*
+ Copyright (C) 2015 Stephen Caudle
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef _MCUCONF_H_
+#define _MCUCONF_H_
+
+/*
+ * NRF51 driver system settings.
+ */
+#define NRF51_GPT_USE_TIMER1 TRUE
+#define NRF51_GPT_USE_TIMER2 TRUE
+
+#endif /* _MCUCONF_H_ */