Skip to content

Commit

Permalink
merge branch origin-chip/master
Browse files Browse the repository at this point in the history
  • Loading branch information
liangpy4 committed Nov 24, 2023
2 parents 48f4681 + b02f774 commit 5665bc7
Show file tree
Hide file tree
Showing 191 changed files with 5,146 additions and 9,440 deletions.
27 changes: 27 additions & 0 deletions .actrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file contains settings for local github action runner act:
# https://github.com/nektos/act
#
# It is recommended to run specific jobs that you need, all jobs except those
# running on should darwin work.
# e.g. act -j build_linux
#
# It is recommended to set up a separate bridge network
# and possibly define it in ~/.actrc like so:
# --network=bridge
# https://docs.docker.com/network/drivers/bridge/

# Remove containers after finishing a job, comment out for debugging
--rm

# Reuse the checkout from host, otherwise act will do docker cp that makes
# running jobs a lot longer even on SSD. Clean up your .environment before
# running it.
--bind

# Easier to have 1:1 match between triggering jobs and reading logs when they
# use the same name
--log-prefix-job-id

# Default runner image does not include enough.
# https://github.com/nektos/act#default-runners-are-intentionally-incomplete
-P ubuntu-latest=catthehacker/ubuntu:full-latest
2 changes: 2 additions & 0 deletions .github/actions/checkout-submodules-and-bootstrap/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ runs:
steps:
- name: Dump disk info
uses: ./.github/actions/dump-disk-info
- name: Set git safe directory for local act runs
uses: ./.github/actions/git-safe-directory
- name: Checkout submodules
uses: ./.github/actions/checkout-submodules
with:
Expand Down
9 changes: 9 additions & 0 deletions .github/actions/git-safe-directory/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Git safe directory
description: For running act with checkout owned by non-root user
runs:
using: "composite"
steps:
- name: Set git safe.directory to "*"
if: ${{ env.ACT }}
shell: bash
run: git config --system --add safe.directory '*'
2 changes: 1 addition & 1 deletion .github/boring-cyborg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ labelPRBasedOnFilePath:
- src/darwin/*

efr32:
- src/platform/efr32/*
- src/platform/silabs/*

esp32:
- src/platform/ESP32/*
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/examples-telink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,6 @@ jobs:
- name: clean out build output
run: rm -rf ./out

- name: Build example Telink (B91) Resource Monitoring App
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target 'telink-tlsr9518adk80d-resource-monitoring' build"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
telink tlsr9518adk80d resource-monitoring-app \
out/telink-tlsr9518adk80d-resource-monitoring/zephyr/zephyr.elf \
/tmp/bloat_reports/
- name: clean out build output
run: rm -rf ./out

Expand Down
12 changes: 6 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
path = third_party/freertos/repo
url = https://github.com/FreeRTOS/FreeRTOS-Kernel.git
branch = V10.3.1-kernel-only
platforms = ameba,cc13xx_26xx,bouffalolab,efr32,esp32,k32w,infineon,qpg,cc32xx,silabs_docker
platforms = ameba,cc13xx_26xx,bouffalolab,esp32,k32w,infineon,qpg,cc32xx
[submodule "simw-top-mini"]
path = third_party/simw-top-mini/repo
url = https://github.com/NXP/plug-and-trust.git
Expand All @@ -72,7 +72,7 @@
path = third_party/openthread/ot-efr32
url = https://github.com/SiliconLabs/ot-efr32.git
branch = matter_sve
platforms = efr32,silabs_docker
platforms = silabs,silabs_docker
[submodule "third_party/openthread/ot-ifx"]
path = third_party/openthread/ot-ifx
url = https://github.com/Infineon/ot-ifx-release.git
Expand Down Expand Up @@ -235,22 +235,22 @@
path = third_party/silabs/matter_support
url = https://github.com/SiliconLabs/sdk_support.git
branch = main
platforms = efr32,silabs_docker
platforms = silabs,silabs_docker
[submodule "third_party/silabs/gecko_sdk"]
path = third_party/silabs/gecko_sdk
url = https://github.com/SiliconLabs/gecko_sdk.git
branch = v4.3.2
platforms = efr32
platforms = silabs
[submodule "third_party/silabs/wiseconnect-wifi-bt-sdk"]
path = third_party/silabs/wiseconnect-wifi-bt-sdk
url = https://github.com/SiliconLabs/wiseconnect-wifi-bt-sdk.git
branch = 2.8.2
platforms = efr32
platforms = silabs
[submodule "third_party/silabs/wifi_sdk"]
path = third_party/silabs/wifi_sdk
url = https://github.com/SiliconLabs/wiseconnect.git
branch = v3.1.0
platforms = efr32
platforms = silabs
[submodule "editline"]
path = third_party/editline/repo
url = https://github.com/troglobit/editline.git
Expand Down
9 changes: 0 additions & 9 deletions docs/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,15 +303,6 @@ tv-casting-app/APIs.md
window-app/**/README
```

## Resource monitoring example

```{toctree}
:glob:
:maxdepth: 1
resource-monitoring-app/**/README
```

## RVC example

```{toctree}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
revision 4;

enum EffectIdentifierEnum : enum8 {
kBlink = 0;
kBreathe = 1;
Expand Down Expand Up @@ -49,6 +51,8 @@ server cluster Identify = 3 {

/** The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its endpoints and clusters. */
server cluster Descriptor = 29 {
revision 2;

bitmap Feature : bitmap32 {
kTagList = 0x1;
}
Expand Down Expand Up @@ -82,6 +86,8 @@ server cluster Descriptor = 29 {
and enforce Access Control for the Node's endpoints and their associated
cluster instances. */
server cluster AccessControl = 31 {
revision 1; // NOTE: Default/not specifically set

enum AccessControlEntryAuthModeEnum : enum8 {
kPASE = 1;
kCASE = 2;
Expand Down Expand Up @@ -154,6 +160,8 @@ server cluster AccessControl = 31 {
Commissioning and operational determination of Node characteristics, such as Vendor ID, Product ID and serial number,
which apply to the whole Node. Also allows setting user device information such as location. */
server cluster BasicInformation = 40 {
revision 3;

enum ColorEnum : enum8 {
kBlack = 0;
kNavy = 1;
Expand Down Expand Up @@ -243,6 +251,8 @@ server cluster BasicInformation = 40 {

/** Provides an interface for providing OTA software updates */
client cluster OtaSoftwareUpdateProvider = 41 {
revision 1; // NOTE: Default/not specifically set

enum ApplyUpdateActionEnum : enum8 {
kProceed = 0;
kAwaitNextAction = 1;
Expand Down Expand Up @@ -317,6 +327,8 @@ client cluster OtaSoftwareUpdateProvider = 41 {

/** Provides an interface for downloading and applying OTA software updates */
server cluster OtaSoftwareUpdateRequestor = 42 {
revision 1; // NOTE: Default/not specifically set

enum AnnouncementReasonEnum : enum8 {
kSimpleAnnouncement = 0;
kUpdateAvailable = 1;
Expand Down Expand Up @@ -392,6 +404,8 @@ server cluster OtaSoftwareUpdateRequestor = 42 {

/** This cluster is used to manage global aspects of the Commissioning flow. */
server cluster GeneralCommissioning = 48 {
revision 1; // NOTE: Default/not specifically set

enum CommissioningErrorEnum : enum8 {
kOK = 0;
kValueOutsideRange = 1;
Expand Down Expand Up @@ -456,6 +470,8 @@ server cluster GeneralCommissioning = 48 {

/** Functionality to configure, enable, disable network credentials and access on a Matter device. */
server cluster NetworkCommissioning = 49 {
revision 1; // NOTE: Default/not specifically set

enum NetworkCommissioningStatusEnum : enum8 {
kSuccess = 0;
kOutOfRange = 1;
Expand Down Expand Up @@ -613,6 +629,8 @@ server cluster NetworkCommissioning = 49 {

/** The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics. */
server cluster DiagnosticLogs = 50 {
revision 1; // NOTE: Default/not specifically set

enum IntentEnum : enum8 {
kEndUserSupport = 0;
kNetworkDiag = 1;
Expand Down Expand Up @@ -650,6 +668,8 @@ server cluster DiagnosticLogs = 50 {

/** The General Diagnostics Cluster, along with other diagnostics clusters, provide a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. */
server cluster GeneralDiagnostics = 51 {
revision 1; // NOTE: Default/not specifically set

enum BootReasonEnum : enum8 {
kUnspecified = 0;
kPowerOnReboot = 1;
Expand Down Expand Up @@ -761,6 +781,8 @@ server cluster GeneralDiagnostics = 51 {

/** Commands to trigger a Node to allow a new Administrator to commission it. */
server cluster AdministratorCommissioning = 60 {
revision 1; // NOTE: Default/not specifically set

enum CommissioningWindowStatusEnum : enum8 {
kWindowNotOpen = 0;
kEnhancedWindowOpen = 1;
Expand Down Expand Up @@ -801,6 +823,8 @@ server cluster AdministratorCommissioning = 60 {

/** This cluster is used to add or remove Operational Credentials on a Commissionee or Node, as well as manage the associated Fabrics. */
server cluster OperationalCredentials = 62 {
revision 1; // NOTE: Default/not specifically set

enum CertificateChainTypeEnum : enum8 {
kDACCertificate = 1;
kPAICertificate = 2;
Expand Down Expand Up @@ -917,6 +941,8 @@ server cluster OperationalCredentials = 62 {

/** The Group Key Management Cluster is the mechanism by which group keys are managed. */
server cluster GroupKeyManagement = 63 {
revision 1; // NOTE: Default/not specifically set

enum GroupKeySecurityPolicyEnum : enum8 {
kTrustFirst = 0;
kCacheAndSync = 1;
Expand Down Expand Up @@ -989,6 +1015,8 @@ server cluster GroupKeyManagement = 63 {

/** Attributes for reporting air quality classification */
server cluster AirQuality = 91 {
revision 1; // NOTE: Default/not specifically set

enum AirQualityEnum : enum8 {
kUnknown = 0;
kGood = 1;
Expand Down Expand Up @@ -1017,6 +1045,8 @@ server cluster AirQuality = 91 {

/** Attributes and commands for monitoring HEPA filters in a device */
server cluster HepaFilterMonitoring = 113 {
revision 1; // NOTE: Default/not specifically set

enum ChangeIndicationEnum : enum8 {
kOK = 0;
kWarning = 1;
Expand Down Expand Up @@ -1065,6 +1095,8 @@ server cluster HepaFilterMonitoring = 113 {

/** Attributes and commands for monitoring activated carbon filters in a device */
server cluster ActivatedCarbonFilterMonitoring = 114 {
revision 1; // NOTE: Default/not specifically set

enum ChangeIndicationEnum : enum8 {
kOK = 0;
kWarning = 1;
Expand Down Expand Up @@ -1113,6 +1145,8 @@ server cluster ActivatedCarbonFilterMonitoring = 114 {

/** An interface for controlling a fan in a heating/cooling system. */
provisional server cluster FanControl = 514 {
revision 4;

enum AirflowDirectionEnum : enum8 {
kForward = 0;
kReverse = 1;
Expand Down Expand Up @@ -1192,6 +1226,8 @@ provisional server cluster FanControl = 514 {

/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
server cluster TemperatureMeasurement = 1026 {
revision 1; // NOTE: Default/not specifically set

readonly attribute nullable temperature measuredValue = 0;
readonly attribute nullable temperature minMeasuredValue = 1;
readonly attribute nullable temperature maxMeasuredValue = 2;
Expand All @@ -1206,6 +1242,8 @@ server cluster TemperatureMeasurement = 1026 {

/** Attributes and commands for configuring the measurement of relative humidity, and reporting relative humidity measurements. */
server cluster RelativeHumidityMeasurement = 1029 {
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
readonly attribute nullable int16u maxMeasuredValue = 2;
Expand All @@ -1220,6 +1258,8 @@ server cluster RelativeHumidityMeasurement = 1029 {

/** Attributes for reporting carbon monoxide concentration measurements */
server cluster CarbonMonoxideConcentrationMeasurement = 1036 {
revision 3;

enum LevelValueEnum : enum8 {
kUnknown = 0;
kLow = 1;
Expand Down Expand Up @@ -1275,6 +1315,8 @@ server cluster CarbonMonoxideConcentrationMeasurement = 1036 {

/** Attributes for reporting carbon dioxide concentration measurements */
server cluster CarbonDioxideConcentrationMeasurement = 1037 {
revision 3;

enum LevelValueEnum : enum8 {
kUnknown = 0;
kLow = 1;
Expand Down Expand Up @@ -1330,6 +1372,8 @@ server cluster CarbonDioxideConcentrationMeasurement = 1037 {

/** Attributes for reporting nitrogen dioxide concentration measurements */
server cluster NitrogenDioxideConcentrationMeasurement = 1043 {
revision 3;

enum LevelValueEnum : enum8 {
kUnknown = 0;
kLow = 1;
Expand Down Expand Up @@ -1385,6 +1429,8 @@ server cluster NitrogenDioxideConcentrationMeasurement = 1043 {

/** Attributes for reporting ozone concentration measurements */
server cluster OzoneConcentrationMeasurement = 1045 {
revision 3;

enum LevelValueEnum : enum8 {
kUnknown = 0;
kLow = 1;
Expand Down Expand Up @@ -1440,6 +1486,8 @@ server cluster OzoneConcentrationMeasurement = 1045 {

/** Attributes for reporting PM2.5 concentration measurements */
server cluster Pm25ConcentrationMeasurement = 1066 {
revision 3;

enum LevelValueEnum : enum8 {
kUnknown = 0;
kLow = 1;
Expand Down Expand Up @@ -1495,6 +1543,8 @@ server cluster Pm25ConcentrationMeasurement = 1066 {

/** Attributes for reporting formaldehyde concentration measurements */
server cluster FormaldehydeConcentrationMeasurement = 1067 {
revision 3;

enum LevelValueEnum : enum8 {
kUnknown = 0;
kLow = 1;
Expand Down Expand Up @@ -1550,6 +1600,8 @@ server cluster FormaldehydeConcentrationMeasurement = 1067 {

/** Attributes for reporting PM1 concentration measurements */
server cluster Pm1ConcentrationMeasurement = 1068 {
revision 3;

enum LevelValueEnum : enum8 {
kUnknown = 0;
kLow = 1;
Expand Down Expand Up @@ -1605,6 +1657,8 @@ server cluster Pm1ConcentrationMeasurement = 1068 {

/** Attributes for reporting PM10 concentration measurements */
server cluster Pm10ConcentrationMeasurement = 1069 {
revision 3;

enum LevelValueEnum : enum8 {
kUnknown = 0;
kLow = 1;
Expand Down Expand Up @@ -1660,6 +1714,8 @@ server cluster Pm10ConcentrationMeasurement = 1069 {

/** Attributes for reporting total volatile organic compounds concentration measurements */
server cluster TotalVolatileOrganicCompoundsConcentrationMeasurement = 1070 {
revision 3;

enum LevelValueEnum : enum8 {
kUnknown = 0;
kLow = 1;
Expand Down Expand Up @@ -1715,6 +1771,8 @@ server cluster TotalVolatileOrganicCompoundsConcentrationMeasurement = 1070 {

/** Attributes for reporting radon concentration measurements */
server cluster RadonConcentrationMeasurement = 1071 {
revision 3;

enum LevelValueEnum : enum8 {
kUnknown = 0;
kLow = 1;
Expand Down
Loading

0 comments on commit 5665bc7

Please sign in to comment.