Compress spin code while compile ??
Anubispod
Posts: 42
Hi i am working on a project where i have for debugging a lot of text going out the serial, i have made a structure where i can turn debug on and off, but it seems that the propeller tool always compiles the same size , with debug flag on or off , is there a way so unused code get sorted out by compiling ?
MfG
O.Rennfort
Add: Solved found info on that this function is on the wait list , so we wait
or if some one has a fix for it like a pre compiler let me know
MfG
O.Rennfort
Add: Solved found info on that this function is on the wait list , so we wait
or if some one has a fix for it like a pre compiler let me know
Comments
1) It will remove unused methods in your code when you set the correct option on compiling.
2) You can use #idef and friends to conditionally compile sections of code.
BST works as well as the Spin tool and offers a number of extra useful features. Best of which is that it is cross-platform, Windows, Mac, Linux.
http://www.fnarfbargle.com/bst.html
I hope these features are coming to the new cross-platform IDE from Parallax (SimpleIDE) soon.