Skip to content

Commit d544079

Browse files
authored
Merge branch 'master' into osirko_extract_runner
2 parents 13d6fbb + 1114858 commit d544079

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

examples/all-clusters-app/nrfconnect/prj.conf

+3
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ CONFIG_CHIP_ENABLE_READ_CLIENT=y
5757

5858
# Increase the settings partition
5959
CONFIG_PM_PARTITION_SIZE_SETTINGS_STORAGE=0x8000
60+
61+
# Increase heap size
62+
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=10240

examples/all-clusters-app/nrfconnect/prj_dfu.conf

+3
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,6 @@ CONFIG_CHIP_FACTORY_DATA_BUILD=y
5555

5656
# Enable the Read Client for binding purposes
5757
CONFIG_CHIP_ENABLE_READ_CLIENT=y
58+
59+
# Increase heap size
60+
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=10240

examples/all-clusters-app/nrfconnect/prj_release.conf

+3
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,6 @@ CONFIG_CHIP_ENABLE_READ_CLIENT=y
6666
# Enable LTO to reduce the flash usage
6767
CONFIG_LTO=y
6868
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
69+
70+
# Increase heap size
71+
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=10240

scripts/build/builders/nrf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def _build(self):
220220
# Note: running zephyr/zephyr.elf has the same result except it creates
221221
# a flash.bin in the current directory. ctest has more options and does not
222222
# pollute the source directory
223-
self._Execute(['ctest', '--build-nocmake', '-V', '--output-on-failure', '--test-dir', os.path.join(self.output_dir, 'nrfconnect')],
223+
self._Execute(['ctest', '--build-nocmake', '-V', '--output-on-failure', '--test-dir', os.path.join(self.output_dir, 'nrfconnect'), '--no-tests=error'],
224224
title='Run Tests ' + self.identifier)
225225

226226
def _bundle(self):

src/credentials/FabricTable.cpp

+8-6
Original file line numberDiff line numberDiff line change
@@ -346,15 +346,17 @@ CHIP_ERROR FabricTable::ValidateIncomingNOCChain(const ByteSpan & noc, const Byt
346346
ChipLogProgress(FabricProvisioning, "Validating NOC chain");
347347
CHIP_ERROR err = FabricTable::VerifyCredentials(noc, icac, rcac, validContext, outCompressedFabricId, outFabricId, outNodeId,
348348
outNocPubkey, &outRootPubkey);
349-
if (err != CHIP_NO_ERROR && err != CHIP_ERROR_WRONG_NODE_ID)
350-
{
351-
err = CHIP_ERROR_UNSUPPORTED_CERT_FORMAT;
352-
}
353349
if (err != CHIP_NO_ERROR)
354350
{
355-
ChipLogError(FabricProvisioning, "Failed NOC chain validation: %" CHIP_ERROR_FORMAT, err.Format());
351+
ChipLogError(FabricProvisioning, "Failed NOC chain validation, VerifyCredentials returned: %" CHIP_ERROR_FORMAT,
352+
err.Format());
353+
354+
if (err != CHIP_ERROR_WRONG_NODE_ID)
355+
{
356+
err = CHIP_ERROR_UNSUPPORTED_CERT_FORMAT;
357+
}
358+
return err;
356359
}
357-
ReturnErrorOnFailure(err);
358360

359361
// Validate fabric ID match for cases like UpdateNOC.
360362
if (existingFabricId != kUndefinedFabricId)

0 commit comments

Comments
 (0)