QSPI EEPROM for SAMD51 (#17292)

This commit is contained in:
Giuliano Zaro
2020-03-27 23:29:17 +01:00
committed by GitHub
parent 3655e240f5
commit 129b270628
41 changed files with 413 additions and 179 deletions

View File

@ -57,7 +57,7 @@
#include "../MarlinCore.h"
#if EITHER(EEPROM_SETTINGS, SD_FIRMWARE_UPDATE)
#include "../HAL/shared/persistent_store_api.h"
#include "../HAL/shared/eeprom_api.h"
#endif
#include "probe.h"

View File

@ -24,7 +24,7 @@
#include "../inc/MarlinConfig.h"
#if ENABLED(EEPROM_SETTINGS)
#include "../HAL/shared/persistent_store_api.h"
#include "../HAL/shared/eeprom_api.h"
#endif
class MarlinSettings {

View File

@ -35,7 +35,7 @@ Stopwatch print_job_timer; // Global Print Job Timer instance
#include "printcounter.h"
#include "../MarlinCore.h"
#include "../HAL/shared/persistent_store_api.h"
#include "../HAL/shared/eeprom_api.h"
#if HAS_BUZZER && SERVICE_WARNING_BUZZES > 0
#include "../libs/buzzer.h"

View File

@ -28,7 +28,7 @@
// Print debug messages with M111 S2
//#define DEBUG_PRINTCOUNTER
#if USE_REAL_EEPROM
#if USE_WIRED_EEPROM
// round up address to next page boundary (assuming 32 byte pages)
#define STATS_EEPROM_ADDRESS 0x40
#else
@ -57,7 +57,7 @@ class PrintCounter: public Stopwatch {
private:
typedef Stopwatch super;
#if USE_REAL_EEPROM || defined(CPU_32_BIT)
#if USE_WIRED_EEPROM || defined(CPU_32_BIT)
typedef uint32_t eeprom_address_t;
#else
typedef uint16_t eeprom_address_t;