This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Meaning of :LNOT::DEF:RAM_TARGET

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

Parents
  • 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.

Reply
  • 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.

Children