Skip to content

Commit

Permalink
Merge pull request project-chip#1646 in WMN_TOOLS/matter from bugfix/…
Browse files Browse the repository at this point in the history
…provision_silabs_header to RC_2.3.0-1.3

Auto-Merge: Pull request project-chip#1646: [AUTO] Bugfix: Provision: Backwards-compatible header moved to the temp folder.

Merge in WMN_TOOLS/matter from bugfix/provision_silabs_header to RC_2.3.0-1.3

Squashed commit of the following:

commit 8e005e302ea19e280e8ad88f0dd3605450021b96
Author: Ricardo Casallas <[email protected]>
Date:   Fri Mar 15 15:11:38 2024 -0400

    Bugfix: Provision: Backwards-compatible header moved to the temp folder.
  • Loading branch information
rcasallas-silabs authored and jmartinez-silabs committed Mar 29, 2024
1 parent 4faad8e commit 6915634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provision/modules/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Credentials:
DEFAULT_PAA_KEY = "credentials/test/attestation/Chip-Test-PAA-NoVID-Key.der"
PKCS_GENERATED = 'certs.p12'
DEFAULT_HEADER_TEMPLATE = 'silabs_creds.tmpl'
DEFAULT_HEADER_FILE = 'examples/platform/silabs/silabs_creds.h'
DEFAULT_HEADER_FILE = 'silabs_creds.h'
DEFAULT_CERT_TOOL = 'out/tools/chip-cert'

def __init__(self, paths, args) -> None:
Expand Down Expand Up @@ -84,7 +84,7 @@ def generateLegacyHeader(self, dac_cert, pai_cert, cd):
header = header.replace('{{pai_size}}', str(pai_stats.st_size))
header = header.replace('{{cd_size}}', str(cd_stats.st_size))
# Write header
_util.File(self.paths.root(Credentials.DEFAULT_HEADER_FILE)).write(header)
_util.File(self.paths.temp(Credentials.DEFAULT_HEADER_FILE)).write(header)


def collectCD(self, cdc, cdk, cd):
Expand Down

0 comments on commit 6915634

Please sign in to comment.