I suggest making the leap to an ARM that uses the library source code plus new/better, for I/O devices. And an ARM COrtex M3/M4 rather than the end of life LPC21xx.
SFE sells some of these ARMs. See vendor site
Teensy 3.1 and the large collection of libraries.