Externally Built code - generation of memory location constants

Comments

2 comments

  • Avatar
    Markus

    Hello Simon,

    Crossworks creates for every segment in the memory map file three symbols:

    __<segment name>_segment_start__
    __<segment name>_segment_end__
    __<segment name>_segment_size__

    In your case:
    __EEPROMEMU_segment_start__
    __ EEPROMEMU_segment_end__
    __ EEPROMEMU_segment_size__

    You can verify this in the Symbol Browser (View --> Symbol Browser)

    Regards

    0
    Comment actions Permalink
  • Avatar
    Simon

    Hello, Markus,

    Should this work for an externally built project? I'm using GNU Tools ARM Embedded/6 2017-q2-update as the original project uses newlib and a much fuller c++ library than Rowley provides.

    Symbol browser appears unpopulated until there is at least one successful build completed.

    If I create some temporary definitions to allow a build, I'm still not seeing the requisite symbols generated.

    Thanks,

    Simon 

     

    0
    Comment actions Permalink

Please sign in to leave a comment.