SMT32F401C = 256 KiB flash
STM32F427G = 1 MiB flash (axoloti board)
axoloti.bin = 740 KiB
also the STM32F401 runs at 84 MHz (not 168/180 MHz)
So yeah... it'd be some work to make it work.
You'd be better off with the the STM32F407 based discovery board.
That has the flash and speed required and is nominally supported as a build target.
Or, just get the real deal.