CubeMX includes different MPU
If you try to generate code for, say, STM32MP151AAA you will find inside the dts files, some includes related to another MPU (like STM32MP157C):#include "stm32mp157c.dtsi" #include "stm32mp157caa-pinctrl.dtsi" #include "stm32mp157c-security.dtsi"And ...