Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cmake/Platform/Arduino.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
# LIBRARY library_name
# EXAMPLE example_name
# [BOARD board_id]
# [LIBS lib1 lib2 ... libN]
# [PORT port]
# [SERIAL serial command]
# [PORGRAMMER programmer_id]
Expand All @@ -189,6 +190,7 @@
# LIBRARY - Library name [REQUIRED]
# EXAMPLE - Example name [REQUIRED]
# BOARD - Board ID
# LIBS - Libraries to link
# PORT - Serial port [optional]
# SERIAL - Serial command [optional]
# PROGRAMMER - Programmer id (enables programmer support)
Expand Down Expand Up @@ -585,7 +587,7 @@ function(GENERATE_ARDUINO_EXAMPLE INPUT_NAME)
parse_generator_arguments(${INPUT_NAME} INPUT
"" # Options
"LIBRARY;EXAMPLE;BOARD;PORT;PROGRAMMER" # One Value Keywords
"SERIAL;AFLAGS" # Multi Value Keywords
"SERIAL;AFLAGS;LIBS" # Multi Value Keywords
${ARGN})


Expand Down