Sincerely, I appreciate all kind of hints from everyone!
Then I start to experiment and to filter the varoius answer on web.
The result is that objcopy --remove-section command syntax is right . is it also possibile to create a queue:
objcopy --remove-section=ExtFlashSection --remove-section=FontFlashSection --remove-section=TextFlashSection
instead themost important missing code is the first part of the command:
arm-none-eabi-objcopy.exe
writing :
arm-none-eabi-objcopy.exe --remove-section=ExtFlashSection --remove-section=FontFlashSection --remove-section=TextFlashSection "${BuildArtifactFileBaseName}.elf" "${BuildArtifactFileBaseName}.elf"
Everything works.
I checked inside the "*.elf" file the ExtFlashSection, FontFlashSection and TextFlashSection and i discovered that these sections are not even presents.
Thank you so much.
Obviously compiler doesn't generate any errors, but only one warning witch tomorrow I will check:
22:14:44 **** Incremental Build of configuration Debug for project AlgoTouch ****
make -j12 all
arm-none-eabi-size AlgoTouch.elf
text data bss dec hex filename
380828 261800 164644 807272 c5168 AlgoTouch.elf
Finished building: default.size.stdout
arm-none-eabi-objcopy.exe --remove-section=ExtFlashSection --remove-section=FontFlashSection --remove-section=TextFlashSection "AlgoTouch.elf" "AlgoTouch.elf"
arm-none-eabi-objcopy.exe: AlgoTouch.elf: warning: empty loadable segment detected at vaddr=0x90365ae0, is this intentional?
22:14:51 Build Finished. 0 errors, 0 warnings. (took 7s.88ms)
Stay tuned!!!