|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Code Size
What was the final size of everyone's code?
Ours was 30k ![]() |
|
#2
|
||||
|
||||
|
Re: Code Size
Quote:
![]() |
|
#3
|
||||
|
||||
|
Re: Code Size
Quote:
|
|
#4
|
||||
|
||||
|
Re: Code Size
Quote:
|
|
#5
|
||||
|
||||
|
Re: Code Size
exactly. the program's not done till competition... and even then not necessarily
![]() btw, if anyone wants to toss around wacky code ideas in st. louis, find me at the prank monkeys' pit ![]() ~Dav |
|
#6
|
||||
|
||||
|
Re: Code Size
Quote:
|
|
#7
|
|||
|
|||
|
Re: Code Size
Quote:
|
|
#8
|
||||
|
||||
|
Re: Code Size
make sure you comment out ALL the printF statements if you want to min the amount of code used
and they are in other places - like main.c - if you have only one printf statement the compiler dumps a TON of junk into your hex file. |
|
#9
|
||||
|
||||
|
Re: Code Size
Quote:
|
|
#10
|
|||||
|
|||||
|
Re: Code Size
Quote:
|
|
#11
|
||||
|
||||
|
Re: Code Size
Quote:
|
|
#12
|
||||
|
||||
|
Re: Code Size
Quote:
|
|
#13
|
||||
|
||||
|
Re: Code Size
Quote:
![]() |
|
#14
|
|||||
|
|||||
|
Re: Code Size
I modified my printf_lib.c so it only compiles if I define _debug_.
|
|
#15
|
|||
|
|||
|
Re: Code Size
I read some where that the max program size can be 32K.
To find out you current program size look in the *.map file somewhere in the mid part. It will tell you your program size. * is the name of your project. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is your most prefered programming language? | Hailfire | Programming | 156 | 19-01-2005 21:42 |
| Interrupt timer, executing code asap? | SeanCassidy | Programming | 10 | 07-03-2004 01:47 |
| How to measure execution time? And code size? | gnormhurst | Programming | 17 | 17-02-2004 08:06 |
| Inserting Naviagation code into Default code? | actorindp | Programming | 3 | 28-01-2004 18:12 |
| Does your team use the Default code. | Jeff McCune | General Forum | 2 | 09-01-2003 14:46 |