DocYester
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
23 additions and
1 deletions
-
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3.h
-
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_E3D.h
-
buildroot/share/PlatformIO/ldscripts/mks_robin_e3.ld
|
|
@ -40,6 +40,17 @@ |
|
|
|
#define DISABLE_JTAG |
|
|
|
#define ENABLE_SPI2 |
|
|
|
|
|
|
|
//
|
|
|
|
// EEPROM
|
|
|
|
//
|
|
|
|
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION) |
|
|
|
#define FLASH_EEPROM_EMULATION |
|
|
|
#define EEPROM_PAGE_SIZE (0x800U) // 2KB
|
|
|
|
#define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 2UL) |
|
|
|
#undef E2END |
|
|
|
#define E2END (EEPROM_PAGE_SIZE - 1) // 2KB
|
|
|
|
#endif |
|
|
|
|
|
|
|
//
|
|
|
|
// Servos
|
|
|
|
//
|
|
|
|
|
|
@ -40,6 +40,17 @@ |
|
|
|
#define DISABLE_JTAG |
|
|
|
#define ENABLE_SPI2 |
|
|
|
|
|
|
|
//
|
|
|
|
// EEPROM
|
|
|
|
//
|
|
|
|
#if EITHER(NO_EEPROM_SELECTED, FLASH_EEPROM_EMULATION) |
|
|
|
#define FLASH_EEPROM_EMULATION |
|
|
|
#define EEPROM_PAGE_SIZE (0x800U) // 2KB
|
|
|
|
#define EEPROM_START_ADDRESS (0x8000000UL + (STM32_FLASH_SIZE) * 1024UL - (EEPROM_PAGE_SIZE) * 2UL) |
|
|
|
#undef E2END |
|
|
|
#define E2END (EEPROM_PAGE_SIZE - 1) // 2KB
|
|
|
|
#endif |
|
|
|
|
|
|
|
//
|
|
|
|
// Servos
|
|
|
|
//
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
MEMORY |
|
|
|
{ |
|
|
|
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K - 40 |
|
|
|
rom (rx) : ORIGIN = 0x08005000, LENGTH = 256K - 20K |
|
|
|
rom (rx) : ORIGIN = 0x08005000, LENGTH = 256K - 20K - 4K |
|
|
|
} |
|
|
|
|
|
|
|
/* Provide memory region aliases for common.inc */ |
|
|
|