You would need to change the include statement, so that it is using DT_INTS-14 instead of DTS_INTS-18. 18 is for PIC18's, DT_INTS-14 is for lower chips, like PIC17,PIC16 and PIC12's.
Then there are probably different registers that will give you errors, etc. You should be able to change it, (and also the configs), but it will be a little work.
Bookmarks