This is how i got the hardware to work. Not saying that it cant work any other way. I haven't tied anything of yours in. So likely delete mine from rev 2 or 3, and then put this instead. Then it might work.

Dependencies:   mbed

mbed.bld

Committer:
PET
Date:
2017-06-22
Revision:
0:c426396d5fdf

File content as of revision 0:c426396d5fdf:

https://mbed.org/users/mbed_official/code/mbed/builds/0f02307a0877