|
@@ -31,7 +31,7 @@
|
31
|
31
|
#error "MKS Robin nano supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
32
|
32
|
#endif
|
33
|
33
|
|
34
|
|
-#define BOARD_INFO_NAME "MKS Robin nano"
|
|
34
|
+#define BOARD_INFO_NAME "MKS Robin Nano"
|
35
|
35
|
|
36
|
36
|
//
|
37
|
37
|
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
|
|
@@ -41,10 +41,13 @@
|
41
|
41
|
//
|
42
|
42
|
// EEPROM
|
43
|
43
|
//
|
44
|
|
-#if NO_EEPROM_SELECTED
|
45
|
|
- //#define FLASH_EEPROM_EMULATION
|
46
|
|
- #define SDCARD_EEPROM_EMULATION
|
|
44
|
+#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
|
|
45
|
+ #define FLASH_EEPROM_EMULATION
|
|
46
|
+ #define EEPROM_PAGE_SIZE (0x800U) // 2KB
|
|
47
|
+ #define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 2UL)
|
|
48
|
+ #define MARLIN_EEPROM_SIZE EEPROM_PAGE_SIZE // 2KB
|
47
|
49
|
#endif
|
|
50
|
+
|
48
|
51
|
#define ENABLE_SPI2
|
49
|
52
|
|
50
|
53
|
//
|