We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ebcaed commit 0dc3f9aCopy full SHA for 0dc3f9a
src/stm32f103/config.h
@@ -19,7 +19,7 @@
19
#ifndef CONFIG_H_INCLUDED
20
#define CONFIG_H_INCLUDED
21
22
-#define APP_BASE_ADDRESS 0x08002C00
+#define APP_BASE_ADDRESS 0x08002000
23
#define FLASH_PAGE_SIZE 1024
24
25
#endif
src/stm32f103/stm32f103x8.ld
@@ -20,9 +20,10 @@
/* Linker script for STM32F103x8, 64k flash, 20k RAM. */
/* Define memory regions. */
+/* 8k for the bootloader */
MEMORY
{
- rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K
26
+ rom (rx) : ORIGIN = 0x08000000, LENGTH = 8K
27
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
28
}
29
0 commit comments