|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
size limitations D:
Is there any way to finish the link even even if your over your size limit so you can look at the map and see how much you need to shrink your code?
|
|
#2
|
||||
|
||||
|
Re: size limitations D:
Try changing the memory model. (Go Project->Options->All Files (or something like that. I'm on a computer that doesn't have MPLAB, so I don't know.) and find the setting for the linker that deals with the memory model size.) Hope that helps.
![]() |
|
#3
|
||||
|
||||
|
Re: size limitations D:
nope, set everything to large and still the same thing. The realy confusing thing is, im not near the limit to the point that im at in the link according to the temp MAP file. It stops at "MATH_DATA", says it doesnt fit. The realy confusing thing is mathdata is like 20bytes. Any sujestions?
|
|
#4
|
||||
|
||||
|
Re: size limitations D:
Now, according the temp file, its addressing MATH_DATA to a diff spot then usual. MATH_DATA normaly(always) is mapped to 0x3f but for some reason .temp is being mapped to 0x00 and its size is 0x44. It is normaly mapped there, but its size should be 0x28. Ideas?
|
|
#5
|
||||
|
||||
|
Re: size limitations D:
amazing, the problem turned out to be very very dumb. Aparently the linker didnt like the fact that I did my taylor expansion for atan in a single line and freaked out. It, for some reason, increased the size of .tempwhatever and didnt have room for the rest. Its amazing how crappy this compilier is!
|
|
#6
|
||||
|
||||
|
Re: size limitations D:
Yeah.
![]() Glad you figured it out. See you at the Buckeye! |
|
#7
|
|||||
|
|||||
|
Re: size limitations D:
If you really needed to expand the memory, you can try editing the linker script (Make a back-up copy, though!). I would just add a section called "ExtraRoom" and having addresses from 0xF00400 to 0xFFFFFF. That should be big enough. But don't load any code you compile that way! And tell me how it goes, I'm mostly guessing.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What size monitor do you use? | Elgin Clock | IT / Communications | 30 | 10-03-2004 16:53 |
| My file size is too big..... | JamesWu | 3D Animation and Competition | 20 | 20-02-2004 22:31 |
| Size limitations of 2X Yellow Ball | John Larock | Kit & Additional Hardware | 9 | 15-01-2004 12:55 |
| Is there a size regulation for the pit area if we wanted to put up a banner | Ragin_Kage | General Forum | 6 | 14-03-2002 15:33 |
| wheel limitations | Greg Needel | Technical Discussion | 1 | 15-01-2002 16:37 |