Files
@ f2990941d9d9
Branch filter:
Location: therm/eeprom_min.h - annotation
f2990941d9d9
672 B
text/plain
Added untested jump-to-DFU using option bytes per ST forums. Should work, need to make sure the user program is run after DFU flash so the bits are unset
ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 ab7abb62e433 | #ifndef EEPROM_MIN_H
#define EEPROM_MIN_H
#define EEPROM_BASE_ADDR 0x08080000
#define EEPROM_BYTE_SIZE 0x0FFF
#define EEPROM_ADDR_WINDUP_GUARD 0x001C
#define EEPROM_ADDR_BOOTTOBREW 0x0020
#define EEPROM_ADDR_K_P 0x0024
#define EEPROM_ADDR_K_I 0x0028
#define EEPROM_ADDR_K_D 0x002C
#define EEPROM_ADDR_BREWTEMP 0x0030
#define EEPROM_ADDR_STEAMTEMP 0x0034
#define EEPROM_ADDR_UNITS 0x0038
/*
void Minimal_EEPROM_Unlock(void);
void Minimal_EEPROM_Lock(void);
FLASH_Status Minimal_FLASH_GetStatus(void);
FLASH_Status Minimal_FLASH_WaitForLastOperation(uint32_t Timeout);
void Minimal_EEPROM_ProgramWord(uint32_t Address, uint32_t Data);
*/
#endif
|