Keith Bennett
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
8 additions and
5 deletions
-
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h
-
buildroot/share/PlatformIO/ldscripts/mks_robin_nano.ld
|
@ -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 */ |
|
|