-
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
TE8 fixes #16721
TE8 fixes #16721
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
8aa1728
to
41f223c
Compare
@woody-apple , I think that I accidentally removed your changes (while trying to remove third_party/efr32_sdk/repo) from your forced-push. Please re-add them if needed. Sorry for this. |
PR #16721: Size comparison from 37094b5 to 7d6c9a6 Increases above 0.2%:
Increases (11 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, nrfconnect)
Decreases (5 builds for cc13x2_26x2, k32w)
Full report (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
PR #16721: Size comparison from 3666138 to 0254a54 Increases above 0.2%:
Increases (11 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, nrfconnect)
Decreases (5 builds for cc13x2_26x2, k32w)
Full report (29 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, p6, telink)
|
PR #16721: Size comparison from 3666138 to 33c5084 Increases above 0.2%:
Increases (11 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, nrfconnect)
Decreases (5 builds for cc13x2_26x2, k32w)
Full report (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
@doru91 Note, still conflicts here :( |
ef4e1c5
to
c9ee3fb
Compare
PR #16721: Size comparison from 2ff1d72 to c9ee3fb Increases above 0.2%:
Increases (7 builds for cc13x2_26x2, k32w, nrfconnect)
Decreases (5 builds for cc13x2_26x2, k32w)
Full report (11 builds for cc13x2_26x2, k32w, linux, mbed, nrfconnect, telink)
|
PR #16721: Size comparison from e92157a to bceadc2 Increases above 0.2%:
Increases (10 builds for cc13x2_26x2, efr32, k32w, linux, nrfconnect)
Decreases (5 builds for cc13x2_26x2, k32w)
Full report (28 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
PR #16721: Size comparison from 04f1acd to 221ce6e Increases above 0.2%:
Increases (6 builds for cc13x2_26x2, linux, nrfconnect)
Decreases (3 builds for cc13x2_26x2)
Full report (9 builds for cc13x2_26x2, linux, mbed, nrfconnect, telink)
|
12bbd6c
to
708b2ca
Compare
PR #16721: Size comparison from 3034129 to 708b2ca Increases above 0.2%:
Increases (7 builds for cc13x2_26x2, k32w, nrfconnect)
Decreases (5 builds for cc13x2_26x2, k32w)
Full report (14 builds for cc13x2_26x2, k32w, linux, mbed, nrfconnect, p6, telink)
|
OTA * add support for compiling without OTA support. If this happens, then the application is written at address 0 in flash (instead at 0 + 16K - required for SSBL). Also, more space is available for the app in this case; * add detailed README instructions; * increase idle task stack size - that's because writes to the eeprom are done on the idle task; * allow the application to specify the block size for each OTA fragment; * add NXP SDK fixes for fixing eeprom race conditions; * add NXP SDK fix for allowing the processing of OTA blocks of different sizes; * add support for parsing the OTA header; * fix OTA logic such that the application can pace the rate at which new OTA fragments are requested; Tokenizer * add detailed README instructions. Light app/Lock app * enable lock tracking; * schedule OTA/Matter attribute change/Server operations on the Matter task; * avoid checking if thread is provisioned in a busy loop on eeprom - use an event instead; * disable mbedtls error logging (~13K) and instead add error logs in MemConfig.cpp in case mbedtls memory allocations fail; * change task priorities such that the app task has a smaller priority than the Matter one; * enable CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS such that the PBKDF are hard-coded on the device side; * refactor the gn options such that K32W0 module can be easily configured to be attached to a dk different than DK6; * group initialization calls in a single function; * consider the case when WriteConfigValueStr is not called with a NULL-terminated string. * refactor board initialization code; * allow building k32w light application with ota support - disable ble for the moment, until a size-optimized SDK is released; * fix NFC compilation error is BLE is disabled. Signed-off-by: Doru Gucea <[email protected]>
PR #16721: Size comparison from dcca243 to 4279f6d Increases above 0.2%:
Increases (9 builds for cc13x2_26x2, efr32, k32w, nrfconnect)
Decreases (5 builds for cc13x2_26x2, k32w)
Full report (19 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
@woody-apple, solved. |
OTA * add support for compiling without OTA support. If this happens, then the application is written at address 0 in flash (instead at 0 + 16K - required for SSBL). Also, more space is available for the app in this case; * add detailed README instructions; * increase idle task stack size - that's because writes to the eeprom are done on the idle task; * allow the application to specify the block size for each OTA fragment; * add NXP SDK fixes for fixing eeprom race conditions; * add NXP SDK fix for allowing the processing of OTA blocks of different sizes; * add support for parsing the OTA header; * fix OTA logic such that the application can pace the rate at which new OTA fragments are requested; Tokenizer * add detailed README instructions. Light app/Lock app * enable lock tracking; * schedule OTA/Matter attribute change/Server operations on the Matter task; * avoid checking if thread is provisioned in a busy loop on eeprom - use an event instead; * disable mbedtls error logging (~13K) and instead add error logs in MemConfig.cpp in case mbedtls memory allocations fail; * change task priorities such that the app task has a smaller priority than the Matter one; * enable CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS such that the PBKDF are hard-coded on the device side; * refactor the gn options such that K32W0 module can be easily configured to be attached to a dk different than DK6; * group initialization calls in a single function; * consider the case when WriteConfigValueStr is not called with a NULL-terminated string. * refactor board initialization code; * allow building k32w light application with ota support - disable ble for the moment, until a size-optimized SDK is released; * fix NFC compilation error is BLE is disabled. Signed-off-by: Doru Gucea <[email protected]>
OTA * add support for compiling without OTA support. If this happens, then the application is written at address 0 in flash (instead at 0 + 16K - required for SSBL). Also, more space is available for the app in this case; * add detailed README instructions; * increase idle task stack size - that's because writes to the eeprom are done on the idle task; * allow the application to specify the block size for each OTA fragment; * add NXP SDK fixes for fixing eeprom race conditions; * add NXP SDK fix for allowing the processing of OTA blocks of different sizes; * add support for parsing the OTA header; * fix OTA logic such that the application can pace the rate at which new OTA fragments are requested; Tokenizer * add detailed README instructions. Light app/Lock app * enable lock tracking; * schedule OTA/Matter attribute change/Server operations on the Matter task; * avoid checking if thread is provisioned in a busy loop on eeprom - use an event instead; * disable mbedtls error logging (~13K) and instead add error logs in MemConfig.cpp in case mbedtls memory allocations fail; * change task priorities such that the app task has a smaller priority than the Matter one; * enable CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS such that the PBKDF are hard-coded on the device side; * refactor the gn options such that K32W0 module can be easily configured to be attached to a dk different than DK6; * group initialization calls in a single function; * consider the case when WriteConfigValueStr is not called with a NULL-terminated string. * refactor board initialization code; * allow building k32w light application with ota support - disable ble for the moment, until a size-optimized SDK is released; * fix NFC compilation error is BLE is disabled. Signed-off-by: Doru Gucea <[email protected]>
OTA * add support for compiling without OTA support. If this happens, then the application is written at address 0 in flash (instead at 0 + 16K - required for SSBL). Also, more space is available for the app in this case; * add detailed README instructions; * increase idle task stack size - that's because writes to the eeprom are done on the idle task; * allow the application to specify the block size for each OTA fragment; * add NXP SDK fixes for fixing eeprom race conditions; * add NXP SDK fix for allowing the processing of OTA blocks of different sizes; * add support for parsing the OTA header; * fix OTA logic such that the application can pace the rate at which new OTA fragments are requested; Tokenizer * add detailed README instructions. Light app/Lock app * enable lock tracking; * schedule OTA/Matter attribute change/Server operations on the Matter task; * avoid checking if thread is provisioned in a busy loop on eeprom - use an event instead; * disable mbedtls error logging (~13K) and instead add error logs in MemConfig.cpp in case mbedtls memory allocations fail; * change task priorities such that the app task has a smaller priority than the Matter one; * enable CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS such that the PBKDF are hard-coded on the device side; * refactor the gn options such that K32W0 module can be easily configured to be attached to a dk different than DK6; * group initialization calls in a single function; * consider the case when WriteConfigValueStr is not called with a NULL-terminated string. * refactor board initialization code; * allow building k32w light application with ota support - disable ble for the moment, until a size-optimized SDK is released; * fix NFC compilation error is BLE is disabled. Signed-off-by: Doru Gucea <[email protected]>
Problem
Fixes different issues encountered during TE8 on K32W0 plaform.
Change overview
OTA
application is written at address 0 in flash (instead at 0 + 16K - required
for SSBL). Also, more space is available for the app in this case;
done on the idle task;
sizes;
Tokenizer
Light app/Lock app
event instead;
in case mbedtls memory allocations fail;
Matter one;
hard-coded on the device side;
attached to a dk different than DK6;
string.
Testing
How was this tested? (at least one bullet point required)