🐛 Protect EEPROM bytes 916-926
Followup to #26729 Ender-3S1 STM32F401 Bootloader
This commit is contained in:
parent
ce8535f01c
commit
ebea672240
|
@ -26,8 +26,8 @@
|
||||||
|
|
||||||
#include "../../libs/crc16.h"
|
#include "../../libs/crc16.h"
|
||||||
|
|
||||||
// For testing. Define with -DEEPROM_EXCL_ZONE=919,926 in INI files.
|
// For testing. Define with -DEEPROM_EXCL_ZONE=916,926 in INI files.
|
||||||
//#define EEPROM_EXCL_ZONE 919,926 // Test a range
|
//#define EEPROM_EXCL_ZONE 916,926 // Test a range
|
||||||
//#define EEPROM_EXCL_ZONE 333 // Test a single byte
|
//#define EEPROM_EXCL_ZONE 333 // Test a single byte
|
||||||
|
|
||||||
#ifdef EEPROM_EXCL_ZONE
|
#ifdef EEPROM_EXCL_ZONE
|
||||||
|
|
|
@ -35,4 +35,6 @@
|
||||||
#define DISABLE_DEBUG false // DISABLE_(DEBUG|JTAG) is not supported for STM32F4.
|
#define DISABLE_DEBUG false // DISABLE_(DEBUG|JTAG) is not supported for STM32F4.
|
||||||
#define ALLOW_STM32F4
|
#define ALLOW_STM32F4
|
||||||
|
|
||||||
|
#define EEPROM_EXCL_ZONE 916,926 // Ender-3S1 STM32F401 Bootloader EEPROM exclusion zone
|
||||||
|
|
||||||
#include "../stm32f1/pins_CREALITY_V24S1_301.h"
|
#include "../stm32f1/pins_CREALITY_V24S1_301.h"
|
||||||
|
|
Loading…
Reference in a new issue