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

Update EFR32 SDK from 2.7 to 3.1 #4870

Merged
merged 6 commits into from
Feb 17, 2021

Conversation

jepenven-silabs
Copy link
Contributor

Problem

Cannot update the OpenThread submodule in Chip because EFR32 CI job fails. This is because of the API used in CHIP are older than the one used in OpenThread.

Summary of Changes

Update EFR32 sdk used in CHIP to latest version for future OpenThread update
Fixes #4527
Fixes #4278
Fixes #2596
Fixes #2595

For update :
@tima-q @doru91

@@ -564,61 +592,81 @@ CHIP_ERROR BLEManagerImpl::ConfigureAdvertisingData(void)
snprintf(mDeviceName, sizeof(mDeviceName), "%s%04" PRIX32, CHIP_DEVICE_CONFIG_BLE_DEVICE_NAME_PREFIX, (uint32_t) 0);

mDeviceName[kMaxDeviceNameLength] = 0;
mDeviceNameLength = strlen(mDeviceName);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can do that, though we could also just use the return value of snprintf to compute this...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bzbarsky-apple true, we're planning to optimize our example in the next few days so this will likely get fix.

@jepenven-silabs
Copy link
Contributor Author

@woody-apple or @mspang any idea why Cirque is failing ? I tried looking at the logs but didn't find anything related to my PR in it..

@mspang
Copy link
Contributor

mspang commented Feb 16, 2021

@woody-apple or @mspang any idea why Cirque is failing ? I tried looking at the logs but didn't find anything related to my PR in it..

@yunhanw-google

@tima-q
Copy link
Contributor

tima-q commented Feb 17, 2021

@woody-apple or @mspang any idea why Cirque is failing ? I tried looking at the logs but didn't find anything related to my PR in it..

@yunhanw-google

Cirque is failing because OT updated the naming of binary output folder
I had to do a fix for that as well in PR #4561
scripts/tests/cirque_tests.sh
https://github.com/project-chip/connectedhomeip/pull/4561/files#diff-eb1c33f1e42dcdd34543a23a62d2eea61536684be4295eec7764b53f1ee1f36a

@jepenven-silabs maybe good to take in here as well ?

@jepenven-silabs
Copy link
Contributor Author

@woody-apple , @mspang, @bzbarsky-apple merge ?

@mspang mspang merged commit b37bb35 into project-chip:master Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants