projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2d15724
)
altos/stmf0: Remove some incorrect defines in stm32f0.h
author
Keith Packard
<keithp@keithp.com>
Sun, 16 Apr 2023 04:50:08 +0000
(21:50 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 16 Apr 2023 04:50:08 +0000
(21:50 -0700)
These got copied from the stm32l15x bits
Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/stm32f0.h
patch
|
blob
|
history
diff --git
a/src/stmf0/stm32f0.h
b/src/stmf0/stm32f0.h
index 1735900c771a8ecaf29b6e88f23fd6bb8cdb40d0..0e0267432dcf10213c2fafa18b8584b70a041102 100644
(file)
--- a/
src/stmf0/stm32f0.h
+++ b/
src/stmf0/stm32f0.h
@@
-212,18
+212,6
@@
extern struct stm_flash stm_flash;
#define STM_FLASH_ACR_LATENCY_0 0
#define STM_FLASH_ACR_LATENCY_1 1
#define STM_FLASH_ACR_LATENCY_0 0
#define STM_FLASH_ACR_LATENCY_1 1
-#define STM_FLASH_PECR_OBL_LAUNCH 18
-#define STM_FLASH_PECR_ERRIE 17
-#define STM_FLASH_PECR_EOPIE 16
-#define STM_FLASH_PECR_FPRG 10
-#define STM_FLASH_PECR_ERASE 9
-#define STM_FLASH_PECR_FTDW 8
-#define STM_FLASH_PECR_DATA 4
-#define STM_FLASH_PECR_PROG 3
-#define STM_FLASH_PECR_OPTLOCK 2
-#define STM_FLASH_PECR_PRGLOCK 1
-#define STM_FLASH_PECR_PELOCK 0
-
#define STM_FLASH_SR_EOP 5
#define STM_FLASH_SR_WRPRTERR 4
#define STM_FLASH_SR_PGERR 2
#define STM_FLASH_SR_EOP 5
#define STM_FLASH_SR_WRPRTERR 4
#define STM_FLASH_SR_PGERR 2