Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#8 from Kokorone/Contribution
Browse files Browse the repository at this point in the history
Fix EEPROM emulation and sd card printing
  • Loading branch information
MKS-Sean authored Apr 23, 2020
2 parents b400db8 + 205b830 commit f47a13f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/HAL/STM32F1/sdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
#define SDIO_DATA_TIMEOUT 100U /* Read data transfer timeout */
#define SDIO_WRITE_TIMEOUT 200U /* Write data transfer timeout */

#define SDIO_CLOCK 18000000 /* 18 MHz */
#define SDIO_CLOCK 4500000 /* 4.5 MHz */

// ------------------------
// Types
Expand Down
10 changes: 10 additions & 0 deletions Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
//
#define DISABLE_DEBUG

//
// EEPROM
//
//#define FLASH_EEPROM_EMULATION
#define SDCARD_EEPROM_EMULATION

//
// Note: MKS Robin board is using SPI2 interface.
//
Expand Down Expand Up @@ -115,6 +121,10 @@
//
// SD Card
//
#ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD
#endif

#define SDIO_SUPPORT
#define SD_DETECT_PIN PD12

Expand Down

0 comments on commit f47a13f

Please sign in to comment.