PIC XC8 error warning: (1472) –CODEOFFSET option ignored: duplicate or conflicting option

If you receive the following error during an XC8 project build, here is how to fix it

 

warning: (1472) –CODEOFFSET option ignored: duplicate or conflicting option

 

the fix:

under project properties, XC8 Linker, make sure there is either

a) no value (blank) in the CODEOFFSET field

b) some legitimate value in CODEOFFSET that works with your bootloader

 

a ZERO — 0 — as pictured will cause this error during build.

 

Leave a Reply

Your email address will not be published. Required fields are marked *