What are the best way to split graphical assets and program bin files?
I don't know fi this is the correct place for this question... It's realy more about objcopy than touch_gfx. But on the other hand if somebody else have the problem it suites fine here...
I have my assets (ExtFlashSection, FontFlashSection and TextFlashSection) in an external QSPI flash.
Now I have a demand for OTA, and since th bin file coveres a large area of "nothing" between the internal and external flash the logical thing is to split it in two half using objcopy. This works fine if I remove ExtFlashSection and relocalte FontFlashSection and TextFlashSection to the internal memory of my stm32f7 mcu.
But I would like to put all my sections that are loaded to "qspi_flash_memory" to a separate bin file. (I have some other big segments going to my qspiflash aswell)
I have not been able to figure out how (if even possible) to get multipple sections (perhaps even a "MEMORY" defined in my linker file) in the correct order with objcopy.
I guess it would be possible to remove all "unwanted sections" from each new bin file... using --remove-section over and over agian... but there are a lot of sections...
If I use --only-section i'm not sure about the exported order of the segments. Are they in "memory adress order" or "parameter order" or some random order?
How can I be certain that the created bin file be in the "correct order"??
Anyone that knows objcopy, or have another good idea?
