Modify the file main.cpp for M487

Dependencies:   BufferedSerial

Committer:
shliu1
Date:
Fri Sep 29 05:45:43 2017 +0000
Revision:
0:c89ccc69a48b
main.cpp adds the setting of TARGET_NUMAKER_PFM_M487 for M487

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shliu1 0:c89ccc69a48b 1 # Block device driver for SD card supported by Nuvoton platforms
shliu1 0:c89ccc69a48b 2
shliu1 0:c89ccc69a48b 3 This driver implements [BlockDevice class](https://github.com/ARMmbed/mbed-os/blob/master/features/filesystem/bd/BlockDevice.h)
shliu1 0:c89ccc69a48b 4 introduced with mbed OS 5.4 for SD card running in SD bus mode on Nuvoton platforms which support it.
shliu1 0:c89ccc69a48b 5
shliu1 0:c89ccc69a48b 6 ARM mbed team also releases an official [SD driver](https://github.com/armmbed/sd-driver), but it supports SPI bus mode
shliu1 0:c89ccc69a48b 7 rather than SD bus mode.
shliu1 0:c89ccc69a48b 8
shliu1 0:c89ccc69a48b 9 ## Use with FAT file system
shliu1 0:c89ccc69a48b 10 The [SD file system example](https://developer.mbed.org/teams/Nuvoton/code/NuMaker-mbed-SD-FileSystem-example/) is cloned from
shliu1 0:c89ccc69a48b 11 the [FAT file system example](https://github.com/armmbed/mbed-os-example-fat-filesystem) released by ARM mbed team and
shliu1 0:c89ccc69a48b 12 is modified to use this SD block device to back the FAT file system.
shliu1 0:c89ccc69a48b 13
shliu1 0:c89ccc69a48b 14 ## Support Nuvoton platforms
shliu1 0:c89ccc69a48b 15 - [NuMaker-PFM-NUC472](https://developer.mbed.org/platforms/Nuvoton-NUC472/)
shliu1 0:c89ccc69a48b 16 - NuMaker-PFM-M487
shliu1 0:c89ccc69a48b 17