SeeCwriter
Joined: 18 Nov 2013 Posts: 161
|
| Bootloader |
Posted: Wed Feb 11, 2026 5:12 pm |
|
|
I am trying to add a bootloader to my project on a PIC18F67K22, with v5.123 of the IDE.
The problem is, when I include bootloader.h in my app, I get a warning about a mis-matched #if/#endif. Remove the include, and it compiles fine.
Edit:
This is interesting.
I include the file this way:
| Code: |
#ifdef _USE_BOOTLOADER_
#include <bootloader.h>
#endif
|
If I remove the #ifdef/#endif wrapper, it compiles fine. That doesn't make sense to me. |
|