3 years ago.

Modify scatter .sct file

Hi,

We are trying to modify the scatter file .sct but it seems to be locked. We can delete that file, make new scatter file and tried to import back, but mbed compiler doesn't accept it. Once that file was deleted, no way to add back, unless delete then import whole mbed-dev library again.

We are facing same problem with this issue: https://developer.mbed.org/questions/4880/modifying-sct-file/

So please share us if you know any way that let us to use our scatter file?

Thank for help,

1 Answer

3 years ago.

RMB (right mouse button) on .sct file in Program Workspace tree, "Export File..." and download to PC. Edit the file locally as needed. On mbed compiler: button "Import" -> tab "Upload" -> Add File (button "Browse") and select the changed file on the PC.
Press button "Import!" and change in the dialog box "Import Name:" to any temporary name e.g. "_tmp" (folder with the same name must be delete from project tree after all).
After upload, RMB on this file, "Copy", and "Paste" in the destination directory. Delete temporary folder.
Maybe it can be done easier, but it works.

NB. For editing files .S (assembler files) change the extension to .s .