Merge pull request #1784 from XPila/MK3
Different secondary language reserved space for MK3 and MK25
This commit is contained in:
commit
ca965aba7b
@ -42,10 +42,18 @@
|
||||
#define W25X20CL_SPCR SPI_SPCR(W25X20CL_SPI_RATE, 1, 1, 1, 0)
|
||||
#define W25X20CL_SPSR SPI_SPSR(W25X20CL_SPI_RATE)
|
||||
|
||||
#include "boards.h"
|
||||
#include "Configuration_prusa.h"
|
||||
|
||||
//LANG - Multi-language support
|
||||
//#define LANG_MODE 0 // primary language only
|
||||
#define LANG_MODE 1 // sec. language support
|
||||
|
||||
#if (MOTHERBOARD == BOARD_EINSY_1_0a)
|
||||
#define LANG_SIZE_RESERVED 0x2b00 // reserved space for secondary language (11008 bytes)
|
||||
#else //MOTHERBOARD == BOARD_EINSY_1_0a
|
||||
#define LANG_SIZE_RESERVED 0x2d00 // reserved space for secondary language (11520 bytes)
|
||||
#endif //MOTHERBOARD == BOARD_EINSY_1_0a
|
||||
|
||||
|
||||
#endif //_CONFIG_H
|
||||
|
Loading…
Reference in New Issue
Block a user