aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/NRF51/NRF51822/ADC/mcuconf.h
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2015-09-27 09:05:41 -0300
committerFabio Utzig <utzig@utzig.org>2015-09-27 09:05:41 -0300
commit0aaa137a33c6052b6c2f04b212018f1f482d0ae3 (patch)
tree441c933662519a433e8b8d941975c32212a0d73f /testhal/NRF51/NRF51822/ADC/mcuconf.h
parent51514b134ee5bfca3647647620920747b41eaf3a (diff)
parent9ad49f5077b1cfbce07715119629e1ddc26bf2d3 (diff)
downloadChibiOS-Contrib-0aaa137a33c6052b6c2f04b212018f1f482d0ae3.tar.gz
ChibiOS-Contrib-0aaa137a33c6052b6c2f04b212018f1f482d0ae3.tar.bz2
ChibiOS-Contrib-0aaa137a33c6052b6c2f04b212018f1f482d0ae3.zip
Merge pull request #25 from doceme/nrf51-adc
Add ADC driver for nRF51
Diffstat (limited to 'testhal/NRF51/NRF51822/ADC/mcuconf.h')
-rw-r--r--testhal/NRF51/NRF51822/ADC/mcuconf.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/testhal/NRF51/NRF51822/ADC/mcuconf.h b/testhal/NRF51/NRF51822/ADC/mcuconf.h
new file mode 100644
index 0000000..123261a
--- /dev/null
+++ b/testhal/NRF51/NRF51822/ADC/mcuconf.h
@@ -0,0 +1,25 @@
+/*
+ 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_ADC_USE_ADC1 TRUE
+
+#endif /* _MCUCONF_H_ */