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/mbed_interface.c
- Revision:
- 228:85a676113daa
- Parent:
- 221:8276e3a4886f
- Child:
- 250:a49055e7a707
diff -r 7bd0639b8911 -r 85a676113daa common/mbed_interface.c --- a/common/mbed_interface.c Wed Jun 11 16:00:09 2014 +0100 +++ b/common/mbed_interface.c Thu Jun 12 10:15:07 2014 +0100 @@ -38,7 +38,6 @@ } } -WEAK int mbed_interface_uid(char *uid); WEAK int mbed_interface_uid(char *uid) { if (mbed_interface_connected()) { return semihost_uid(uid); // Returns 0 if successful, -1 on failure @@ -77,13 +76,11 @@ mbed_interface_reset(); } -WEAK int mbed_uid(char *uid); WEAK int mbed_uid(char *uid) { return mbed_interface_uid(uid); } #endif -WEAK void mbed_mac_address(char *mac); WEAK void mbed_mac_address(char *mac) { #if DEVICE_SEMIHOST char uid[DEVICE_ID_LENGTH + 1];