We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am working on Freescale ARM Cortex M4 device MK60N512VMD100 using IDE Keil uVision v4.50.0.0
In example code startup.s file it has this statement
IF :LNOT::DEF:RAM_TARGET
What does it means ????
Complete code is
IF :LNOT::DEF:RAM_TARGET AREA |.ARM.__at_0x400|, CODE, READONLY DCB BackDoorK0, BackDoorK1, BackDoorK2, BackDoorK3 DCB BackDoorK4, BackDoorK5, BackDoorK6, BackDoorK7 DCB FPROT0, FPROT1, FPROT2, FPROT3 DCB FSEC, FOPT, FEPROT, FDPROT ENDIF
Please advice
Thanks and Best Regards Waseem
It means if LNOT (logical not) DEF (defined) RAM_TARGET. So it means if there is no defined word named RAM_TARGET then piece of code is assembled in.
In this case if it is not target meant for RAM then flash keys have to be on specific location otherwise for RAM target they are not needed.
Thanks wild(1)
Now I understand
Best Regards Waseem