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

Pull/k32w adaptation 15.4 #1420

Merged

Conversation

doru91
Copy link
Contributor

@doru91 doru91 commented Jul 2, 2020

This pull-request adds the 15.4 adaptation layer for NXP K32W platform (https://www.nxp.com/products/wireless/thread/k32w061-41-high-performance-secure-and-ultra-low-power-mcu-for-zigbeethread-and-bluetooth-le-5-0-with-built-in-nfc-option:K32W061_41).

Most of the code is taken from OpenWeave and the namespace was changed to Project CHIP.

In the following PRs will add the changes required for the build system and also a demo lock app.

doru91 added 2 commits July 2, 2020 06:40
Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com>
Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com>
@CLAassistant
Copy link

CLAassistant commented Jul 2, 2020

CLA assistant check
All committers have signed the CLA.

Signed-off-by: Doru Gucea <doru-cristian.gucea@nxp.com>
Copy link
Contributor

@woody-apple woody-apple left a comment

Choose a reason for hiding this comment

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

@BroderickCarlin BroderickCarlin merged commit 03a5228 into project-chip:master Jul 2, 2020

namespace nl {
namespace Inet {
class IPAddress;
Copy link
Contributor

Choose a reason for hiding this comment

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

this appears not to be needed by anything in this header. why is it here?

va_start(v, aFormat);

#if K32W_LOG_ENABLED
char formattedMsg[CHIP_DEVICE_CONFIG_LOG_MESSAGE_MAX_SIZE - 1] = { 0 };
Copy link
Contributor

Choose a reason for hiding this comment

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

this near copy of the code above in LogV() is a little unfortunate

DeviceLayer::OnLogOutput();

#endif // NRF_LOG_ENABLED
}

Choose a reason for hiding this comment

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

Should probably remove the NRF names that are not aligned with the K32W names

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will remove the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants