Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync csa branch with main #306

Merged
merged 24 commits into from
Mar 4, 2025
Merged

Sync csa branch with main #306

merged 24 commits into from
Mar 4, 2025

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Mar 1, 2025

This PR syncs the csa branch with the main branch.

PR MUST BE MERGED WITH MERGE COMMIT - ADMIN MUST ENABLE THE OPTION

adigie and others added 5 commits February 28, 2025 08:18
* [nrfconnect] Allow running only specific test suites

Run only specific test suites by adding `-testargs <TEST_SUITE_NAME>..`
arguments to test executable invocation.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* Allow vector in nrfconnect test runner

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* [nrfconnect] Add VSCode launch configuration for tests

Add launch configuration for Zephyr native tests.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

---------

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
* Tests for GenericAppendOnlyBuffer move operations added.

* fix for clang-tidy use after move error.

* targeting append only buffer move constructor and move operator=

* fix for style errors.
* Add ListNotifications on DataModelProvider

* Restyled by whitespace

* Restyled by clang-format

* Rename enum values and add more information in comments.

* Update src/app/data-model-provider/Provider.h

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

* Remove BitFlags from Provider

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
* Add generated files (Alchemy and ZAP)

* Restyled by whitespace

* Restyled by prettier-json

* Regen all-clusters with zap based on Alchemy changes

---------

Co-authored-by: Restyled.io <commits@restyled.io>
…scription fails and resub is scheduled (#37481)

* Resubscribe when check-in is received and it is not in inactive state

* Restyled by whitespace

* address comments

* add test

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Copy link
Author

github-actions bot commented Mar 1, 2025

The check for sl-require-admin-action label CI failure for this job is normal. An admin must do the merge.

bzbarsky-apple and others added 7 commits March 1, 2025 03:00
* Basic closure sample app with closure control server

* Adding README file and renaming callback file

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Restyled by prettier-json

* Restyled by prettier-markdown

* Updating sample app as per server code changes

* addressing PR comments

* Adding closure README to docs

* enabling lcd and qrcode generation in lcd

* removing unintended tab changes and default values added during rebase

* Addressing PR comments

* Update examples/closure-app/closure-common/closure-control/src/ClosureControlDelegateImpl.cpp

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

* addressing PR comments

* Restyled by whitespace

* Restyled by prettier-markdown

* corecting lint workflow identified errors

* corecting lint workflow identified errors

---------

Co-authored-by: sabollim <satyanaag.bollimpalli@silabs.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
* Rename FailSafeCommitMarkerKey to FabricTableCommitMarkerKey

Commit marker was moved from FailSafeContext to FabricTable in #20010,
however name of the key wasn't changed and it's misleading.

This commit changes the name of the method returning commit marker key,
but keeps the key name for backward compatibility.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* Remove declaration of non-existent method

CommitToStorage was removed in #20010.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

---------

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
…ngFabricData (#37819)

* Always clean up all data in FabricTable::Delete

Always try to cleanup all fabric data regardless if fabric was
initialized, as there may be some partial data stored if a device was
reset during committing changes to storage.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* Test FabricTable Delete

Test if Delete invokes delegates, as this is needed to cleanup all
fabric related settings after device is reset during committing changes
to storage.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* Fix test

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* Fix return value

Make Delete return the same errors as before the changes.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

---------

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
…tructure + bug fixes. (#37593)

* DM XMLs: 1.5 0.7 ballot (#37329)

* Fix line endings for master DM XMLs

* Add newline at end of file for master DM XMLs

* Add closures as a file exception - device types all in one file

* DM XMLs: Update master to 0.7 of 1.5 and use alchemy

Note that this contains a significant number of changes in one
commit, and I apologise for that, but the new spec cannot be
scraped with the DM editor, so I needed to swap to alchemy to get
the new spec scraped. Hence this contains both the alchemy formatting
changes (as outlined in
project-chip/connectedhomeip#37201 as well
as the changes from the last ballot to the current ballot.

* Update file list in build file

* Fix unit tests to expect clusters removed in 1.5

* Update device type parsing to warn on non-int IDs rather than failing

This happens on ID-TBD in the ballot.

* Add test to ensure all spec device types are OK.

* Add a stringifier to XmlFeature XmlCommand

* Restyled by autopep8

* Restyled by isort

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* updated script

* updated script

* updated script

* updated script

* updated script

* updated script

* updated script

* updated script

* updated script

* Restyled by autopep8

* Restyled by isort

* updated format

* Restyled by autopep8

* fix lint erros

* Restyled by autopep8

* cleanup docs

* Restyled by autopep8

* cleanup docs

* Fixes from comments first review.

* Restyled by autopep8

* Fixes from comments first review part 2.

* Fixes from comments first review part 3.

* Remove from-crl

* Restyled by autopep8

* Restyled by isort

* Remove from-crl

* Restyled by autopep8

* Restyled by isort

* Remove from-crl

* Remove from-crl

* Restyled by autopep8

* Restyled by isort

* Remove from-crl

* Remove from-crl

* Reformat

* Restyled by isort

* Reformat

* Reformat

* Reformat

* Reformat

---------

Co-authored-by: C Freeman <cecille@google.com>
Co-authored-by: Restyled.io <commits@restyled.io>
* Adds src/platform/tests into esp32-qemu-tests target

* CI

* Skip TryLockChipStack test on Darwin

* Updated to use CHIP_SYSTEM_CONFIG_NO_LOCKING

* Comment update

* Expect statement checks if lock result matches "no locking" value.
Martin-NXP and others added 4 commits March 3, 2025 09:10
Signed-off-by: Martin Girardot <martin.girardot@nxp.com>
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 8.2.0 to 8.2.3.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](sphinx-doc/sphinx@v8.2.0...v8.2.3)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [Telink] Zephyr v3.7 update changes

Adopted changes for Telink B9x board series for
upcoming update of Zephyr version.

Fixed err output from InitChipStack in mainCommon.
Tested advertisement tested manually.

* [Telink] Manual Zephyr SDK update to check CI jobs

* [Telink] Fix build errors:
- STREAM_FLASH_ERASE has direct dependencies STREAM_FLASH
- GETOPT_LONG multiple definition error

* [Telink] CONFIG_BOOT_MAX_IMG_SECTORS_AUTO used

* [Telink] Fix build errors

* [Telink] Reduce mcuboot partition size to 60Kb
- Apply change for flash overlays <=2Mb
- Possible after reducing CONFIG_BOOT_MAX_IMG_SECTORS

* [Telink] Reduce NET_BUF_*_COUNT (to be tested)

* [Telink] avoid using NEWLIB_LIBC (use PICOLIB)

* Restyled by whitespace

* Restyled by clang-format

* [Telink] Update Zephyr revision & SDK

* [Telink] Adopt TL3218 to latest Zephyr version

* [Telink] Use 4mb flash for (B92) Light Switch App target build

* [Telink] Fix W91 target build

* [Telink] Fix B91 Mars target build

* [Telink] Use correct if SOC_RISCV_TELINK_TL321X

* [Telink] Fix retention target builds

* [Telink] fixed W91 WiFi interface init

reverted GetWifiInterface in InetUtils changes,
added syntax fixes to Kconfigs.default

* [Telink] Update to latest zephyr (develop_new_matter_fixes) hash

* [Telink] memory layout and default config changes

Reduced mcuboot partition by 0x1000 and removed two other partitions
getting 0x3000 to distribute 0x4000 between slot0 and slot 1.

Kconfig.defaults changes to reduce ROM usage on B92 lighting OTA.
To be improved

[Telink] reduced MCUboot partition for most targets

increase of slot0,1, bootloader config changes

[Telink] Fixed B9x platform startup

Lack of MBEDTLS_ZEPHYR_ENTROPY config in defaults
which led to InitChipStack 172 error.
As result entropy failed in src/platform/Zephyr/PlatformManagerImpl.cpp

[Telink] fixed B9x commissioning

Reverted network buffers configs

[Telink] TL3218 commissioning fixes

Changes to fix TLx commissioning on new Zephyr

[Telink] Zephyr revision update

After merge updates.
Kconfig change to fix TL3218 commissioning
Reduced RAM usage to build TL3218 by
COMMON_LIBC_MALLOC_ARENA_SIZE changing

[Telink] zephyr version change, cleanup

Changed MCUBOOT logs config, same for LZMA

* [Telink] W91 OTA, Factory data commissioning fix

Fixes full config target commissioning for W91.
Been failing on `SendAttestationRequest` step,
finished with `general error 0x01`.

Tested manually with chip-tool on RPi on tlsr9118bdk40d

* [Telink] W91 stacks increase

Increased NET_MGMT_EVENT_STACK_SIZE by 122 B
and IPC_SERVICE_BACKEND_ICMSG_WQ_STACK_SIZE by 256 B
so that net_mgmt and icmsg_workq stack were used <90%.
Jenkins reported thread analyzer warnings on that.

* [Telink] review changes draft

Reverted NET_BUF_RX/TX_COUNT

* [Telink] Add tl7218 board.

* [Telink] Fix compilation warnings.

* [Telink] Fix config option.

* [Telink] Cleanup MbedTLS configuration.

* [Telink] Update tl721x default Kconfig

- update the default values for BT_RX_STACK_SIZE and COMMON_LIBC_MALLOC_ARENA_SIZE for TL721X

Signed-off-by: Jinmiao Yu <jinmiao.yu@telink-semi.com>

* [Telink] Remove unused files

* [Telink] Update Zephyr revision

* [Telink] Clean config types

* [Telink] Update Zephyr revision

* [Telink] Increase BLE_CTRL_THREAD_STACK_SIZE (B92 SoC retention test)

* [Telink] Fix compilation warninig

* [Telink] TL7218 upgrade to support version A2

* [Telink] Remove unused file after resolve merge conflict

* [Telink] Add tl7218_retention target

* riscv: telink: seperate ram for tl3218x .

- use retention mode to seperate ram.
- reserve more ram for ilm.

Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com>

* [Telink] Fix broken GitHub CI after adding tl721x target

* [Telink] remove temporary LZMA for tl321x due to bug

* [Telink] Fix TELINK_TLX_MATTER_RETENTION_LAYOUT typo for BOARD_TL3218

* [Telink] Add GPIO/PWM required for TL721X
telink-semi/hal_telink@62edeab

* [Telink] Temporary disable B95 OTA failed build
B95 will be removed fully in next commits

* [Telink] Add missed clean out build output step

* [Telink] adopt WiFi driver

* [Telink] remove b95 SoC / TLSR9258a board (replaced by TL721x)

* [Telink] Revert InetUtils.cpp Telink dependency

* [Telink] zephyr versions compatibility changes (#382)

* [Telink] zephyr versions compatibility changes

* [Telink] Change Window Covering App default SoC
W91 doesn't support PM

* [Telink] Update Zephyr revision

* [Telink] sync B92 flash layout

* [Telink] Remove temp b92 4mb change

* [Telink] Avoid main stack owerflow for w91

* [Telink] Update Zephyr revision

* [Telink] manual sync after merge master

* [Telink] Increase Main Stack size for W91
Update Zephyr revision

* [Telink] Zephyr 3.3 backward compatibility support

* riscv: telink: fix insufficient RAM when config LZMA (#384)

 - adjust the zephyr hash to 930b6d4 .

Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>

* riscv: telink: add retention mode for buteo (#385)

* riscv: telink: Update Zephyr hash

 - adjust the zephyr hash to 9e39d9f .
 - add tl3218x_retention target .

Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>

* riscv: telink: remove retention build target for buteo

Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>

* [Telink] Add comment

---------

Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>
Co-authored-by: Alex Tsitsiura <s07641069@gmail.com>

* [Telink] Fix commisioning issue due to missed MbedTLS module
TODO: fix compilation warnings

* telink: tl7218x: fix tercel retention (Update Zephyr hash)

* [Telink] Optimize add MbedTLS definitions for Zephyr 3.3 without warnings

* [Telink] Use latest hash for Zephyr 3.3

* [Telink] Disable debug part

---------

Signed-off-by: Jinmiao Yu <jinmiao.yu@telink-semi.com>
Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com>
Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com>
Co-authored-by: interfer <diman1436@gmail.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Dmytro Huz <75682372+interfer@users.noreply.github.com>
Co-authored-by: Andrii Bilynskyi <andrii.bilynskyi@telink-semi.com>
Co-authored-by: Haiwen Xia <haiwen.xia@telink-semi.com>
Co-authored-by: Serhii Salamakha <serhii.salamakha@gmail.com>
Co-authored-by: fengtai-telink <fengtai.xie@telink-semi.com>
@mkardous-silabs
Copy link
Contributor

Wait until #296 is merged before merging

* Added OTA Requestor Device

* Removing Un-conformant attribute

* Update Device versions

* Other fixes
andy31415 and others added 7 commits March 3, 2025 17:18
Bumps [third_party/imgui/repo](https://github.com/ocornut/imgui) from `2860d7b` to `ce13f6b`.
- [Release notes](https://github.com/ocornut/imgui/releases)
- [Commits](ocornut/imgui@2860d7b...ce13f6b)

---
updated-dependencies:
- dependency-name: third_party/imgui/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [third_party/pigweed/repo](https://github.com/google/pigweed) from `c12c17d` to `8ffdd15`.
- [Commits](google/pigweed@c12c17d...8ffdd15)

---
updated-dependencies:
- dependency-name: third_party/pigweed/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [third_party/ot-br-posix/repo](https://github.com/openthread/ot-br-posix) from `23149c3` to `6d70f5e`.
- [Release notes](https://github.com/openthread/ot-br-posix/releases)
- [Commits](openthread/ot-br-posix@23149c3...6d70f5e)

---
updated-dependencies:
- dependency-name: third_party/ot-br-posix/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build: Add -Wl,--as-needed flag for all executable builds

PR#33628 has added an explicit link to libatomic for all linux-based builds
to fix a build issue on mips. This results with a NEEDED record for
libatomic.so.1 even when it's not required. One situation when this happens
is building on arm64 with clang.

Signed-off-by: Maciej Grela <m.grela@samsung.com>

* gn: Restrict --as-needed to only Linux builds using clang

Signed-off-by: Maciej Grela <m.grela@samsung.com>

* typo

Signed-off-by: Maciej Grela <m.grela@samsung.com>

* gn: Blacklist instead of whitelist, include ios and explanatory comment

Signed-off-by: Maciej Grela <m.grela@samsung.com>

---------

Signed-off-by: Maciej Grela <m.grela@samsung.com>
---------

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Bumps [third_party/lwip/repo](https://github.com/lwip-tcpip/lwip) from `554e104` to `e558963`.
- [Commits](lwip-tcpip/lwip@554e104...e558963)

---
updated-dependencies:
- dependency-name: third_party/lwip/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@mkardous-silabs mkardous-silabs merged commit e56ddc4 into main Mar 4, 2025
74 of 76 checks passed
@mkardous-silabs mkardous-silabs deleted the automation/update_main branch March 4, 2025 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.