correctly set flash size for f3 boot to 16KB

This commit is contained in:
hathach 2023-05-30 18:08:07 +07:00
parent 809220df5c
commit 1c680a859d
No known key found for this signature in database
GPG key ID: F5D50C6D51D17CBA

View file

@ -42,7 +42,7 @@ _Min_Stack_Size = 0x800;; /* required amount of stack */
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 256K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 16K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 40K - 4 /* reserve 4 bytes for double tap */
CCMRAM (rw) : ORIGIN = 0x10000000, LENGTH = 8K
}