projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Align loader to 32-bit boundary
[fw/stlink]
/
src
/
stlink-common.h
diff --git
a/src/stlink-common.h
b/src/stlink-common.h
index e7be10ff021ee60663df04695a24d6c686c89caa..e2f7b75c2d5923e195f5f323eeaabe1b83874edb 100644
(file)
--- a/
src/stlink-common.h
+++ b/
src/stlink-common.h
@@
-167,6
+167,7
@@
extern "C" {
#define C_BUF_LEN 32
enum flash_type {
+ FLASH_TYPE_UNKNOWN = 0,
FLASH_TYPE_F0,
FLASH_TYPE_L0,
FLASH_TYPE_F4,
@@
-640,6
+641,9
@@
extern "C" {
uint32_t chip_id;
int core_stat;
+ char serial[16];
+ int serial_size;
+
#define STM32_FLASH_PGSZ 1024
#define STM32L_FLASH_PGSZ 256