Creating a low-cost pin-compatible Arduino/Due board using an STM32L471

I'm late to this thread; but did you consider the ATSAM4S processor range? They are a fraction of the price of the ATSAM3X8E processor used on the Arduino Due, but faster and with more RAM and a Cortex M4 core. From a programming perspective, they are very similar to the ATSAM3X8E, so firmware for the Due would be easy to port.