Skip to content

Commit

Permalink
slc_gen_path can be in efr32_sdk.gni
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs committed Jul 18, 2023
1 parent 8447bd8 commit d697368
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
3 changes: 0 additions & 3 deletions third_party/silabs/silabs_board.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "") {
Expand Down
2 changes: 1 addition & 1 deletion third_party/silabs/slc_gen/run_slc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d697368

Please sign in to comment.