Skip to content

Commit ebea672

Browse files
committed
🐛 Protect EEPROM bytes 916-926
Followup to #26729 Ender-3S1 STM32F401 Bootloader
1 parent ce8535f commit ebea672

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Marlin/src/HAL/shared/eeprom_api.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
#include "../../libs/crc16.h"
2828

29-
// For testing. Define with -DEEPROM_EXCL_ZONE=919,926 in INI files.
30-
//#define EEPROM_EXCL_ZONE 919,926 // Test a range
29+
// For testing. Define with -DEEPROM_EXCL_ZONE=916,926 in INI files.
30+
//#define EEPROM_EXCL_ZONE 916,926 // Test a range
3131
//#define EEPROM_EXCL_ZONE 333 // Test a single byte
3232

3333
#ifdef EEPROM_EXCL_ZONE

Marlin/src/pins/stm32f4/pins_CREALITY_V24S1_301F4.h

+2
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@
3535
#define DISABLE_DEBUG false // DISABLE_(DEBUG|JTAG) is not supported for STM32F4.
3636
#define ALLOW_STM32F4
3737

38+
#define EEPROM_EXCL_ZONE 916,926 // Ender-3S1 STM32F401 Bootloader EEPROM exclusion zone
39+
3840
#include "../stm32f1/pins_CREALITY_V24S1_301.h"

0 commit comments

Comments
 (0)