Jump to content
john27

Boostc 6.92 Upgrade Issues

Recommended Posts

Here's the output with 6.81:

Building...

BoostC Optimizing C Compiler Version 6.81 (for PIC18 architecture)

http://www.sourceboost.com

Copyright© 2004-2007 Pavel Baranov

Copyright© 2004-2007 David Hobday

 

Single user Lite License (Unregistered) for 0 node(s)

Limitations: PIC18 max code size:8192 bytes, max RAM banks:2, Non commercial use only

 

 

autocorr.c

 

success

BoostLink Optimizing Linker Version 6.81

http://www.sourceboost.com

Copyright© 2004-2007 Pavel Baranov

Copyright© 2004-2007 David Hobday

 

 

Caution: argument of 'delay_10us' calls must have a value of 1 or more

Warning unreferenced functions removed:

serial_print_hex in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_print_hex in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

Xserial_print_dec in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

Xserial_print_dec in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_print_bin in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_getch in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_get_decimal in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_safe_init in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_safe_putbyte in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_safe_send in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_safe_receive in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_safe_getbyte in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

 

Building CASM file

 

Memory Usage Report

===================

RAM available:512 bytes, used:258 bytes (50.4%), free:254 bytes (49.6%),

Heap size:254 bytes, Heap max single alloc:127 bytes

ROM available:4096 bytes, used:4082 bytes (99.7%), free:14 bytes (0.3%)

 

 

success

"C:\Program Files\SourceBoost6_8\boostc.pic18.exe" autocorr.c -t PIC18F2221

"C:\Program Files\SourceBoost6_8\boostlink.pic.exe" /ld "C:\Program Files\SourceBoost6_8\lib" libc.pic18.lib autocorr.obj serial.obj /t PIC18F2221 /d C:\_HHmetronome\HH_PIC18\auto_corr /p autocorr

Done

 

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////

...And with 6.92:

Building...

BoostLink Optimizing Linker Version 6.92

http://www.sourceboost.com

Copyright© 2004-2009 Pavel Baranov

Copyright© 2004-2009 David Hobday

 

 

Caution: argument of 'delay_10us' calls must have a value of 1 or more

Warning unreferenced functions removed:

serial_print_hex in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_print_hex in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

Xserial_print_dec in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

Xserial_print_dec in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_print_bin in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_getch in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_get_decimal in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_safe_init in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_safe_putbyte in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_safe_send in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_safe_receive in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

serial_safe_getbyte in: C:\_HHmetronome\HH_PIC18\bounce_threshold\serial.c

 

 

 

failure

Too much code to fit in ROM, overfilled by:62 locations.

"C:\Program Files\SourceBoost6_8\boostlink.pic.exe" /ld "C:\Program Files\SourceBoost6_8\lib" libc.pic18.lib autocorr.obj serial.obj /t PIC18F2221 /d C:\_HHmetronome\HH_PIC18\auto_corr /p autocorr

Exit code was -2.

Removing target: autocorr.hex

Failed to locate output file 'C:\_HHmetronome\HH_PIC18\auto_corr\autocorr.hex'

Done

 

Failed

//////////////////////////////////////////////////////////////////////////////////////////////////////

 

Unfortunately, during installation I believe I specified a new installation folder, but it installed in 6.81's folder.

 

Can I still download 6.81?

 

Thanks.

 

John

Share this post


Link to post
Share on other sites

John,

 

Did you try having a go at aggressive optimization (-Oa) to see if that squeezed any code bytes out.

 

My copies of BoostC only go back as far as 6.86 so can't help there.

 

Regards

 

Reynard

Share this post


Link to post
Share on other sites
John,

 

Did you try having a go at aggressive optimization (-Oa) to see if that squeezed any code bytes out.

 

My copies of BoostC only go back as far as 6.86 so can't help there.

 

Regards

 

Reynard

 

Reynard,

 

Tried that but didn't reduce the ROM usage. I'll go back to version 6.81, which Pavel made available (thanks.).

 

Thanks,

John

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...