|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| 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
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. |
|
#8
|
||||
|
||||
|
Re: Code Size
My "program memory utilization" is 46%. The actual HEX file size was 43.4k.
|
|
#9
|
|||||
|
|||||
|
Re: Code Size
i dont know the exact size of the hex file... but we overran the memory in the RC, producing a nasty ram dump and some WIERD errors....
|
|
#10
|
|||||
|
|||||
|
Re: Code Size
39K in the hex file and 40% utilization in the map file.
|
|
#11
|
|||||
|
|||||
|
Re: Code Size
16.4K, 17%. But the autonomous is going to be totally revamped, so I'll repost when that happens.
[Edit: Printf_Lib adds about 12K] Last edited by Astronouth7303 : 07-03-2004 at 21:23. |
|
#12
|
||||
|
||||
|
Re: Code Size
Quote:
|
|
#13
|
|||||
|
|||||
|
Re: Code Size
Going beyond arrays. Encoders, gyros, all the fun stuff
I'll post code later |
|
#14
|
|||
|
|||
|
Re: Code Size
Quote:
|
|
#15
|
||||
|
||||
|
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. |
![]() |
| 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 |