X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=include%2Fstlink.h;fp=include%2Fstlink.h;h=c29e2a66373b2004c3ac42dc34ce4c5ace1a2cca;hb=e30fcd4fd0b3d71b189cf30d81a84b2231de5714;hp=24b4dcf6e02e0680bb38e6287921df10e42aae20;hpb=c267a3aaa84d2788940010f51568b99192f86436;p=fw%2Fstlink diff --git a/include/stlink.h b/include/stlink.h index 24b4dcf..c29e2a6 100644 --- a/include/stlink.h +++ b/include/stlink.h @@ -137,6 +137,7 @@ extern "C" { #define STM32_CHIPID_F04 0x445 #define STM32_CHIPID_F303_HIGH 0x446 +#define STM32_CHIPID_L0_CAT5 0x447 #define STM32_CHIPID_F0_CAN 0x448 @@ -504,6 +505,18 @@ extern "C" { .bootrom_base = 0x1ff0000, .bootrom_size = 0x1000 }, + { + // STM32L0x Category 5 + // RM0367,RM0377 documents was used to find these parameters + .chip_id = STM32_CHIPID_L0_CAT5, + .description = "L0x Category 5 device", + .flash_type = FLASH_TYPE_L0, + .flash_size_reg = 0x1ff8007c, + .flash_pagesize = 0x80, + .sram_size = 0x5000, + .bootrom_base = 0x1ff0000, + .bootrom_size = 0x2000 + }, { // STM32F334 // RM0364 document was used to find these parameters