Why? Except for the ESP chips (and only if you use the board specific libs) ALL code is compatible with ALL boards!
This means that you just need to choose the board you are targeting when uploading the code. You can run the same code in a nano, a micro, a Mega or a UNO, whichever you have at hand