Skip to content

Commit 60fc58d

Browse files
authored
Merge branch 'master' into lit_icd_support_for_cc13x4_26x4
2 parents bfa45ae + 2f85b98 commit 60fc58d

File tree

396 files changed

+53942
-3005
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

396 files changed

+53942
-3005
lines changed

.github/.wordlist.txt

+3
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ DS
454454
duplicative
455455
DUT
456456
DUTS
457+
DUT's
457458
DV
458459
DVK
459460
dynload
@@ -562,6 +563,7 @@ forkpty
562563
FOTA
563564
FreeRTOS
564565
FreeRTOSConfig
566+
FS
565567
fsl
566568
fstab
567569
fsync
@@ -854,6 +856,7 @@ MbedNewTarget
854856
mbedos
855857
mbedTarget
856858
mbedTLS
859+
MCORE
857860
mcu
858861
MCUboot
859862
mcumgr

.github/workflows/build.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
with:
7676
languages: "cpp"
7777
- name: Setup Build
78-
run: scripts/build/gn_gen.sh --args="chip_config_memory_debug_checks=true chip_config_memory_debug_dmalloc=false"
78+
run: scripts/build/gn_gen.sh --args="chip_config_memory_debug_checks=true chip_config_memory_debug_dmalloc=false chip_data_model_check_die_on_failure=true"
7979
- name: Run Build
8080
run: scripts/run_in_build_env.sh "ninja -C ./out"
8181
- name: Run Tests
@@ -179,7 +179,7 @@ jobs:
179179
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
180180
- name: Setup Build, Run Build and Run Tests
181181
run: |
182-
BUILD_TYPE=gcc_release scripts/build/gn_gen.sh --args="is_debug=false"
182+
BUILD_TYPE=gcc_release scripts/build/gn_gen.sh --args="is_debug=false chip_data_model_check_die_on_failure=true"
183183
scripts/run_in_build_env.sh "ninja -C ./out/gcc_release"
184184
BUILD_TYPE=gcc_release scripts/tests/gn_tests.sh
185185
- name: Clean output
@@ -197,7 +197,7 @@ jobs:
197197
esac
198198
199199
rm -rf ./out/sanitizers
200-
BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS" --export-compile-commands
200+
BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true" --export-compile-commands
201201
BUILD_TYPE=sanitizers scripts/tests/gn_tests.sh
202202
done
203203
- name: Ensure codegen is done for sanitize
@@ -308,7 +308,7 @@ jobs:
308308

309309
- name: Setup Build, Run Build and Run Tests
310310
run: |
311-
scripts/build/gn_gen.sh --args="enable_rtti=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_generate_link_map_file=false"
311+
scripts/build/gn_gen.sh --args="enable_rtti=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_generate_link_map_file=false chip_data_model_check_die_on_failure=true"
312312
scripts/run_in_build_env.sh "ninja -C ./out"
313313
scripts/tests/gn_tests.sh
314314
- name: Setup test python environment
@@ -415,7 +415,7 @@ jobs:
415415
# clang.
416416
"default") GN_ARGS='target_os="all" is_asan=true enable_host_clang_build=false';;
417417
esac
418-
BUILD_TYPE=$BUILD_TYPE scripts/build/gn_gen.sh --args="$GN_ARGS" --export-compile-commands
418+
BUILD_TYPE=$BUILD_TYPE scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true" --export-compile-commands
419419
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
420420
BUILD_TYPE=$BUILD_TYPE scripts/tests/gn_tests.sh
421421
done

.github/workflows/darwin.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ jobs:
114114
mkdir -p /tmp/darwin/framework-tests
115115
echo "This is a simple log" > /tmp/darwin/framework-tests/end_user_support_log.txt
116116
../../../out/debug/all-clusters-app/chip-all-clusters-app --interface-id -1 --end_user_support_log /tmp/darwin/framework-tests/end_user_support_log.txt > >(tee /tmp/darwin/framework-tests/all-cluster-app.log) 2> >(tee /tmp/darwin/framework-tests/all-cluster-app-err.log >&2) &
117-
../../../out/debug/all-clusters-app/chip-all-clusters-app --interface-id -1 --dac_provider ../../../credentials/development/commissioner_dut/struct_cd_origin_pid_vid_correct/test_case_vector.json --product-id 32768 --discriminator 3839 --secured-device-port 5539 --KVS /tmp/chip-all-clusters-app-kvs2 > >(tee /tmp/darwin/framework-tests/all-cluster-app-origin-vid.log) 2> >(tee /tmp/darwin/framework-tests/all-cluster-app-origin-vid-err.log >&2) &
118117
119118
export TEST_RUNNER_ASAN_OPTIONS=__CURRENT_VALUE__:detect_stack_use_after_return=1
120119

.github/workflows/lint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ jobs:
149149
if [ "$idl_file" = './examples/placeholder/linux/apps/app2/config.matter' ]; then continue; fi
150150
if [ "$idl_file" = './examples/thermostat/thermostat-common/thermostat.matter' ]; then continue; fi
151151
if [ "$idl_file" = './examples/window-app/common/window-app.matter' ]; then continue; fi
152+
# Example is intentionally not spe compliant for use in cert testing
153+
if [ "$idl_file" = './examples/lighting-app-data-mode-no-unique-id/lighting-common/lighting-app.matter' ]; then continue; fi
152154
153155
# Test files are intentionally small and not spec-compilant, just parse-compliant
154156
if [ "$idl_file" = "./scripts/py_matter_idl/matter_idl/tests/inputs/cluster_struct_attribute.matter" ]; then continue; fi

.github/workflows/tests.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,9 @@ jobs:
486486
--target linux-x64-microwave-oven-ipv6only-no-ble-no-wifi-tsan-clang-test \
487487
--target linux-x64-rvc-ipv6only-no-ble-no-wifi-tsan-clang-test \
488488
--target linux-x64-network-manager-ipv6only-no-ble-no-wifi-tsan-clang-test \
489+
--target linux-x64-fabric-admin-rpc-ipv6only-clang \
490+
--target linux-x64-fabric-bridge-rpc-ipv6only-no-ble-no-wifi-clang \
491+
--target linux-x64-light-data-model-no-unique-id-ipv6only-no-ble-no-wifi-clang \
489492
--target linux-x64-python-bindings \
490493
build \
491494
--copy-artifacts-to objdir-clone \
@@ -500,6 +503,9 @@ jobs:
500503
echo "CHIP_MICROWAVE_OVEN_APP: out/linux-x64-microwave-oven-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-microwave-oven-app" >> /tmp/test_env.yaml
501504
echo "CHIP_RVC_APP: out/linux-x64-rvc-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-rvc-app" >> /tmp/test_env.yaml
502505
echo "NETWORK_MANAGEMENT_APP: out/linux-x64-network-manager-ipv6only-no-ble-no-wifi-tsan-clang-test/matter-network-manager-app" >> /tmp/test_env.yaml
506+
echo "FABRIC_ADMIN_APP: out/linux-x64-fabric-admin-rpc-ipv6only-clang/fabric-admin" >> /tmp/test_env.yaml
507+
echo "FABRIC_BRIDGE_APP: out/linux-x64-fabric-bridge-rpc-ipv6only-no-ble-no-wifi-clang/fabric-bridge-app" >> /tmp/test_env.yaml
508+
echo "LIGHTING_APP_NO_UNIQUE_ID: out/linux-x64-light-data-model-no-unique-id-ipv6only-no-ble-no-wifi-clang/chip-lighting-app" >> /tmp/test_env.yaml
503509
echo "TRACE_APP: out/trace_data/app-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
504510
echo "TRACE_TEST_JSON: out/trace_data/test-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
505511
echo "TRACE_TEST_PERFETTO: out/trace_data/test-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml

.github/workflows/unit_integration_test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
*) ;;
7474
esac
7575
76-
scripts/build/gn_gen.sh --args="$GN_ARGS"
76+
scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true"
7777
- name: Run Build
7878
run: scripts/run_in_build_env.sh "ninja -C out/$BUILD_TYPE"
7979
- name: Run Tests

config/nrfconnect/chip-module/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ if (CONFIG_CHIP_ENABLE_ICD_SUPPORT)
147147
matter_add_gn_arg_bool ("chip_enable_icd_lit" CONFIG_CHIP_ICD_LIT_SUPPORT)
148148
matter_add_gn_arg_bool ("chip_enable_icd_checkin" CONFIG_CHIP_ICD_CHECK_IN_SUPPORT)
149149
matter_add_gn_arg_bool ("chip_enable_icd_user_active_mode_trigger" CONFIG_CHIP_ICD_UAT_SUPPORT)
150+
matter_add_gn_arg_bool ("icd_enforce_sit_slow_poll_limit" TRUE)
150151
endif()
151152

152153
if (CONFIG_CHIP_FACTORY_DATA OR CONFIG_CHIP_FACTORY_DATA_CUSTOM_BACKEND)

config/nrfconnect/chip-module/Kconfig.features

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ config CHIP_DFU_OVER_BT_SMP
162162
# Enable custom SMP request to erase settings partition.
163163
select MCUMGR_GRP_ZBASIC
164164
select MCUMGR_GRP_ZBASIC_STORAGE_ERASE
165+
select MCUMGR_TRANSPORT_BT_REASSEMBLY
165166
help
166167
Enables Device Firmware Upgrade over Bluetooth LE with SMP and configures
167168
the set of options related to that feature.

config/zephyr/Kconfig

+9
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,15 @@ config CHIP_ICD_SLOW_POLL_INTERVAL
354354
device is in the idle mode. It determines the fastest frequency at which the device will be able
355355
to receive the messages in the idle mode.
356356

357+
config CHIP_ICD_SIT_SLOW_POLL_LIMIT
358+
int "Intermittently Connected Device slow polling interval limit for device in SIT mode (ms)"
359+
default 15000
360+
range 0 15000
361+
help
362+
Provides the limit for Intermittently Connected Device slow polling interval in milliseconds while the
363+
device is in the SIT mode. By spec, this value cannot exceed 15 s (spec 9.16.1.5). This value can be
364+
used for the LIT device, to limit the slow poll interval used while temporarily working in the SIT mode.
365+
357366
config CHIP_ICD_FAST_POLLING_INTERVAL
358367
int "Intermittently Connected Device fast polling interval (ms)"
359368
default 200

0 commit comments

Comments
 (0)