From 9f8bbc73d79dea29265d69db10249b8e999760b8 Mon Sep 17 00:00:00 2001 From: Andrei Menzopol Date: Tue, 27 Sep 2022 08:53:28 -0700 Subject: [PATCH] Fix gn includes, spelling, wordlist Signed-off-by: Andrei Menzopol --- .github/.wordlist.txt | 14 ++++++++------ src/platform/nxp/k32w/common/RamStorage.cpp | 2 +- src/platform/nxp/k32w/k32w0/BUILD.gn | 7 +++++++ 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt index e693e22c2850be..62ab49c5e517bd 100644 --- a/.github/.wordlist.txt +++ b/.github/.wordlist.txt @@ -20,7 +20,6 @@ accessor AccountLogin acdbc ack -ACK ACKed ACL ACLs @@ -156,7 +155,6 @@ bootable Bootloader BorderRouterAP bouffalolab -Bouffalolab BRD breakpoint bredr @@ -332,6 +330,7 @@ cxx CY CYW DAC +DACs dadbdcdddedf DAP DAPLINK @@ -449,6 +448,7 @@ dryrun DS duplicative DUT +DUTS DV DVK dynload @@ -596,9 +596,9 @@ GPL GPLv Gradle gradlew +Groupcast GroupId GroupKeyManagement -Groupcast groupKeySecurityPolicy groupKeySetID groupsettings @@ -652,7 +652,6 @@ ignoreQueryImage ihex IlluminanceMeasurement IM -IsInitiator imager imagetool imageUri @@ -695,6 +694,7 @@ ipynb IPython ISCAN isHexString +IsInitiator isLowerCase isUpperCase itemName @@ -990,6 +990,7 @@ PAAs PacketBuffer PAI PairDevice +PAIs PAKE palletsprojects pankore @@ -1376,13 +1377,14 @@ uint ULA UNBLUR uncommissioned +Unencrypted unfocus Unicast UniFlash UnitLocalization -Unencrypted unpair unprovisioned +Unsecure untrusted updateAvailable updateNotAvailable @@ -1400,7 +1402,6 @@ userConsentState userguide USERINTERFACE UserLabel -Unsecure usermod usr UTF @@ -1419,6 +1420,7 @@ ver Verifier Verifiers VID +vids virtualenv visualstudio vlatest diff --git a/src/platform/nxp/k32w/common/RamStorage.cpp b/src/platform/nxp/k32w/common/RamStorage.cpp index 2504de96a7cda4..31834671e4baf0 100644 --- a/src/platform/nxp/k32w/common/RamStorage.cpp +++ b/src/platform/nxp/k32w/common/RamStorage.cpp @@ -61,7 +61,7 @@ CHIP_ERROR RamStorage::Write(uint16_t aKey, const uint8_t* aValue, uint16_t aVal CHIP_ERROR err; rsError status = RS_ERROR_NONE; - // Delete all occurences of "key" and resize buffer if needed + // Delete all occurrences of "key" and resize buffer if needed // before scheduling writing of new value. ramStorageDelete(sBuffer, aKey, -1); status = ramStorageResize(&sBuffer, aKey, aValue, aValueLength); diff --git a/src/platform/nxp/k32w/k32w0/BUILD.gn b/src/platform/nxp/k32w/k32w0/BUILD.gn index 7c577032249e3d..b63f34dade0723 100644 --- a/src/platform/nxp/k32w/k32w0/BUILD.gn +++ b/src/platform/nxp/k32w/k32w0/BUILD.gn @@ -58,6 +58,13 @@ static_library("k32w0") { "ble_function_mux.c", ] + public = [ + "${chip_root}/src/credentials/DeviceAttestationCredsProvider.h", + "${chip_root}/src/credentials/examples/DeviceAttestationCredsExample.h", + "${chip_root}/src/credentials/examples/ExampleDACs.h", + "${chip_root}/src/credentials/examples/ExamplePAI.h", + ] + if (chip_with_low_power != 0) { sources += [ "LowPowerHooks.cpp",