Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[K32W0] SDK 2.6.11 fixes & features #26827

Merged
merged 58 commits into from
Jun 1, 2023
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
c15a4e9
[K32W0] Sync with SDK NCCL change
marius-alex-tache Feb 28, 2023
fd88ac0
[K32W0] Add a flag chip_with_pdm_encryption to disable PDM encryption
tanyue518 Feb 21, 2023
ebe306c
[K32W0] Fix name for OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_…
tanyue518 Feb 24, 2023
ecf2aff
[K32W0] Fix reboot reason bug
tanyue518 Mar 1, 2023
0482361
[K32W0] Change date type for rebootCause, uint8_t is enough
tanyue518 Mar 3, 2023
6681e92
[K32W0] Add stop advertising retry
marius-alex-tache Feb 17, 2023
34b86ff
[K32W0] Add ExitAction to OTATlvProcessor API
marius-alex-tache Feb 8, 2023
7287834
[K32W0] Update OTA SDK usage
marius-alex-tache Feb 13, 2023
c72be30
[K32W0] Add JSON support for custom TLVs
marius-alex-tache Feb 13, 2023
868a8b5
[K32W0] Call ExitAction from TLV processor when all block has been co…
MartinNXP Feb 13, 2023
0107f0f
[K32W0] Update usage of new OTA SDK APIs
MartinNXP Feb 14, 2023
f718c8f
[K32W0] Set custom OTA entry flags
marius-alex-tache Feb 16, 2023
77d2935
[K32W0] Access OTA entry at Init and check OTA status
MartinNXP Feb 14, 2023
f7aceec
[K32W0] Update OTA tool to support SSBL
marius-alex-tache Feb 20, 2023
00f3134
[K32W0] Add example for max entries testing
marius-alex-tache Feb 21, 2023
4475671
[K32W0] Split default processors options
marius-alex-tache Mar 3, 2023
ed61df0
[K32W0] Update README SSBL/PSECT sections
marius-alex-tache Mar 8, 2023
27eeab5
[K32W0] Bring README files up to date
marius-alex-tache Mar 10, 2023
dc2bc0b
[K32W0] Fix chip_crypto_flavour name
marius-alex-tache Mar 13, 2023
ad363d8
[K32W0] Fix readmes for k32w0 apps
mihai-ignat Feb 24, 2023
eb9a135
[K32W0] Update SecLib path in SDK build file
marius-alex-tache Mar 16, 2023
a84b842
[K32W0] Fix typo in README files regarding OTA image tool
marius-alex-tache Mar 16, 2023
47e913a
[K32W0] Extend factory data restore mechanism
marius-alex-tache Mar 14, 2023
148895d
[K32W0] Improve rotating device id
marius-alex-tache Mar 21, 2023
3437b9c
[K32W0] Fix error status for rotating device id getter
marius-alex-tache Mar 24, 2023
7c84b18
[K32W0] Add retry mechanism when OTA is aborted
marius-alex-tache Mar 21, 2023
ff546ac
[K32W0] Add ota_custom_entry_address option
marius-alex-tache Mar 22, 2023
20d34bd
[K32W0] Revert all applied actions upon error
marius-alex-tache Mar 21, 2023
7ff7f58
[K32W0] Add SPIFI_DUAL_MODE_SUPPORT info in README files
marius-alex-tache Mar 23, 2023
a794631
[K32W0] Enclose CheckOtaEntry in OTA flag
marius-alex-tache Apr 7, 2023
5138c78
[K32W0] Enclose factory data backup usage in corresponding flag
marius-alex-tache Apr 10, 2023
74e9ac4
[K32W0] Update SDK in README files
marius-alex-tache Apr 20, 2023
22188ca
[K32W0] Fix DiagnosticDataProvider memory leak
marius-alex-tache Apr 18, 2023
c2bacf3
[K32W0] Automate output binary signing
andrei-menzopol Mar 22, 2023
1765360
[K32W0] Fix chip_crypto_flavor typo
marius-alex-tache May 3, 2023
72839e4
[K32W0] Bump ot-nxp to latest
marius-alex-tache May 3, 2023
52c4f9f
[K32W0] Fix OTA generation tool
marius-alex-tache May 4, 2023
80571bb
[K32W0] Bump ot-nxp to latest
marius-alex-tache May 4, 2023
fc4f325
[K32W0] Sync scripts and generated data with development
marius-alex-tache May 5, 2023
969f5bc
[K32W0] Bump ot-nxp to latest
marius-alex-tache May 10, 2023
a1cfda5
Restyled by whitespace
restyled-commits May 25, 2023
039180b
Restyled by clang-format
restyled-commits May 25, 2023
ecc15d2
Restyled by gn
restyled-commits May 25, 2023
d58ae24
Restyled by prettier-markdown
restyled-commits May 25, 2023
1cfe6c7
Restyled by shellharden
restyled-commits May 25, 2023
bc4e9cc
Restyled by shfmt
restyled-commits May 25, 2023
2fe0423
Restyled by autopep8
restyled-commits May 25, 2023
0d563e1
Restyled by isort
restyled-commits May 25, 2023
11e237d
[K32W0] Fix spell check
marius-alex-tache May 25, 2023
a7ca6dc
[K32W0] Remove some binary examples (not used)
marius-alex-tache May 25, 2023
151a799
[K32W0] Fix some lint errors
marius-alex-tache May 25, 2023
ac854f5
[K32W0] Update workflow example yaml to latest
marius-alex-tache May 25, 2023
5339dcb
Restyled by prettier-markdown
restyled-commits May 25, 2023
ca2a3fc
[K32W0] Fix script issues
marius-alex-tache May 29, 2023
7111cd3
Restyled by autopep8
restyled-commits May 29, 2023
d248b24
Restyled by isort
restyled-commits May 29, 2023
e5e6714
[K32W0] Add PDM ID base value for apps
marius-alex-tache Jan 18, 2023
df7dec3
Restyled by clang-format
restyled-commits May 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[K32W0] Add a flag chip_with_pdm_encryption to disable PDM encryption
tanyue518 authored and marius-alex-tache committed May 30, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit fd88ac01d067b58a7ec17b3dc692b4bab9d8d39b
9 changes: 8 additions & 1 deletion third_party/nxp/k32w0_sdk/k32w0_sdk.gni
Original file line number Diff line number Diff line change
@@ -44,6 +44,7 @@ declare_args() {
chip_crypto_flavor = "NXP-Ultrafast-P256"
chip_reduce_ssbl_size = false
chip_enable_ota_default_processors = 1
chip_with_pdm_encryption=1
}

assert(k32w0_sdk_root != "", "k32w0_sdk_root must be specified")
@@ -126,6 +127,7 @@ template("k32w0_sdk") {
print("FRO32k: ", use_fro_32k)
print("low power: ", chip_with_low_power)
print("OTA default processors: ", chip_enable_ota_default_processors)
print("PDM Encryption: ", chip_with_pdm_encryption)

if (chip_with_low_power == 1 && chip_logging == true) {
print(
@@ -272,7 +274,6 @@ template("k32w0_sdk") {
"gExternalFlashIsCiphered_d=1",
"PDM_USE_DYNAMIC_MEMORY=1",
"PDM_SAVE_IDLE=1",
"PDM_ENCRYPTION=1",
"gBootData_None_c=1",
"PROGRAM_PAGE_SZ=256",
"configFRTOS_MEMORY_SCHEME=4",
@@ -316,6 +317,12 @@ template("k32w0_sdk") {
defines += [ "gClkUseFro32K=0" ]
}

if (chip_with_pdm_encryption == 1) {
defines += [ "PDM_ENCRYPTION=1" ]
} else {
defines += [ "PDM_ENCRYPTION=0" ]
}

if (chip_mdns == "platform") {
defines += [
"OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE=1",