Generate a linker script.
Syntax
lscript generate [options]
Generate a linker script.
Options
Option | Description |
---|---|
-app <application-name>
|
Name of application from workspace. |
-name <linkerscript name>
|
Name of the linker script file. The default linker script will be "newlscript.ld" if -name is not provided. |
-path <path>
|
The directory where the linker script needs to be created, The default path will be pwd if -path is not provided. |
Returns
Nothing.
Examples
lscript generate -name <linkerscript name>
-path <path>
This command generates a linkerscript with the changes at the path provided. Otherwise, generate a default linker script with name "newlscript.ld".
lscript generate -app <application-name>
This command generates the default linker script for the application-name specified.