Initial support for DSPIC devices

Hopefully will also work with PIC24 devices