stm8s: fix data unlocking keys
This commit is contained in:
parent
2c9da799f8
commit
b3b2eb4782
4
stm8s.h
4
stm8s.h
|
@ -325,8 +325,8 @@ typedef struct {
|
||||||
#define FLASH_PUKR_KEY1 0x56
|
#define FLASH_PUKR_KEY1 0x56
|
||||||
#define FLASH_PUKR_KEY2 0xAE
|
#define FLASH_PUKR_KEY2 0xAE
|
||||||
#define FLASH_DUKR (*(volatile uint8_t *)(FLASH_BASE + 0x0A))
|
#define FLASH_DUKR (*(volatile uint8_t *)(FLASH_BASE + 0x0A))
|
||||||
#define FLASH_DUKR_KEY1 0x56
|
#define FLASH_DUKR_KEY1 0xAE
|
||||||
#define FLASH_DUKR_KEY2 0xAE
|
#define FLASH_DUKR_KEY2 0x56
|
||||||
|
|
||||||
// Block: ITC
|
// Block: ITC
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue