Jump to content

Two questions on using CCS

Recommended Posts

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"?



Link to post
Share on other sites

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.

Link to post
Share on other sites
  • 3 weeks later...

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...