aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/NRF51/NRF51822/ADC/mcuconf.h
diff options
context:
space:
mode:
authorStephen Caudle <stephen@caudle.info>2015-08-31 23:16:06 -0400
committerStephen Caudle <stephen@caudle.info>2015-08-31 23:16:51 -0400
commit2e554f3ef5e1e3d7b6d04457cee27dd79618e345 (patch)
treeb3ba3061527d45acf5e3f8155baeb3b2ce5eddd8 /testhal/NRF51/NRF51822/ADC/mcuconf.h
parent40014ce2c584274e5e1cee7d08f858bbfc0407f8 (diff)
downloadChibiOS-Contrib-2e554f3ef5e1e3d7b6d04457cee27dd79618e345.tar.gz
ChibiOS-Contrib-2e554f3ef5e1e3d7b6d04457cee27dd79618e345.tar.bz2
ChibiOS-Contrib-2e554f3ef5e1e3d7b6d04457cee27dd79618e345.zip
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_ */