mbed-src updated for BMD-200 evaluation board. Just pin numbers are updated.

Dependents:   mbed_blinky-bmd-200 bmd-200_accel_demo firstRig

Fork of mbed-src by mbed official

Replacement for the "mbed" or "mbed-src" library when using the BMD-200 Evaluation kit. This library only remaps the pin names (i.e. LED1 points to p0.01 instead of p0.18, etc) as used by the BMD-200 Evaluation board (select the nRF51822_mkit platform). All other code is untouched.

Committer:
dcnichols
Date:
Fri Jul 10 17:36:27 2015 +0000
Revision:
592:5e2eb8beba71
Parent:
513:bb3effbb3493
updating to latest mbed-src

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 174:8bb9f3a33240 1 /* mbed Microcontroller Library
mbed_official 174:8bb9f3a33240 2 * Copyright (c) 2006-2014 ARM Limited
mbed_official 174:8bb9f3a33240 3 *
mbed_official 174:8bb9f3a33240 4 * Licensed under the Apache License, Version 2.0 (the "License");
mbed_official 174:8bb9f3a33240 5 * you may not use this file except in compliance with the License.
mbed_official 174:8bb9f3a33240 6 * You may obtain a copy of the License at
mbed_official 174:8bb9f3a33240 7 *
mbed_official 174:8bb9f3a33240 8 * http://www.apache.org/licenses/LICENSE-2.0
mbed_official 174:8bb9f3a33240 9 *
mbed_official 174:8bb9f3a33240 10 * Unless required by applicable law or agreed to in writing, software
mbed_official 174:8bb9f3a33240 11 * distributed under the License is distributed on an "AS IS" BASIS,
mbed_official 174:8bb9f3a33240 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mbed_official 174:8bb9f3a33240 13 * See the License for the specific language governing permissions and
mbed_official 174:8bb9f3a33240 14 * limitations under the License.
mbed_official 174:8bb9f3a33240 15 */
mbed_official 174:8bb9f3a33240 16 #ifndef MBED_DEVICE_H
mbed_official 174:8bb9f3a33240 17 #define MBED_DEVICE_H
mbed_official 174:8bb9f3a33240 18
mbed_official 174:8bb9f3a33240 19 #define DEVICE_PORTIN 0
mbed_official 174:8bb9f3a33240 20 #define DEVICE_PORTOUT 0
mbed_official 174:8bb9f3a33240 21 #define DEVICE_PORTINOUT 0
mbed_official 174:8bb9f3a33240 22
mbed_official 174:8bb9f3a33240 23 #define DEVICE_INTERRUPTIN 1
mbed_official 174:8bb9f3a33240 24
mbed_official 186:2e805bf06ee4 25 #define DEVICE_ANALOGIN 1
mbed_official 174:8bb9f3a33240 26 #define DEVICE_ANALOGOUT 0
mbed_official 174:8bb9f3a33240 27
mbed_official 174:8bb9f3a33240 28 #define DEVICE_SERIAL 1
mbed_official 174:8bb9f3a33240 29
mbed_official 174:8bb9f3a33240 30 #define DEVICE_I2C 1
mbed_official 186:2e805bf06ee4 31 #define DEVICE_I2CSLAVE 1
mbed_official 174:8bb9f3a33240 32
mbed_official 174:8bb9f3a33240 33 #define DEVICE_SPI 1
mbed_official 174:8bb9f3a33240 34 #define DEVICE_SPISLAVE 0
mbed_official 174:8bb9f3a33240 35
mbed_official 174:8bb9f3a33240 36 #define DEVICE_CAN 0
mbed_official 174:8bb9f3a33240 37
mbed_official 348:3dfac0d3ce7b 38 #define DEVICE_RTC 1
mbed_official 174:8bb9f3a33240 39
mbed_official 174:8bb9f3a33240 40 #define DEVICE_ETHERNET 0
mbed_official 174:8bb9f3a33240 41
mbed_official 193:cff126de7aaf 42 #define DEVICE_PWMOUT 1
mbed_official 174:8bb9f3a33240 43
mbed_official 174:8bb9f3a33240 44 #define DEVICE_SEMIHOST 0
mbed_official 174:8bb9f3a33240 45 #define DEVICE_LOCALFILESYSTEM 0
mbed_official 174:8bb9f3a33240 46
mbed_official 513:bb3effbb3493 47 #define DEVICE_SLEEP 1
mbed_official 174:8bb9f3a33240 48
mbed_official 174:8bb9f3a33240 49 #define DEVICE_DEBUG_AWARENESS 0
mbed_official 174:8bb9f3a33240 50
mbed_official 174:8bb9f3a33240 51 #define DEVICE_STDIO_MESSAGES 0
mbed_official 174:8bb9f3a33240 52
mbed_official 174:8bb9f3a33240 53 #define DEVICE_ERROR_RED 1
mbed_official 174:8bb9f3a33240 54
mbed_official 174:8bb9f3a33240 55 #include "objects.h"
mbed_official 174:8bb9f3a33240 56
mbed_official 174:8bb9f3a33240 57 #endif