1set(BOARD_REVISIONS "blue" "black")
2if(NOT DEFINED BOARD_REVISION)
3  set(BOARD_REVISION "blue")
4else()
5  if(NOT BOARD_REVISION IN_LIST BOARD_REVISIONS)
6    message(FATAL_ERROR "${BOARD_REVISION} is not a valid revision for stm32_min_dev. Accepted revisions: ${BOARD_REVISIONS}")
7  endif()
8endif()
9