Hi PetrM
If I run it without TWRLCD I won't have a SD card Slot.
LDC switch configurations are:
SW1/JP1=OFF, SW1/JP2=ON, SW1/JP3=ON, SW1/JP4=ON, SW1/JP5=ON, SW1/JP6=OFF, SW1/JP7=ON, SW1/JP8=OFF
I'm suspecting that some defines like BSP_SDCARD_GPIO_CS, BSP_SDCARD_GPIO_DETECT, BSP_SDCARD_GPIO_PROTECT and BSP_SDCARD_SPI_CHANNEL all of these define are in twrmcf52259.h, but I don't know where the project is doing refece to this file because when I search "twrmcf52259.h" inside the project I don't have any results.
By other hand, demo.c has some conditional compiles, one of them is #if defined BSP_SDCARD_GPIO_CS at least that I define this macro in demo.c, this conditional compilation line doesn't compile even if I include twrmcf52259.h a quite rare situation, doesn't it?
So, I don't know if I need BSP_SDCARD_GPIO_SC or not and, I don't know too, what is it happening with QSPI...
Matt