diff --git a/third_party/silabs/efr32_sdk.gni b/third_party/silabs/efr32_sdk.gni index a98f961d6c79f4..3267d87e9bd398 100644 --- a/third_party/silabs/efr32_sdk.gni +++ b/third_party/silabs/efr32_sdk.gni @@ -75,6 +75,9 @@ declare_args() { # board related pre-generated files path (default) sl_pre_gen_path = "${sdk_support_root}/matter/efr32/${silabs_family}/${silabs_board}/" + + # board related generated files path (used if slc_generate or slc_reuse_files is set) + slc_gen_path = "${chip_root}/third_party/silabs/slc_gen/${silabs_board}/" } if (slc_generate || slc_reuse_files) { diff --git a/third_party/silabs/silabs_board.gni b/third_party/silabs/silabs_board.gni index 924d0eb12848c8..bba3f060f8898d 100644 --- a/third_party/silabs/silabs_board.gni +++ b/third_party/silabs/silabs_board.gni @@ -48,9 +48,6 @@ declare_args() { declare_args() { # Enables LCD Qr Code on supported devices show_qr_code = !disable_lcd - - # board related generated files path (used if slc_generate or slc_reuse_files is set) - slc_gen_path = "${chip_root}/third_party/silabs/slc_gen/${silabs_board}/" } if (silabs_board == "") { diff --git a/third_party/silabs/slc_gen/run_slc.py b/third_party/silabs/slc_gen/run_slc.py index 41426439897202..6d204eabbe938d 100644 --- a/third_party/silabs/slc_gen/run_slc.py +++ b/third_party/silabs/slc_gen/run_slc.py @@ -4,7 +4,7 @@ import subprocess import sys -if len(sys.argv) != 8: +if len(sys.argv) != 9: print("wrong number of arguments") sys.exit(1)