Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit 530e4d0

Browse files
committed
Correct flash page and sector size for L0 series devices
Thanks to Sergey Abovyan for reporting the error. http://code.google.com/p/stm32flash/issues/detail?id=59 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
1 parent 6271863 commit 530e4d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev_table.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const stm32_dev_t devices[] = {
5555
{0x423, "STM32F401xB(C)" , 0x20003000, 0x20010000, 0x08000000, 0x08100000, 4, 16384, 0x1FFFC000, 0x1FFFC00F, 0x1FFF0000, 0x1FFF77FF},
5656
{0x433, "STM32F401xD(E)" , 0x20003000, 0x20018000, 0x08000000, 0x08100000, 4, 16384, 0x1FFFC000, 0x1FFFC00F, 0x1FFF0000, 0x1FFF77FF},
5757
/* L0 */
58-
{0x417, "L05xxx/06xxx" , 0x20001000, 0x20002000, 0x08000000, 0x08020000, 16, 256, 0x1FF80000, 0x1FF8000F, 0x1FF00000, 0x1FF01000},
58+
{0x417, "L05xxx/06xxx" , 0x20001000, 0x20002000, 0x08000000, 0x08020000, 32, 128, 0x1FF80000, 0x1FF8000F, 0x1FF00000, 0x1FF01000},
5959
/* L1 */
6060
{0x416, "L1xxx6(8/B)" , 0x20000800, 0x20004000, 0x08000000, 0x08020000, 16, 256, 0x1FF80000, 0x1FF8000F, 0x1FF00000, 0x1FF01000},
6161
{0x429, "L1xxx6(8/B)A" , 0x20001000, 0x20008000, 0x08000000, 0x08020000, 16, 256, 0x1FF80000, 0x1FF8000F, 0x1FF00000, 0x1FF01000},

0 commit comments

Comments
 (0)