Stack sizes increased after update to version 3
Hello, after the update of my project from CrossWorks 2 to version 3. I have noticed something abnormal about the stack sizes,
My stack sizes on version 2
stack accel: used 388/1016 (38.2%)
stack modem: used 1592/3576 (44.5%)
stack comm: used 1152/2552 (45.1%)
stack gps: used 324/692 (46.8%)
stack gps_rx: used 2172/2792 (77.8%)
stack rendezvous: used 192/792 (24.2%)
stack ibutton: used 136/392 (34.7%)
stack monitor: used 204/392 (52.0%)
stack event: used 780/1016 (76.8%)
stack serial: used 1984/3064 (64.8%)
Stack sizes on version 3
stack accel: used 1012/1016 (99.6%)
stack modem: used 3572/3576 (99.9%)
stack comm: used 2548/2552 (99.8%)
stack gps: used 688/692 (99.4%)
stack gps_rx: used 2788/2792 (99.9%)
stack rendezvous: used 788/792 (99.5%)
stack ibutton: used 388/392 (99.0%)
stack monitor: used 388/392 (99.0%)
stack event: used 1012/1016 (99.6%)
stack serial: used 3060/3064 (99.9%)
1) One of the most important changes is the update of the thumbs file. I have included both thumbs file in case you notice any difference.
2) An other change for moving to version 2 to version 3 was to update some project properties. included on a screenshot.
new file: thumb.crt0.s
old file: APP_FMG_thumb_crt0.s
The code for both versions is the same, if its none of these cases what else could affect this ?
thumb_crt0.s
APP_FMG_thumb_crt0.s
stack size.png
Please sign in to leave a comment.
Comments
1 comment