Look at Marlin/src/pins/pins.h
In the comment for each board is a list of valid build environments for the board.
In the comment for each board is a list of valid build environments for the board.