Skip to content

Commit f1b8d41

Browse files
committed
Merge branch 'master_dev_trustm' of https://github.com/ying-css/connectedhomeip into master_dev_trustm
2 parents 24fe2c7 + 79ff8a2 commit f1b8d41

File tree

3 files changed

+8
-27
lines changed

3 files changed

+8
-27
lines changed

docs/guides/infineon_trustm_provisioning.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ OPTIGA™ Trust M with Matter test device Attestation certificate is needed.
77

88
[Raspberry Pi 4](https://www.raspberrypi.com/products/raspberry-pi-4-model-b/)
99

10-
[OPTIGA™ Trust M S2GO](https://www.infineon.com/cms/en/product/evaluation-boards/s2go-security-optiga-m/)
10+
[OPTIGA™ Trust M MTR](https://www.infineon.com/cms/en/product/evaluation-boards/trust-m-mtr-shield/)
1111

1212
[Shield2Go Adapter for Raspberry Pi](https://www.infineon.com/cms/en/product/evaluation-boards/s2go-adapter-rasp-pi-iot/)
1313
or Jumping Wire

examples/lock-app/infineon/psoc6/README.md

+6-25
Original file line numberDiff line numberDiff line change
@@ -145,43 +145,24 @@ Infineon Hardware Security Module-OPTIGA™ Trust M is a high-end security
145145
solution that provides an anchor of trust for connecting IoT devices to the
146146
cloud, giving every IoT device its own unique identity.
147147

148-
For different security use cases, please set the flags in
149-
CHIPCryptoPALHsm*config.h which is located at */src/crypto/hsm/\_
150-
151-
For device attestation please enable the flag ENABLE*HSM_DEVICE_ATTESTATION in
152-
CHIPCryptoPALHsm_config.h which is located at */src/crypto/hsm/\_
153-
154148
- Supported hardware setup:
155149
[CY8CKIT-062S2-43012](https://www.cypress.com/CY8CKIT-062S2-43012)
156150

157-
[OPTIGA™ Trust M S2GO](https://www.infineon.com/cms/en/product/evaluation-boards/s2go-security-optiga-m/)
151+
[OPTIGA™ Trust M MTR](https://www.infineon.com/cms/en/product/evaluation-boards/trust-m-mtr-shield/)
158152

159-
[MY IOT ADAPTER](https://www.infineon.com/cms/en/product/evaluation-boards/my-iot-adapter/)
153+
[OPTIGA™ Trust Adapter](https://www.infineon.com/cms/en/product/evaluation-boards/optiga-trust-adapter/)
160154

161155
- Building
162156

163-
Follow the steps to build:
164-
165-
```
166-
$ cd examples/lock-app/infineon/psoc6
167-
$ source third_party/conenctedhomeip/scripts/activate.sh
168-
$ export PSOC6_BOARD=CY8CKIT-062S2-43012
169-
```
170-
171-
Note: export PSOC6_BOARD=CY8CKIT-062S2-43012 is used to set up the
172-
development platform and environment to use CY8CKIT-062S2-43012 board for
173-
code compilation.
174-
175-
To enable OPTIGA™ Trust M for device attestation use case:
157+
Follow the steps to build with OPTIGA™ Trust M for device attestation use case:
176158

177159
```
178-
$ gn gen out/debug --args="chip_enable_infineon_trustm=true chip_enable_infineon_trustm_da=true"
179-
$ ninja -C out/debug
160+
$ source scripts/activate.sh
161+
$ scripts/build/build_examples.py --no-log-timestamps --target 'infineon-psoc6-lock-trustm' build
180162
```
181-
182163
- To delete generated executable, libraries and object files use:
183164
184-
$ cd examples/lock-app/infineon/psoc6
165+
$ cd ~/connectedhomeip
185166
$ rm -rf out/
186167
187168
- Proceed to OPTIGA™ Trust M Provisioning section to complete the credential

scripts/build/builders/infineon.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def __init__(self,
9696
if enable_trustm:
9797
self.extra_gn_options.append('chip_crypto=\"platform\"')
9898
if enable_trustm is False:
99-
self.extra_gn_options.append('chip_crypto=\"\"')
99+
self.extra_gn_options.append('chip_crypto=\"mbedtls\"')
100100
def GnBuildArgs(self):
101101
return self.extra_gn_options
102102

0 commit comments

Comments
 (0)