configs: stm32: Enable DOS_PARTITION for STM32F4/F7 boards