LGT8F328P-LQFP32 MiniEVB works as a drop-in replacement for the arduino pro mini. This is one to one, and works with same arduino code. 

to program the board follow the instructions below:
https://www.youtube.com/watch?v=itqyWTJch7Y
https://github.com/dbuezas/lgt8fx
https://wolles-elektronikkiste.de/en/lgt8f328p-lqfp32-boards