Does the STM32CUBEMX support STM32L072KZ or any other MCU from STM32L0x2 series that has 128k of flash?
I didnt find those MCU's...
The goal of CubeMX is to support ALL STM32, without exceptions. Even for new STM32 series typically CubeMX support them even before their mass market availability.
STM32L072KZ is already supported by CubeMX. I used latest release, which is 4.22 and I didn't have any problems to create a project for this part number, please see below.
By the way STM32L072KZ has 192kB of Flash, not 128kB, as you mentioned. But STM32L0 MCUs with 128kB are supported by CubeMX as well.
This worked for me, right out of the 4.22.0 box.
Retrieving data ...