Hi
The LPC2378 is pin compatible to LPC1778.
However, please note the longevity of LPC1778 are less than 6 years left. We don’t have other pin to pin replacement longer than 6 years.
For other LPC parts, you can consider LPC546xx, LPC55xx. they are not pin to pin replacement, you need redesign your PCB.
Hope this helps,
Jun Zhang