Wouter van Ooijen wrote: >> After 60 days, the optimizations related to procedural >> abstraction and >> to the extended instruction set of the newer PIC18XXXX >> devices will be >> disabled. Code compiled after the expiration date will >> function but may >> occupy more memory space. >> > > Is there a compiler setting that will create that after-expiration > effect? I guess it would make sense to use the compiler that way > immediately, to avoid surpraises after 60 days. > > Wouter van Ooijen > > -- ------------------------------------------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products > docent Hogeschool van Utrecht: www.voti.nl/hvu > > > Yes. You can customize the optimizations used by the compiler. In MPLAB you can go to the compiler settings tab, and choose "none", "debug", "all", and "custom". You need "debug" if you are going to do ICD (at least with the ICD2), otherwise I use "all". The "Custom" option "un-greys" a bunch of individual optimizations available, and you can choose the ones you want. One of them is "Procedural Abstraction". Additionally, when you set up your build you have to either enable or disable the extended instruction set. This is not an "optimization", but a build strategy. Rolf -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist