-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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] Add platform changes and features #22896
Conversation
PR #22896: Size comparison from f2cd15f to 674e9cf Increases (2 builds for cc13x2_26x2, psoc6)
Decreases (9 builds for bl602, bl702, cc13x2_26x2, nrfconnect, psoc6, qpg, telink)
Full report (28 builds for bl602, bl702, cc13x2_26x2, cyw30739, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
@andrei-menzopol this seems to need fixes for CI to pass. |
I'm working on it. Thanks |
@andy31415 Seems to be an issue with restyled when tries to parse a .der certificate. How should I fix this? |
9f8bbc7
to
4f1bfe1
Compare
PR #22896: Size comparison from 33b4fab to d131aef Increases (9 builds for bl602, bl702, cc13x2_26x2, esp32, psoc6, telink)
Decreases (5 builds for bl702, cc13x2_26x2, qpg, telink)
Full report (35 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
Maybe adding excludes in .restyled.yaml will work |
f63b237
to
a1550a9
Compare
Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
9617cea
to
d004b03
Compare
8ce3055
to
6a12c61
Compare
Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
6a12c61
to
2f998fa
Compare
PR #22896: Size comparison from 2a1f9ef to 2f998fa Increases above 0.2%:
Increases (11 builds for bl602, bl702, cc13x2_26x2, esp32, k32w, nrfconnect, psoc6, qpg, telink)
Decreases (2 builds for k32w)
Full report (37 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
* [K32W0] Add platform changes and features * Add SVE2 fixes and other changes and features * Add support for custom certificate policy. * Certificate declaration: set certificate_type to 1 * Add new demo certificates * Add demo certificates allowing testing with two different DUTs * Add custom lighting app ZAP file - e.g.: removed generic and not needed clusters like the ones required for Ethernet/WiFi; removed the optional clusters for an On/Off Device Type; * Add ksdk_mbedlts.c such that we redirect all the AES calls through SecLib.c * Add TestEventTrigger Support * Add functionality for ResetWatermarks() * Add callback for PDM logs * Fix NotifyUpdateApplied - message that is sent when booting for the first time with an OTA image was not being send due to a bug in the PDM read function: ReadConfigValue(...); * Add delay when rebooting after OTA finishes * Improve OTA mechanism * Remove third parameter of ReadConfigValue() and use a TValue& parameter which can be used for extracting the value length * Consume faster the RX buffer * RX buffer should be processed with high priority because: * 15.4 packets are consumed on Thread task; * Thread task has a higher priority than the Matter one (3 > 2) * Fix Low Power * fix 15.4 warm-up time: before this commit calibration time also included the time required for attaching to the Thread network This led to a large warm-up value that blocked some 15.4 operations Fix this by including in the warm-up time only the 15.4 radio initialization time * fix the warm-up initial value to avoid any conflicts * fix possible overflow in reading timestamp values * Make sure that all the logs are disabled when an application is compiled with low-power support; logging can interference with LP timings and break functionality; * Fix time support for Matter * using FreeRTOS timers (based on FreeRTOS tickets) is inaccurate and leads to time drifting * use OT Timers API (Wtimer-based) for getting us/ms timestamps * Fix ExtractPubkeyFromX509Cert in CHIPCryptoPALTinyCrypt.cpp * Fix BLE advertising interval + issue warning if the peer doesn't support 2Mbps * Fix Diagnostic Data Provider * Fix OnOff attribute persistence over hw reset * Fix compilation issue for lock-app * Disable by default on lighting-app BLE Set Phy Req to 2M to be extra cautious during interops * Update readme files Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com> Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Fix gn includes, spelling, wordlist Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Update ot-nxp submodule Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Fix gn includes, exclude certs from restyle, fix messaging readme Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Restyled by whitespace * Restyled by clang-format * Restyled by gn * Restyled by prettier-markdown * Restyled by shellharden * Restyled by shfmt * Restyled by autopep8 * Fix low-power build Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Restyled by clang-format * Fix SecLib compile issue Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Restyled by clang-format * Update worflows K32W0 examples yaml Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Update docker version, expected gn gen Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Hotfix nxp shell build Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com> Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> Co-authored-by: Restyled.io <commits@restyled.io>
* [K32W0] Add platform changes and features * Add SVE2 fixes and other changes and features * Add support for custom certificate policy. * Certificate declaration: set certificate_type to 1 * Add new demo certificates * Add demo certificates allowing testing with two different DUTs * Add custom lighting app ZAP file - e.g.: removed generic and not needed clusters like the ones required for Ethernet/WiFi; removed the optional clusters for an On/Off Device Type; * Add ksdk_mbedlts.c such that we redirect all the AES calls through SecLib.c * Add TestEventTrigger Support * Add functionality for ResetWatermarks() * Add callback for PDM logs * Fix NotifyUpdateApplied - message that is sent when booting for the first time with an OTA image was not being send due to a bug in the PDM read function: ReadConfigValue(...); * Add delay when rebooting after OTA finishes * Improve OTA mechanism * Remove third parameter of ReadConfigValue() and use a TValue& parameter which can be used for extracting the value length * Consume faster the RX buffer * RX buffer should be processed with high priority because: * 15.4 packets are consumed on Thread task; * Thread task has a higher priority than the Matter one (3 > 2) * Fix Low Power * fix 15.4 warm-up time: before this commit calibration time also included the time required for attaching to the Thread network This led to a large warm-up value that blocked some 15.4 operations Fix this by including in the warm-up time only the 15.4 radio initialization time * fix the warm-up initial value to avoid any conflicts * fix possible overflow in reading timestamp values * Make sure that all the logs are disabled when an application is compiled with low-power support; logging can interference with LP timings and break functionality; * Fix time support for Matter * using FreeRTOS timers (based on FreeRTOS tickets) is inaccurate and leads to time drifting * use OT Timers API (Wtimer-based) for getting us/ms timestamps * Fix ExtractPubkeyFromX509Cert in CHIPCryptoPALTinyCrypt.cpp * Fix BLE advertising interval + issue warning if the peer doesn't support 2Mbps * Fix Diagnostic Data Provider * Fix OnOff attribute persistence over hw reset * Fix compilation issue for lock-app * Disable by default on lighting-app BLE Set Phy Req to 2M to be extra cautious during interops * Update readme files Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com> Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Fix gn includes, spelling, wordlist Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Update ot-nxp submodule Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Fix gn includes, exclude certs from restyle, fix messaging readme Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Restyled by whitespace * Restyled by clang-format * Restyled by gn * Restyled by prettier-markdown * Restyled by shellharden * Restyled by shfmt * Restyled by autopep8 * Fix low-power build Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Restyled by clang-format * Fix SecLib compile issue Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Restyled by clang-format * Update worflows K32W0 examples yaml Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Update docker version, expected gn gen Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Hotfix nxp shell build Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com> Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> Co-authored-by: Restyled.io <commits@restyled.io>
* [K32W0] Add platform changes and features * Add SVE2 fixes and other changes and features * Add support for custom certificate policy. * Certificate declaration: set certificate_type to 1 * Add new demo certificates * Add demo certificates allowing testing with two different DUTs * Add custom lighting app ZAP file - e.g.: removed generic and not needed clusters like the ones required for Ethernet/WiFi; removed the optional clusters for an On/Off Device Type; * Add ksdk_mbedlts.c such that we redirect all the AES calls through SecLib.c * Add TestEventTrigger Support * Add functionality for ResetWatermarks() * Add callback for PDM logs * Fix NotifyUpdateApplied - message that is sent when booting for the first time with an OTA image was not being send due to a bug in the PDM read function: ReadConfigValue(...); * Add delay when rebooting after OTA finishes * Improve OTA mechanism * Remove third parameter of ReadConfigValue() and use a TValue& parameter which can be used for extracting the value length * Consume faster the RX buffer * RX buffer should be processed with high priority because: * 15.4 packets are consumed on Thread task; * Thread task has a higher priority than the Matter one (3 > 2) * Fix Low Power * fix 15.4 warm-up time: before this commit calibration time also included the time required for attaching to the Thread network This led to a large warm-up value that blocked some 15.4 operations Fix this by including in the warm-up time only the 15.4 radio initialization time * fix the warm-up initial value to avoid any conflicts * fix possible overflow in reading timestamp values * Make sure that all the logs are disabled when an application is compiled with low-power support; logging can interference with LP timings and break functionality; * Fix time support for Matter * using FreeRTOS timers (based on FreeRTOS tickets) is inaccurate and leads to time drifting * use OT Timers API (Wtimer-based) for getting us/ms timestamps * Fix ExtractPubkeyFromX509Cert in CHIPCryptoPALTinyCrypt.cpp * Fix BLE advertising interval + issue warning if the peer doesn't support 2Mbps * Fix Diagnostic Data Provider * Fix OnOff attribute persistence over hw reset * Fix compilation issue for lock-app * Disable by default on lighting-app BLE Set Phy Req to 2M to be extra cautious during interops * Update readme files Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com> Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Fix gn includes, spelling, wordlist Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Update ot-nxp submodule Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Fix gn includes, exclude certs from restyle, fix messaging readme Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Restyled by whitespace * Restyled by clang-format * Restyled by gn * Restyled by prettier-markdown * Restyled by shellharden * Restyled by shfmt * Restyled by autopep8 * Fix low-power build Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Restyled by clang-format * Fix SecLib compile issue Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Restyled by clang-format * Update worflows K32W0 examples yaml Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Update docker version, expected gn gen Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Hotfix nxp shell build Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com> Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> Co-authored-by: Restyled.io <commits@restyled.io> Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com> Signed-off-by: Marius Tache <marius.tache@nxp.com> Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> Co-authored-by: Restyled.io <commits@restyled.io>
This PR adds SVE2 fixes and other changes and features:
Add support for custom certificate policy.
Certificate declaration: set certificate_type to 1
Add new demo certificates
Add demo certificates allowing testing with two different DUTs
Add custom lighting app ZAP file - e.g.: removed generic and not needed clusters like the ones required for Ethernet/WiFi; removed the optional clusters for an On/Off Device Type;
Add ksdk_mbedlts.c such that we redirect all the AES calls through SecLib.c
Add TestEventTrigger Support
Add functionality for ResetWatermarks()
Add callback for PDM logs
Fix NotifyUpdateApplied - message that is sent when booting for the first time with an OTA image was not being send due to a bug in the PDM read function: ReadConfigValue(...);
Add delay when rebooting after OTA finishes
Improve OTA mechanism
Remove third parameter of ReadConfigValue() and use a TValue& parameter which can be used for extracting the value length
Consume faster the RX buffer
RX buffer should be processed with high priority because:
Fix Low Power
Fix time support for Matter
Fix ExtractPubkeyFromX509Cert in CHIPCryptoPALTinyCrypt.cpp
Fix BLE advertising interval + issue warning if the peer doesn't support 2Mbps
Fix Diagnostic Data Provider
Fix OnOff attribute persistence over hw reset
Fix compilation issue for lock-app
Disable by default on lighting-app BLE Set Phy Req to 2M to be extra cautious during interops
Update readme files
Signed-off-by: Doru Gucea doru-cristian.gucea@nxp.com
Signed-off-by: Marius Tache marius.tache@nxp.com
Signed-off-by: Andrei Menzopol andrei.menzopol@nxp.com