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
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.
Diff: common/pinmap_common.c
- Revision:
- 19:398f4c622e1b
- Parent:
- 13:0645d8841f51
- Child:
- 64:7b352733b00a
--- a/common/pinmap_common.c Mon Aug 12 13:49:01 2013 +0300 +++ b/common/pinmap_common.c Mon Aug 19 18:17:02 2013 +0300 @@ -45,7 +45,7 @@ } uint32_t pinmap_peripheral(PinName pin, const PinMap* map) { - if (pin == (uint32_t)NC) + if (pin == (PinName)NC) return (uint32_t)NC; while (map->pin != NC) {