So, I failed in writing an external loader in STMCubeIDE, but Clive Turvey did that. Thanks to him, I have a working "external loader", tested with STMCubePorgrammer: stm32extldr/h7_is25lp128/CLIVEONE-IS25LP128_STM32H72X-PA3-PC11-PC9-PC10-PE2-PA6.stldr at main · cturvey/stm32extldr · GitHub
Now, when I try
target-gen elf -u CLIVEONE-IS25LP128_STM32H72X-PA3-PC11-PC9-PC10-PE2-PA6.stldr TARGET.yaml
I get
Error: Failed to extract flash information from ELF file 'CLIVEONE-IS25LP128_STM32H72X-PA3-PC11-PC9-PC10-PE2-PA6.stldr'.
Caused by:
Failed to find 'FlashDevice' symbol in ELF file.
Can someone help me, how do I get the "FlashDevice" symbol into that elf?