Improve STM32F4 Flash Behavior (#17946)

This commit is contained in:
Jason Smith
2020-05-10 23:10:20 -07:00
committed by GitHub
parent 9d545f1231
commit 25aade1cf1
4 changed files with 87 additions and 13 deletions

View File

@ -43,3 +43,12 @@
#endif
#error "SDCARD_EEPROM_EMULATION requires SDSUPPORT. Enable SDSUPPORT or choose another EEPROM emulation."
#endif
#if defined(STM32F4xx) && BOTH(PRINTCOUNTER, FLASH_EEPROM_EMULATION)
#warning "FLASH_EEPROM_EMULATION may cause long delays when writing and should not be used while printing."
#error "Disable PRINTCOUNTER or choose another EEPROM emulation."
#endif
#if !defined(STM32F4xx) && ENABLED(FLASH_EEPROM_LEVELING)
#error "FLASH_EEPROM_LEVELING is currently only supported on STM32F4 hardware."
#endif