aboutsummaryrefslogtreecommitdiff
path: root/src/stm32f1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f1.c')
-rw-r--r--src/stm32f1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32f1.c b/src/stm32f1.c
index d02a26d..bce00d3 100644
--- a/src/stm32f1.c
+++ b/src/stm32f1.c
@@ -122,7 +122,7 @@ static const char stm32hd_xml_memory_map[] = "<?xml version=\"1.0\"?>"
#define DBGMCU_IDCODE 0xE0042000
#define DBGMCU_IDCODE_F0 0x40015800
-uint16_t stm32f1_flash_write_stub[] = {
+static const uint16_t stm32f1_flash_write_stub[] = {
// _start:
0x4809, // ldr r0, [pc, #36] // _flashbase
0x490a, // ldr r1, [pc, #40] // _addr