chipKIT32 / chipKIT-core

Downloadable chipKIT core for use with Arduino 1.6 - 1.8+ IDE, PlatformIO, and UECIDE
http://chipkit.net/
Apache License 2.0
59 stars 53 forks source link

System_Defs.h does not handle all parts for SPI definitions #336

Open lstandage opened 7 years ago

lstandage commented 7 years ago

A customer on the Digilent forums observed that just adding the DSPI library for the chipKIT Pro MX4 does not compile due to missing definitions for these macros: _SPI2_IPL_ISR _SPI2_IPL_IPC _SPI2_SPL_IPC

Looking at System_Defs.h, it looks like the SPI2 definitions will not be handled for the 3xx/4xx parts.

The first case handled is for PPS devices. Second case is for 5xx/6xx/7xx devices

And that's it.

So the resolution will be to add 3xx/4xx non-PPS definition.