.New XC8 Project

New XC8 Projects – Our Checklist! If you get errors for interrupt fucntion formatting etc double check you've got XC8 selected for the project and not C18! See this: https://electronics-design.net/embedded-programming/microchip-pic/pic18/xc8-compiler/xc8-basic-settings-for-new-projects See this assembler issue here: https://electronics-design.net/embedded-programming/microchip-pic/pic18/xc8-compiler/assembler-3 See this peripheral libraries issue here: https://electronics-design.net/embedded-programming/microchip-pic/pic18/xc8-compiler/issues-xc8-compiler/xc8-peripheral-library-support-is-missing-for-the

Read More

.XC8 BASIC SETTINGS FOR NEW PROJECTS

Right click project > Properties > XC8 global options > XC8 Compiler Select 'Optimizations' Speed & Debug checkboxes Set as needed (off and on is good for debugging) Address qualifiers – VERY IMPORTANT!!!! If you are using anything that requires locating in specific memory locations set this to 'Require', e.g. variables used in assembler, etc. […]

Read More