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: targets/hal/TARGET_NXP/TARGET_LPC43XX/pinmap.c
- Revision:
- 256:76fd9a263045
- Parent:
- 251:de9a1e4ffd79
- Child:
- 285:31249416b6f9
--- a/targets/hal/TARGET_NXP/TARGET_LPC43XX/pinmap.c Fri Jul 11 10:00:08 2014 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC43XX/pinmap.c Tue Jul 15 07:45:08 2014 +0100 @@ -29,7 +29,7 @@ } void pin_mode(PinName pin, PinMode mode) { - MBED_ASSERT((pin != (PinName)NC) && (mode == OpenDrain)); + MBED_ASSERT(pin != (PinName)NC); // && (mode != OpenDrain)); __IO uint32_t *reg = (__IO uint32_t*) MBED_SCU_REG(pin); uint32_t tmp = *reg;