hi hendrick,
there are some 25 major sections with over 60,000 lines of code in the main program structure and the 3 support code programs for sub structures that load the flash , with graphic fonts , symbols , menus , search tables , option dephalts tables , banners , strings for serial and xls file constructs codes , serial code tables etc before the main program can be run flash is full with about 1mb of data , so posting a specific section would not seem like it would help a lot just yet
so general approach to clean seems the best starting point.,
the code for the main is now at 115k , it was at 126k before the first sweep of clean which took me 12 hours to get to , i am hoping to still find about 15k , to allow the other sections to be be written and still fit into the 128k
the code has been growing slowly over the last 3 months , but i am faced with a clean that has to yield real space , now i want to get the next sections done . such secure bootloader , and search routines etc ,
i would love a larger chip but that just not an option using pbp after 128k and puting more chips on which may have to be a real option , is not one i want to do, if i can avoid ;(
options
1. longs - droping and modifying code that use longs so longs are not needed - save about 3k up front
2. search option for data , - i think i need to look how i maybe best to do this as " multi "and" and match statements are killing me on space
3. be a better programmer - still working on that one
Bookmarks