Max32-eth configuration: SD card speed reduced to 10MHz.

Now it works stable with MakerStudio SD card shield.
This commit is contained in:
Serge Vakulenko
2015-02-02 22:26:19 -08:00
parent 1916f8c9da
commit f62f70c718
3 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ device uart2 baud=115200
device uart3 baud=115200
device uart4 baud=115200
device sd0 port=2 cs=4
device sd0 port=2 cs=4 mhz=10
device gpio
device spi
device adc

View File

@@ -52,6 +52,7 @@ DEFS += -DLED_KERNEL_PORT=TRISA
DEFS += -DPIC32MX7
DEFS += -DSD0_CS_PIN=14
DEFS += -DSD0_CS_PORT=TRISC
DEFS += -DSD0_MHZ=10
DEFS += -DSD0_PORT=2
DEFS += -DSPI_ENABLED=YES
DEFS += -DUART1_BAUD=115200