Skip to content

Commit

Permalink
Use plaform dmp lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs committed Aug 11, 2022
1 parent 443375c commit 12956b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions scripts/checkout_submodules.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
def load_module_info() -> list:
config = configparser.ConfigParser()
config.read(os.path.join(CHIP_ROOT, '.gitmodules'))
logging.info(f'Config read: config.items()')

for name, module in config.items():
if name != 'DEFAULT':
platforms = module.get('platforms', '').split(',')
Expand Down Expand Up @@ -83,7 +83,6 @@ def checkout_modules(modules: list, shallow: bool, recursive: bool) -> None:
cmd += ['--recursive'] if recursive else []
cmd += [module.path for module in modules]

logging.info(f'cmd: {cmd}')
subprocess.check_call(cmd)


Expand Down
6 changes: 3 additions & 3 deletions third_party/silabs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ if (chip_use_ot_lib) {
include_dirs = [
"${chip_root}/examples/platform/efr32",
"${sdk_support_root}/matter/efr32/${efr32_family}/${efr32_board}",
"${sl_ot_efr32_root}/src/",
"${sl_ot_efr32_root}/src/cli",
"${sl_ot_efr32_root}/src/src",
"${sl_openthread_root}/src/",
]
}

Expand Down Expand Up @@ -132,6 +131,7 @@ if (chip_use_ot_lib) {
":libopenthread-platform",
":openthread_core_config_efr32",
"${segger_rtt_root}:segger_rtt",
"${sl_openthread_root}/include/openthread:openthread",
"${sl_openthread_root}/src/core/:libopenthread_core_headers",
]

Expand All @@ -147,7 +147,7 @@ if (chip_use_ot_lib) {

libs = [
"${sl_ot_efr32_root}/libs/libsl_ot_stack_${XTD}_${efr32_family}_gcc.a",
"${sl_ot_efr32_root}/libs/libsl_platform_${XTD}_${efr32_family}_gcc.a",
"${sl_ot_efr32_root}/libs/libsl_platform_${XTD}_dmp_${efr32_family}_gcc.a",
]
}
}

0 comments on commit 12956b0

Please sign in to comment.