section placement file preprocessor

Comments

2 comments

  • Avatar
    Jon Elliott

    $(RAM_NAME:RAM) expands to RAM if the macro RAM_NAME has not been defined in the Linker > Section Placement Macros project property. If it has been defined, it will expand the RAM_NAME macro. The conditional macro syntax is described here.

    The linker script generator searches through the ';' separated list of memory sections described in the section placement file until it finds a memory segment in the memory map file with a matching name. When it finds a match it places all the sections in that memory segment.

    You can find out where a section has been placed in memory using the memory usage window, the symbols browser or by looking at the generated linker script.

     

     

    1
    Comment actions Permalink
  • Avatar
    Clinton

    Thank you

    0
    Comment actions Permalink

Please sign in to leave a comment.