After generating code for STM32F031K6 in MDK v5 Cube sets target as STM32F031K6Tx, but in CMSIS pack it is just STM32F031K6Similar problem is with 334 seriesYou have to change the target every time you regenerate code. Previously there was no problem...