comparison stm32_eval.h @ 56:f0563086040d

Fix more warnings. Note the 'buf might be used uninitialised' warning appears to be a GCC bug.
author Daniel O'Connor <darius@dons.net.au>
date Sun, 07 Apr 2013 22:44:23 +0930
parents b21db2b47a27
children
comparison
equal deleted inserted replaced
55:b21db2b47a27 56:f0563086040d
3 /* SDIO Data Transfer Frequency (25MHz max) */ 3 /* SDIO Data Transfer Frequency (25MHz max) */
4 #define SDIO_TRANSFER_CLK_DIV ((uint8_t)0x01) 4 #define SDIO_TRANSFER_CLK_DIV ((uint8_t)0x01)
5 5
6 #undef SD_HAVE_DETECT 6 #undef SD_HAVE_DETECT
7 7
8 /* Going to 4 bit mode gives CRC errors */ 8 /* Going to 4 bit mode gives CRC errors in PIO mode or hangs in DMA */
9 #define SD_NO_4BIT 9 #define SD_NO_4BIT
10 #define SD_DMA_MODE ((uint32_t)0x00000000) 10 #define SD_DMA_MODE ((uint32_t)0x00000000)
11 //#define SD_POLLING_MODE ((uint32_t)0x00000002) 11 //#define SD_POLLING_MODE ((uint32_t)0x00000002)
12 12
13 /* No idea if this is for all SD cards. The one I have has 1024 byte blocks but 512 byte reads work 13 /* No idea if this is for all SD cards. The one I have has 1024 byte blocks but 512 byte reads work