Yes, the flash script for the G4 only supports one mode.
If you go to the flash script "./scripts/stmicro/flash/stm32Gx_fl.script" you see the header
Perhaps you could add dual bank flashing and share your script files so I can add it or use github.
I just made a quick implementation but I never used those Gx devices myself
If you go to the flash script "./scripts/stmicro/flash/stm32Gx_fl.script" you see the header
Code:
/////////////////////////////////////////////////////////////////////////////////
//
// STM32G0_fl flash loader
//
// ToDo: - option programming
// - dual bank for G4x
Perhaps you could add dual bank flashing and share your script files so I can add it or use github.
I just made a quick implementation but I never used those Gx devices myself