X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstlink-common.h;h=080a8d60ed2ebc9db9356171022d5624f930e73c;hb=27448f5a6f8ed867e8ddab77f5b9663e9dadc20f;hp=9481609f6fc616e03836a4d23c1197f8112ef116;hpb=165e5fd66c8aea8e237a11b02835e78ad419fd68;p=fw%2Fstlink diff --git a/src/stlink-common.h b/src/stlink-common.h index 9481609..080a8d6 100644 --- a/src/stlink-common.h +++ b/src/stlink-common.h @@ -162,6 +162,7 @@ extern "C" { #define STM32_FLASH_BASE 0x08000000 #define STM32_FLASH_SIZE (128 * 1024) #define STM32_FLASH_PGSZ 1024 +#define STM32L_FLASH_PGSZ 256 stm32_addr_t flash_base; size_t flash_size; size_t flash_pgsz;