nickey 0 Posted April 6, 2011 Share Posted April 6, 2011 Just started to build my C program (but don't have my LaunchPad yet) and I have 2 questions please: 1. how can I determine what the final downloadable object code is so I can be sure it will fit onto the u-cont? 2. how do I get rid of the error "warning: last line of file ends without a newline"? thanks Quote Link to post Share on other sites
RobG 1,892 Posted April 6, 2011 Share Posted April 6, 2011 2. how do I get rid of the error "warning: last line of file ends without a newline"? Add extra line after last statement Quote Link to post Share on other sites
bluehash 1,581 Posted April 7, 2011 Share Posted April 7, 2011 Just started to build my C program (but don't have my LaunchPad yet) and I have 2 questions please: 1. how can I determine what the final downloadable object code is so I can be sure it will fit onto the u-cont? thanks Whats does this mean? Quote Link to post Share on other sites
zeke 693 Posted April 7, 2011 Share Posted April 7, 2011 When you have your CCS project open, look in the left pane - the C/C++ Projects panel. Do you see the "Debug" folder? Open it. Look in there and find the file that ends with ".out". That is the file that is downloaded into the target. Determining if it will fit is another problem. Are you building a debug or release version of your code? You have to try it to see if it will fit. That is the true test. Quote Link to post Share on other sites
nickey 0 Posted April 7, 2011 Author Share Posted April 7, 2011 Thanks Zeke, thats exactly what I needed to know. Quote Link to post Share on other sites
zeke 693 Posted April 7, 2011 Share Posted April 7, 2011 Your welcome! Quote Link to post Share on other sites
bluehash 1,581 Posted April 7, 2011 Share Posted April 7, 2011 u-cont? sorry, I had no idea what this meant... now I know..micro-controller Quote Link to post Share on other sites
TheDirty 33 Posted April 26, 2011 Share Posted April 26, 2011 If you go into the debug directory and find project-name.map Open that file and it contains a lot of information regarding the compile information including how much flash is used and not used. I'm not certain if the map file is created by default. You might need to go into the options to create it. Sorry, delayed response. I haven't been on in a while. NatureTM 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.