Skip to content

Commit ece86f6

Browse files
committed
Added proper option names to the generate_arduino_firmware call.
In generate_avr_firmware the option names for HDRS, LIBS, AFLAGS got left out. This mixed up all entries for these options and they ended up in the SRCS option.
1 parent 3f77bd4 commit ece86f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/Platform/Arduino.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,9 +563,9 @@ function(GENERATE_AVR_FIRMWARE INPUT_NAME)
563563
PROGRAMMER ${INPUT_PROGRAMMER}
564564
SERIAL ${INPUT_SERIAL}
565565
SRCS ${INPUT_SRCS}
566-
${INPUT_HDRS}
567-
${INPUT_LIBS}
568-
${INPUT_AFLAGS} )
566+
HDRS ${INPUT_HDRS}
567+
LIBS ${INPUT_LIBS}
568+
AFLAGS ${INPUT_AFLAGS} )
569569

570570
endfunction()
571571

0 commit comments

Comments
 (0)