openmv M2 cpu

I changed stm32f427vg to stm32f427vi. Flash changed from 1M to 2M.
Where do I need to modify the source code?