Interesting. The pinout is the same. Maybe it will work
After replacing an STM32 chip, it needs the firmware flashed (follow hard method, use firmware below) with an ST-LINK before the green light will come on.
The blue light is just a 5v indicator, but the STM32 turns on the green light through software once it’s fully booted without errors.
Good luck.