forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
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
update local master #114
Merged
Merged
update local master #114
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Update Manufacturers DB (from September 2023) Signed-off-by: Markus Becker <markus.becker@tridonic.com> * some fixes and 2 additional VIDs Signed-off-by: Markus Becker <markus.becker@tridonic.com> --------- Signed-off-by: Markus Becker <markus.becker@tridonic.com>
Bumps [third_party/pigweed/repo](https://github.com/google/pigweed) from `e765c4d` to `9504c03`. - [Commits](google/pigweed@e765c4d...9504c03) --- 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>
Instead of just saying what tests would run, log the actual commands (more or less) that would run, so that it's easier to figure out how to run tests manually.
* Add build flag for changing firmware build time Adding a default fallback firmware build time. This makes the firmware build more consistent, so you get the same binary unless you specifically ask for the build time to be updated. * Get fallback from from file so it can be updated This lets us update the fallback time via a script using a cron job if we want to. * Restyled by isort * Change filename --------- Co-authored-by: Restyled.io <commits@restyled.io>
* Remove static_assert to match test changes * remove verifyordie for now * comment out variable that is not used * Update src/app/icd/ICDManager.cpp Co-authored-by: Boris Zbarsky <bzbarsky@apple.com> * Restyled by clang-format --------- Co-authored-by: Boris Zbarsky <bzbarsky@apple.com> Co-authored-by: Restyled.io <commits@restyled.io>
…29825) * Added fix for echo system * Added fic for echo system * Added restyle changes * Added changes for the restyle
* Update Thermostat cluster version to 6. It was updated in all-clusters-app, but not in the XML or other apps. * Regenerate generated files.
Co-authored-by: Andrei Litvin <andreilitvin@google.com>
…d/ PlatformManagerImpl.cpp (#29831)
* Update cluster data with api maturity * Pull in latest zap that supports api maturity * mark scenes provisional, mark unit testing and fault injection as internal * Mark more clusters as provisional * Undo domain move * Undo submodule change * make the scenes domain identical with how it was * Restyle --------- Co-authored-by: Andrei Litvin <andreilitvin@google.com>
The factory data documentation contains the wrong example of the factory data script invocation and it did not allow users to use it.
* Remove unnecessary include in linux * Add nodeps build to linux, to ensure the nodeps target never fails to compil again
* Make IDL templates use lowercase for bitmap and enum types * Zap regen * Undo submodule update --------- Co-authored-by: Andrei Litvin <andreilitvin@google.com>
* Added the TableSize bit to the Scenes feature map and ensured the ScenesTableImpl would get the value from zap * Updated Fabric capacity rule to apply less than half of SceneTableSize and adapted the tests * Generated Zap * Adapted the tests to handle new Capacity in spec and regenerated Darwin tests * Attempt to fix signedness error on Darwin CI * Restyled by prettier-yaml --------- Co-authored-by: Restyled.io <commits@restyled.io>
Since this can delay command invocation, accounts for that in the timed invoke case.
* Fixes manual script issues 676, 682, 684, 685, 686, 690, 691, 692 * Restyled by whitespace * Modified scripts: TC_CNET_4_1 TC_CNET_4_10 TC_CNET_4_11 TC_CNET_4_12 TC_CNET_4_13 TC_CNET_4_14 TC_CNET_4_15 TC_CNET_4_16 TC_CNET_4_2 TC_CNET_4_20 TC_CNET_4_21 TC_CNET_4_22 TC_CNET_4_3 TC_CNET_4_4 TC_CNET_4_5 TC_CNET_4_6 TC_CNET_4_9 TC_DA_1_4 TC_OPSTATE_2_2 TC_WNCV_5_1_Simulated TC_WNCV_6_1_Simulated TC_WNCV_7_1_Simulated * Restyled by whitespace * Fixing CNET manual YAML's * Modified test TC-CNET-4.15 --------- Co-authored-by: Restyled.io <commits@restyled.io>
* Fixes issue: 677, 678, 679, 680, 689 DGWIFI-1.1 BRBINFO-2.1 FAN-1.1 MOD-1.1 ALOGIN-12.1 * Auto generated files * Restyled by whitespace * Fixes issue: 987, 675 TC-AUDIOOUTPUT-1.8 TC-BINFO-2.2 * Restyled by whitespace * Modified tests TC-DRLK-2.1 TC-DRLK-2.10 --------- Co-authored-by: Restyled.io <commits@restyled.io>
* remove lwip depency from thread application * fix init * Adjust packet buffer pool size * remove lwip dependency from bl702 thread application * Fix lint code * fix compile error on bl706 when usb cdc enabled
* [nrfconnect] Remove redundant defines from CHIPProjectConfig.h Most test device parameters can be configured via Kconfig, so configuring them directly in CHIPProjectConfig.h is unnecessary and confusing (it is unclear which source of the configuration takes precedence). Map Kconfig options to CHIP_DEVICE_XXX C defines unconditionally to detect macro redefinitions. Then, remove redundant defines from nRF Connect examples' CHIPProjectConfig.h files. * Fix chef build * Restyled by autopep8 --------- Co-authored-by: Restyled.io <commits@restyled.io>
* EndpintCleanup fix leaks changes * Fix leak BluezLEAdvertisement1 * Add sleep for reproduction * Revert "Add sleep for reproduction" This reverts commit a5eeb71. * Run BluezEndpoint cleanup on GLib thread --------- Co-authored-by: Arkadiusz Bokowy <a.bokowy@samsung.com>
* [Linux] Release BLE scanner resources on glib thread * Update python scanner after API change * Fix missing namespace * Add missing license header * Fix initialization check
* [nrfconnect] Pushed downstream patches to align with v2.5.0 Pushed all downstream patches aligning nrfconnect platform to the nRF Connect SDK 2.5.0 version: * Added support for new Wi-Fi dongle board. Added enabling Wi-Fi support in Matter if nRF7002 EB is selected as a shield. Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no> * Turn off wpa_supplicant debug output. This saves ~20kB of FLASH. Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no> * [nrfconnect] Enable zcbor explicitly for mcuboot Mcuboot requires zcbor, so enable it explicitly, otherwise the build fails with latest mcuboot. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> * [nrfconnect] Align with the upstream net_if API change net_if_ipv6_maddr_join() now requires to provide a net_if pointer. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> * config: nrfconnect: Remove PSA_WANT default n setting With PSA_WANT configurations being default n then these default values are no longer needed for chip-module. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no> * [zephyr] Add config to enable watermarks support Added a config to control enabling support for heap watermarks within the Zephyr platform. * Fixed Wi-Fi re-connection mechanism. Do not force the Disconnect() if the wpa_supplicant recovered the connection by itself. Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no> * Disabled BLE GATT caching This commit disables BLE Gatt caching for nRF Connect SDK platform. Signed-off-by: Duda, Łukasz <lukasz.duda@nordicsemi.no> * Enabled erasing NVS as default method This commit configures FW to erase flash pages occupied by non-volatile storage when a factory reset is requested, instead of removing Matter-related settings only. Signed-off-by: Duda, Łukasz <lukasz.duda@nordicsemi.no> * Disable shell for OpenThread and HWINFO module This commit reduces the overall memory consumption by disabling the OpenThread shell and HWInfo module. Signed-off-by: Duda, Łukasz <lukasz.duda@nordicsemi.no> * Align finding Python3 executable to NCS requirements. We should try to find Python3 instead of Python within cmake scripts. * Enable Generating Onboarding Codes by default This PR enables automatic generation of onboarding codes to the build directory when Factory Data feature is enabled. * Enable minimal configuration of Shell Enable minimal shell configuration to save some ROM and RAM. Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no> * Fixed boot reason for nRF52 Recently the mechanism of nRF52 reboot type retention which is used in Matter has been deprecated in Zephyr and can be only bring back by a dedicated KConfig. Another solution (chosen) is to explicitly store boot reason in the retention registers for both nRF52 and nRF53. Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no> * Increased number of net sockets poll max Increased CONFIG_NET_SOCKETS_POLL_MAX from 4 to 6, as otherwise it resulted in bus fault during connection. Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no> * Remove recovery mechanism for Wi-Fi connection Currently, the Wi-Fi driver supports the recovery mechanism and it seems that it works properly so we can remove our recovery mechanism when the connection is lost. Apart from losing the network, we need to leave the recovery mechanism to work after the device's reboot because we need to scan periodically to find a known network. * Increase the maximum number of prefixes to match the maximum number of IPv6 addresses per interface. Zephyr ipv6_nbr implementation requires the given address to have a matching prefix set on the interface. Otherwise, the default router is used for sending neighbor advertisement and as a result, in case there are multiple routers in the network, the packet can be sent to the invalid interface (not the one which issued neighbor solicitation). Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no> * [nrfconnect] Enable NVS lookup cache settings optimization By default, use the lookup cache hash function optimized for NVS used as the settings backend. This assumes that a user application uses Zephyr settings API and does not write to the NVS directly. * Disable nRF70 driver logs verbosity by default. This aims to keep memory footprint after this config is enabled by default in NCS. Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no> * Disabled BLE 2M PHY due to interoperability issues There were some interoperability issues discovered due to BLE PHY dynamic changes from 1M to 2M. The 2M was disabled to ensure the interoperability with some of the BT controllers. Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no> * Disabled Wi-Fi logs to save flash Recently some new Wi-Fi logs were enabled by default. These need to be disabled to decrease memory footprint. Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no> * [nrfconnect] Fixed door lock feature map Door lock sample has incorrect feature map value, because it is hardcoded in cpp file, instead of using the value generated from the .zap file. * [nrfconnect] Fixed window covering attributes default values Implemented post cluster init callback to set null values to 0, if any other value was not saved in NVS. * [nrfconnect] Disabled BOOT BANNER for release configuration * Align codebase with the new callback format Align NCS codebase with the new struct mgmt_callback format. * Restore IPC thread priority in Matter samples We noticed that IPC priority on nRF5340 is not set by default. We need to set it in DTS to be sure that the IPC thread does not collide with other threads. * Enable build with the factory data support. This PR enables factory data generation and usage by default in all NCS Matter samples. * Fix missing mcumgr header Header img_mgmt.h added to source file. * Forced using minimal libc for mcuboot image Minimal libc selection has to be forced for all Matter-related mcuboot builds. Otherwise the picolib is enabled and image size increases by several k, so it cannot fit in the dedicated partition. * Add bootutil for image definitions Adds building bootutil, when DFU with MCUmgr is enabled, for application image definitions. * [zephyr] Track number of enqueued platform events Add a new system statistic for tracking the number of enqueued platform events and update it in Zephyr platform. Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no> * Optimize RAM usage - Reduce number of network buffers and packets This commit reduces the number of network buffers and packets used by the nrfconnect platform. - Add support for printing mbedTLS heap This commit adds support for printing the peak usage of mbedTLS heap. - Reduce number of Matter stack packet buffers This commit reduced the number of available Matter's packet buffers to 8 which affects RAM usage. - Introduce KConfig option to enable RAM profiling This commit introduces the KConfig option that enables a set of features useful for profiling the RAM memory. - Disable SSL server support for Matter This commit dissables unused support for SSL server. - Reduce size of platform event queue This commit overwrites the default size of platform event queue and sets it to 64. - Reduce mbedTLS heap and OpenThread stack sizes This commit reduces the mbedTLs heap and OpenThread stack sizes when Joiner role is enabled by not used (case of OT libraries). - Reduce kernel heap size for Matter over Wi-Fi This commit aligns the default heap size to the value used in the Shell example. - Optimize buffer usage of nRF700X driver for Matter Matter device does not need to operate as high-performance STA, and so this commit reduces the default number of buffers. As a result the heap used by the supplicant may be significantly reduced. - Added the missing conditions to HEAP configs. Decrease stack sizes according to the peak results Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no> Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no> * Increase stability of Wi-Fi LPM operations This commit increases number of TX Tokens to the previous value of 10 to prevent RPU stalls. Additionally it was observed that 500ms delay before executing factory reset is too small for certain situations on Wi-Fi. This commit also increases this delay to 1s. Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no> * [openthread] Aligned to CSL method API changes With the most recent OpenThread version, the API for CSL methods changed, so it had to be aligned in the Matter SDK. Added alternative implementation depending on the OpenThread API version. * [nrfconnect] Updated nRF Connect SDK to 2.5.0 Updated nRF Connect SDK version to 2.5.0 and updated all docker images version to the 24. * Restyled by whitespace * Restyled by clang-format * [shell] Fixed wrong condition for mbedtls include Changed if defined() to if statement to fix missing mbedtls header file for platforms using CHIP_CRYPTO_MBEDTLS = false * [nrfconnect] Disabled factory data for all clusters app The default prj.conf build does not use partition layout with factory data partition included, so the factory data support has to be disabled. * Addressed review comments * Moved MINIMAL_LIBC config to mcuboot defaults * Brought back setting lock feature map, but changed the value from 0x101 to 0x181 (added COTA support) Additionally fixed Zephyr unit tests: * Changed main return type from void to main for Zephyr unit tests runner. * Added decreasing pool size conditionally to not affect tests * Fixed exiting the tests to prevent abort. --------- Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no> Co-authored-by: Restyled.io <commits@restyled.io>
Definitions dont match the definition in the zap file.
* Replace enum name * zap regen * Fix Darwin availability annotations. * Add alias in CompatEnumNames.h --------- Co-authored-by: Boris Zbarsky <bzbarsky@apple.com> Co-authored-by: Andrei Litvin <andreilitvin@google.com>
* Fixes issue: 34, 46, 47, 48, 49, 50 Modified tests: TC_ACE_1_5 TC_BRBINFO_2_2 TC_CADMIN_1_5 TC_CNET_4_10 TC_CNET_4_11 TC_CNET_4_20 TC_CNET_4_5 TC_CNET_4_9 TC_DGWIFI_3_2_Simulated TC_DRLK_2_10 TC_G_2_2 TC_SWTCH_2_2 * Modified tests: TC_ACT_3_2 TC_DRLK_3_2 * Restyled by whitespace --------- Co-authored-by: Restyled.io <commits@restyled.io>
…ting data (#30198) * Add some documentation about matter idl tooling * Restyle * Add zigbee only note, because that caught me a bit * Restyle * Add quotes on cmdline examples * clearer docs a bit * Add an external data model for the data model md (make sphinx happy) * make build succeed * Some better orphan markers to let sphinx process these files without a TOC entry. I was unsure how to make a proper toc here * fix spelling --------- Co-authored-by: Andrei Litvin <andreilitvin@google.com>
* Initial example creation * intial clean up * update build.gb * update build configs * correct build.gn * Add example to CI * zap regen * update linux targets * Add default config for user active trigger * remove clusters that shouldn't be on endpoint 0 * fix device conformance
Co-authored-by: Andrei Litvin <andreilitvin@google.com>
* Clean up MTRClusters/MTRBaseClusters a bit: 1) Introduce MTRGenericBaseCluster/MTRGenericCluster base classes. 2) Move the same-for-every-type initializer implementation to the base class. 3) Move the class-specific initializer declaration (needed to get availability right) to a category so we don't get complaints about incomplete implementation. * Address review comment.
Fixes the parameters bits to allow later adding XPC parameters.
* Manual-->Semi-automated testcases TC-CNET-4.1 TC-CNET-4.2 TC-CNET-4.3 TC-CNET-4.4 TC-CNET-4.5 TC-CNET-4.6 TC-CNET-4.9 TC-CNET-4.10 TC-CNET-4.11 TC-CNET-4.15 TC-CNET-4.16 TC-CNET-4.22 * Restyled by whitespace * Modified Darwin ciTests.json disabled CNET-4.3 * Modifed ciTests.json file --------- Co-authored-by: Restyled.io <commits@restyled.io>
…30189) * Add flags for provisional and in-progress Also remove extra print * Add the CI weirdness as well * Remove extra print
For a command response, the YAML parser was ending up with the wrong type definition (the one for the whole command response, not the one for the one field) when a type-dependent constraint was used on a field of the response. This led to issues when a type-dependent constraint (like "contains") was used with a list of structs: the field names for the structs were not found, since the object used for lookup had field names for the command itself, not for the field in question. Fixes #30204
* move MediaPlaybackStatusEnum to StatusEnum * Add compat shim * Zap regen * Replace enum name to the new name * Fix Darwin availability annotations. --------- Co-authored-by: Andrei Litvin <andreilitvin@google.com> Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Bumps [third_party/libwebsockets/repo](https://github.com/warmcat/libwebsockets) from `816544f` to `26c3f9a`. - [Commits](warmcat/libwebsockets@816544f...26c3f9a) --- updated-dependencies: - dependency-name: third_party/libwebsockets/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/bouffalolab/repo](https://github.com/bouffalolab/bl_iot_sdk_tiny) from `a57482f` to `07ac148`. - [Commits](bouffalolab/bl_iot_sdk_tiny@a57482f...07ac148) --- updated-dependencies: - dependency-name: third_party/bouffalolab/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>
github-actions
bot
added
documentation
Improvements or additions to documentation
vscode
gn
github
workflows
config
platform
labels
Nov 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
What is being fixed? Examples:
Change overview
What's in this PR
Testing
How was this tested? (at least one bullet point required)