For compiling RunCPM on a RC2040-Board with SD-Support I did create a content for boards.txt and a directory rc2040 for the variants directory (as attachment)
Maybe you will add this board?
RC2040 from @ExtremeElectronics at github:
https://github.com/ExtremeElectronics/RC2040
https://www.extremeelectronics.co.uk/the-rc2040/