Hi,
Is there any way to add conditional compilation in linker file?
I have two versions of a code, one with DFU and one without, i want to combine the versions. is there any way to define the memory regions in linker based on which version i am using so that i can use same code?
or can i add a conditional option in the makefile to select the corresponding linker file ?
currently i am using two different makefiles, one for dfu and one for the other.
Also, please help me if you have a better idea.
I am not sure how relevant this question in this forum, if it looks inappropriate pardon me.