How to pass variable to the linker file (.scf) and use it to set range of application on MDk

I want to do the configuration that on the time of building the project, the parameter "TARGET_APP=1" or "TARGET_APP=2" will be passed and accordingly set the text and data segments from .scf file.

So in .scf file there would be if condition to check TARGET_APP variable and it will set range of these text and data segments.

Regards,

Rohit

More questions in this forum