View Single Post
  #1   Spotlight this post!  
Unread 21-02-2004, 22:06
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Need interupts help, and another question...

Quote:
Originally Posted by Kevin Karan
My other question is if we can exclude some parts of firsts code, like the printf library since they take up a large chunk of the program flash memory and I want to use that space for other stuff.
Thanks,
Kevin Karan
Team 174 Arctic Warriors Programmer
Yea. You can scrap alot more than jsut the printf lib. The first thing we did was gut the default code. I don't remember the exact amount of memory e saved, but we were able to shave off over about 20% of the code. Besides, printf, two other good places that have a lot of room for a diet are userroutines.c and ifi_utilities.c. It is also a good idea to turn on certian compilar optimizations. You would be surprised how much those can save you in some cases. If you don't understand the memory allocation, then it would be a good idea to read up on that, because it will allow you to write better code. The compiler manual is the best resource for that, although i think it kinda sucks.
__________________
1139 Alumni

Last edited by Rickertsen2 : 21-02-2004 at 22:09.