STM32 demo code
Runs fine for me on STM32F103C8T6 with 2.4" 240x320 SPI TFT LCD Serial ILI9341
on Linux (Xubuntu 15.04) Flashed with ST- Link V2 compiled with gcc-arm-none-eabi-4_9-2014q4 need STM32F10x_StdPeriph_Lib_V3.5.0 (http://www.st.com/web/en/catalog/tools/PF257890)