diff options
author | Fabio Utzig <utzig@utzig.org> | 2016-11-16 14:41:04 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 14:41:04 -0200 |
commit | 319c9f9ee259cc7ae05bbff952b149118e6dc032 (patch) | |
tree | 7358d4dafdc5c47172250b69caed4aa33ae87b5d /demos/NRF51/MICROBIT/mcuconf.h | |
parent | d416e3708458f4330b537c235ed3f0b71b36f1d6 (diff) | |
parent | 92eafe4186c4b10f991db998cb483edabb0f2ccf (diff) | |
download | ChibiOS-Contrib-319c9f9ee259cc7ae05bbff952b149118e6dc032.tar.gz ChibiOS-Contrib-319c9f9ee259cc7ae05bbff952b149118e6dc032.tar.bz2 ChibiOS-Contrib-319c9f9ee259cc7ae05bbff952b149118e6dc032.zip |
Merge pull request #102 from sdalu/microbit
BBC micro:bit board
Diffstat (limited to 'demos/NRF51/MICROBIT/mcuconf.h')
-rw-r--r-- | demos/NRF51/MICROBIT/mcuconf.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/demos/NRF51/MICROBIT/mcuconf.h b/demos/NRF51/MICROBIT/mcuconf.h new file mode 100644 index 0000000..54ffa3f --- /dev/null +++ b/demos/NRF51/MICROBIT/mcuconf.h @@ -0,0 +1,28 @@ +/*
+ Copyright (C) 2015 Fabio Utzig
+
+ 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_
+
+/*
+ * HAL driver system settings.
+ */
+#define NRF5_SERIAL_USE_UART0 TRUE
+#define NRF5_ST_USE_RTC0 TRUE
+#define NRF5_ST_USE_RTC1 FALSE
+#define NRF5_ST_USE_TIMER0 FALSE
+
+#endif /* _MCUCONF_H_ */
|