Merge pull request #1784 from XPila/MK3

Different secondary language reserved space for MK3 and MK25
This commit is contained in:
XPila 2019-04-30 12:46:50 +02:00 committed by GitHub
commit ca965aba7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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