How to prevent Debug session from trying to program external memories?
I will preface this by stating I did not have this problem with System Workbench on a previous project.
When using external flash (QSPI), running a Debug session will fail due to STM32CubeIDE trying and failing to program the external flash.
When running a debug session, I only want the internal flash to be programmed.
I program the external flash ahead of time, once, rather than trying to hook my custom external loader into the debugger and flash the external flash every single debug session.
How can I achieve this?
