1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

🐛 Protect EEPROM bytes 916-926

Followup to #26729

Ender-3S1 STM32F401 Bootloader
This commit is contained in:
Scott Lahteine 2024-01-27 11:45:54 -06:00
parent ce8535f01c
commit ebea672240
2 changed files with 4 additions and 2 deletions

View File

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

View File

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