Subversion Repositories svn.mios32

Rev

Rev 1353 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1353 Rev 1376
Line 19... Line 19...
19
19
20
// Override SD card speed to make it faster
20
// Override SD card speed to make it faster
21
#define MIOS32_SDCARD_SPI_PRESCALER MIOS32_SPI_PRESCALER_4
21
#define MIOS32_SDCARD_SPI_PRESCALER MIOS32_SPI_PRESCALER_4
22
22
23
#if defined(MIOS32_FAMILY_STM32F10x)
23
#if defined(MIOS32_FAMILY_STM32F10x)
24
// I2S device connected to J8 (-> SPI1), therefore we have to use SPI0 (-> J16) for SRIO chain
24
// I2S device connected to J8 (-> SPI1), therefore we have to disable SRIO!
-
 
25
// DIN/DOUT won't be available for this board
-
 
26
// there is no suitable alternative port available, e.g. J16 used for SD Card
25
# define MIOS32_SRIO_SPI 0
27
#define MIOS32_DONT_USE_SRIO 1
26
#endif
28
#endif
27
29
28
// avoid disk_read in FILE_ReadReOpen
30
// avoid disk_read in FILE_ReadReOpen
29
#define FILE_NO_DISK_READ_ON_READREOPEN 1
31
#define FILE_NO_DISK_READ_ON_READREOPEN 1
30
32