follow the instruction in http://mbed.org/users/dreschpe/code/SPI_TFT_ILI9341/, make two update, 1. replace P5, P6, P7, P8, P9, P10 with SPI_TFT_ILI9341 TFT(PTD2, PTD3, PTD1, PTD0, PTA20, PTA13,"TFT"); // mosi, miso, sclk, cs, reset, dc in graphics.c add const, otherwise not compile.

Dependencies:   SPI_TFT_ILI9341 TFT_fonts mbed

no such method: docs