Shop OBEX P1 Docs P2 Docs Learn Events
How do I know how much space I have left - LMM? — Parallax Forums

How do I know how much space I have left - LMM?

pmrobertpmrobert Posts: 673
edited 2014-08-02 09:12 in Propeller 1
My quest is pretty much defined by the subject line. The .map file, I'm fairly sure, has the info I'm looking but I am requesting some help on interpreting it. I've changed the size of some arrays I'm referencing just to see what, if any, change this has on the image(ELF) size and it's obvious that the array space requested does not directly reflect in the size of the image.

-Mike

Comments

  • SRLMSRLM Posts: 5,045
    edited 2014-08-01 19:48
    Use propeller-elf-size:
    $ propeller-elf-size main.gamma.elf 
       text	   data	    bss	    dec	    hex	filename
      19764	   3168	   7996	  30928	   78d0	main.gamma.elf
    

    Look at the dec column. It can't be bigger than 32k. The remaining space is 32k - dec. Don't be fooled by the propeller-load download size: that doesn't include variable space.
  • pmrobertpmrobert Posts: 673
    edited 2014-08-02 09:12
    Thank you for the prompt, accurate response. I should have stayed up another 6 minutes last night.

    -Mike
Sign In or Register to comment.