You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
301 B
8 lines
301 B
set(BOARD_REVISIONS "minima" "wifi") |
|
if(NOT DEFINED BOARD_REVISION) |
|
set(BOARD_REVISION "minima") |
|
else() |
|
if(NOT BOARD_REVISION IN_LIST BOARD_REVISIONS) |
|
message(FATAL_ERROR "${BOARD_REVISION} is not a valid revision for arduino_uno_r4. Accepted revisions: ${BOARD_REVISIONS}") |
|
endif() |
|
endif()
|
|
|