Nucleo-L476RG using SD-CARD library. The program is functioning but might get problem if you update the mbed. In two different times I got problem with mbed library as no SPI clock was generated. At the time I publish this library the mbed is broken.
History
Reference code for testing SD-Card with MBED-OS. ; The SD-Card works with this revision, but updating MBED-OS might cause problem. I can confirm that the current mbed-rev at 2017-04-07 is broken. ; Use this sample code as reference
2017-04-07, by mjm2016 [Fri, 07 Apr 2017 10:33:54 +0000] rev 0
Reference code for testing SD-Card with MBED-OS. ; The SD-Card works with this revision, but updating MBED-OS might cause problem. I can confirm that the current mbed-rev at 2017-04-07 is broken. ; Use this sample code as reference