MKS Robin Nano flash-based EEPROM (#18466)
This commit is contained in:
parent
ca4ade4c44
commit
69b5b91c91
@ -31,7 +31,7 @@
|
|||||||
#error "MKS Robin nano supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
#error "MKS Robin nano supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOARD_INFO_NAME "MKS Robin nano"
|
#define BOARD_INFO_NAME "MKS Robin Nano"
|
||||||
|
|
||||||
//
|
//
|
||||||
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
|
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
|
||||||
@ -41,10 +41,13 @@
|
|||||||
//
|
//
|
||||||
// EEPROM
|
// EEPROM
|
||||||
//
|
//
|
||||||
#if NO_EEPROM_SELECTED
|
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION)
|
||||||
//#define FLASH_EEPROM_EMULATION
|
#define FLASH_EEPROM_EMULATION
|
||||||
#define SDCARD_EEPROM_EMULATION
|
#define EEPROM_PAGE_SIZE (0x800U) // 2KB
|
||||||
|
#define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 2UL)
|
||||||
|
#define MARLIN_EEPROM_SIZE EEPROM_PAGE_SIZE // 2KB
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ENABLE_SPI2
|
#define ENABLE_SPI2
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K - 40
|
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K - 40
|
||||||
rom (rx) : ORIGIN = 0x08007000, LENGTH = 512K - 28K
|
rom (rx) : ORIGIN = 0x08007000, LENGTH = 512K - 28K - 4K
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Provide memory region aliases for common.inc */
|
/* Provide memory region aliases for common.inc */
|
||||||
|
Loading…
Reference in New Issue
Block a user