-
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
BIGENDIAN_CPU is not defined in the build system for big-endian builds #7281
Comments
Would definitely vote for the ZCL/ZAP code to use the same constructs found in the underlying CHIP/Matter nlio package. |
@mspang What's the best option here? I'm happy to change the ZCL code to use whatever define is most convenient.... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale issue has been automatically closed. Thank you for your contributions. |
Issue Scrub: Keeping this open, however needs someone to champion this work, moving to Future. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
And easily configurable in the build. Fixes project-chip#7281
And easily configurable in the build. Fixes project-chip#7281
* Ensure we always have our endianness defined. And easily configurable in the build. Fixes #7281 * Address review comment.
* Ensure we always have our endianness defined. And easily configurable in the build. Fixes project-chip#7281 * Address review comment.
Problem
The zcl code in CHIP relies on the BIGENDIAN_CPU define to affect endianness behavior. However, BIGENDIAN_CPU is not defined by default on gnu compilers for bigendian targets.
Proposed Solution
Possible solutions:
The text was updated successfully, but these errors were encountered: