Skip to content

Commit cbb17dd

Browse files
Sync csa branch with main (#262)
2 parents 88d8e88 + fb64160 commit cbb17dd

File tree

30 files changed

+820
-155
lines changed

30 files changed

+820
-155
lines changed

examples/platform/silabs/MatterConfig.cpp

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
#include <platform/silabs/wifi/WifiInterface.h>
2929

3030
// TODO: We shouldn't need any platform specific includes in this file
31-
#ifdef WF200_WIFI
32-
#include <platform/silabs/wifi/wf200/ncp/sl_wfx_task.h>
33-
#endif // WF200_WIFI
31+
#if (defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1)
32+
#include <platform/silabs/SiWx917/SiWxPlatformInterface.h>
33+
#endif // (defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1)
3434
#endif // SL_WIFI
3535

3636
#if PW_RPC_ENABLED
@@ -45,15 +45,6 @@
4545
#include "MemMonitoring.h"
4646
#endif
4747

48-
// TODO: We shouldn't need any platform specific includes in this file
49-
#if (defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1)
50-
#include <platform/silabs/SiWx917/SiWxPlatformInterface.h>
51-
#endif // (defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1 )
52-
53-
#if ((defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1) || defined(EXP_BOARD))
54-
#include <platform/silabs/wifi/wiseconnect-interface/WiseconnectWifiInterface.h>
55-
#endif // ((defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1) || defined(EXP_BOARD))
56-
5748
#include <crypto/CHIPCryptoPAL.h>
5849
// If building with the EFR32-provided crypto backend, we can use the
5950
// opaque keystore
@@ -330,18 +321,7 @@ CHIP_ERROR SilabsMatterConfig::InitMatter(const char * appName)
330321
#ifdef SL_WIFI
331322
CHIP_ERROR SilabsMatterConfig::InitWiFi(void)
332323
{
333-
// TODO: Platform specific init should not be required here
334-
#ifdef WF200_WIFI
335-
// Start wfx bus communication task.
336-
wfx_bus_start();
337-
#endif // WF200_WIFI
338-
339-
// TODO: Platform specific init should not be required here
340-
#if ((defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1) || defined(EXP_BOARD))
341-
VerifyOrReturnError(InitSiWxWifi() == SL_STATUS_OK, CHIP_ERROR_INTERNAL);
342-
#endif //((defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1 ) || defined(EXP_BOARD))
343-
344-
return CHIP_NO_ERROR;
324+
return InitWiFiStack();
345325
}
346326
#endif // SL_WIFI
347327

integrations/cloudbuild/chef.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,6 @@ steps:
5858
- name: pwenv
5959
path: /pwenv
6060

61-
- name: "gcr.io/cloud-builders/docker"
62-
args:
63-
[
64-
"/workspace/examples/chef/create_docker.py",
65-
"--commit_sha",
66-
"$COMMIT_SHA",
67-
"--short_sha",
68-
"$SHORT_SHA",
69-
"--revision_id",
70-
"$REVISION_ID",
71-
"--build_id",
72-
"$BUILD_ID",
73-
"--image_name",
74-
"$_DOCKER_IMAGE_NAME",
75-
"--tar_path",
76-
"/workspace/artifacts",
77-
]
78-
id: DockerAll
79-
entrypoint: python3
80-
waitFor:
81-
- CompileNoip
82-
8361
logsBucket: matter-build-automation-build-logs
8462

8563
# Global timeout for all steps

integrations/docker/images/stage-1/chip-build-crosscompile/start-sysroot-vm.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ packages:
117117
- libdbus-1-dev
118118
- libgirepository1.0-dev
119119
- libglib2.0-dev
120+
- libpcsclite-dev
120121
- libreadline-dev
121122
- libsdl2-dev
122123
- libssl-dev

src/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ if (chip_build_tests) {
6666
"${chip_root}/src/protocols/interaction_model/tests",
6767
"${chip_root}/src/protocols/secure_channel/tests",
6868
"${chip_root}/src/protocols/user_directed_commissioning/tests",
69+
"${chip_root}/src/lib/support/verhoeff/tests",
6970
"${chip_root}/src/system/tests",
7071
"${chip_root}/src/transport/retransmit/tests",
7172
"${chip_root}/src/transport/tests",

src/darwin/Framework/CHIP/MTRCommissioneeInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN
2525
* Information read from the commissionee device during commissioning.
2626
*/
2727
NS_SWIFT_SENDABLE
28-
MTR_NEWLY_AVAILABLE
28+
MTR_AVAILABLE(ios(18.4), macos(15.4), watchos(11.4), tvos(18.4))
2929
@interface MTRCommissioneeInfo : NSObject <NSCopying, NSSecureCoding>
3030

3131
/**

src/darwin/Framework/CHIP/MTRCommissioningParameters.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
100100
* Read device type information from all endpoints during commissioning.
101101
* Defaults to NO.
102102
*/
103-
@property (nonatomic, assign) BOOL readEndpointInformation MTR_NEWLY_AVAILABLE;
103+
@property (nonatomic, assign) BOOL readEndpointInformation MTR_AVAILABLE(ios(18.4), macos(15.4), watchos(11.4), tvos(18.4));
104104

105105
@end
106106

src/darwin/Framework/CHIP/MTRDeviceController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
273273
* Forget any information we have about the device with the given node ID. That
274274
* includes clearing any information we have stored about it.
275275
*/
276-
- (void)forgetDeviceWithNodeID:(NSNumber *)nodeID MTR_NEWLY_AVAILABLE;
276+
- (void)forgetDeviceWithNodeID:(NSNumber *)nodeID MTR_AVAILABLE(ios(18.4), macos(15.4), watchos(11.4), tvos(18.4));
277277

278278
/**
279279
* Compute a PASE verifier for the desired setup passcode.

src/darwin/Framework/CHIP/MTRDeviceControllerDelegate.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,11 @@ MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
9494
* so the information delivered by this notification should not be trusted.
9595
*/
9696
- (void)controller:(MTRDeviceController *)controller
97-
readCommissioneeInfo:(MTRCommissioneeInfo *)info MTR_NEWLY_AVAILABLE;
97+
readCommissioneeInfo:(MTRCommissioneeInfo *)info MTR_AVAILABLE(ios(18.4), macos(15.4), watchos(11.4), tvos(18.4));
9898

9999
- (void)controller:(MTRDeviceController *)controller
100100
readCommissioningInfo:(MTRProductIdentity *)info
101-
MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
102-
MTR_NEWLY_DEPRECATED("Use controller:readCommissioneeInfo:");
101+
MTR_DEPRECATED("Use controller:readCommissioneeInfo:", ios(17.0, 18.4), macos(14.0, 15.4), watchos(10.0, 11.4), tvos(17.0, 18.4));
103102

104103
/**
105104
* Notify the delegate when the suspended state changed of the controller, after this happens

src/darwin/Framework/CHIP/MTRDeviceType.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ MTR_AVAILABLE(ios(18.2), macos(15.2), watchos(11.2), tvos(18.2))
5555

5656
@end
5757

58-
MTR_NEWLY_AVAILABLE
58+
MTR_AVAILABLE(ios(18.4), macos(15.4), watchos(11.4), tvos(18.4))
5959
@interface MTRDeviceType () <NSCopying>
6060
@end
6161

src/darwin/Framework/CHIP/MTRDeviceTypeRevision.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ MTR_AVAILABLE(ios(17.6), macos(14.6), watchos(10.6), tvos(17.6))
4444
/**
4545
* Initializes the receiver based on the values in the specified struct.
4646
*/
47-
- (nullable instancetype)initWithDeviceTypeStruct:(MTRDescriptorClusterDeviceTypeStruct *)deviceTypeStruct MTR_NEWLY_AVAILABLE;
47+
- (nullable instancetype)initWithDeviceTypeStruct:(MTRDescriptorClusterDeviceTypeStruct *)deviceTypeStruct MTR_AVAILABLE(ios(18.4), macos(15.4), watchos(11.4), tvos(18.4));
4848

4949
@property (nonatomic, copy, readonly) NSNumber * deviceTypeID;
5050
@property (nonatomic, copy, readonly) NSNumber * deviceTypeRevision;
@@ -53,11 +53,11 @@ MTR_AVAILABLE(ios(17.6), macos(14.6), watchos(10.6), tvos(17.6))
5353
* Returns the MTRDeviceType corresponding to deviceTypeID,
5454
* or nil if deviceTypeID does not represent a known device type.
5555
*/
56-
@property (nonatomic, copy, readonly, nullable) MTRDeviceType * typeInformation MTR_NEWLY_AVAILABLE;
56+
@property (nonatomic, copy, readonly, nullable) MTRDeviceType * typeInformation MTR_AVAILABLE(ios(18.4), macos(15.4), watchos(11.4), tvos(18.4));
5757

5858
@end
5959

60-
MTR_NEWLY_AVAILABLE
60+
MTR_AVAILABLE(ios(18.4), macos(15.4), watchos(11.4), tvos(18.4))
6161
@interface MTRDeviceTypeRevision () <NSSecureCoding>
6262
@end
6363

0 commit comments

Comments
 (0)