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

ZAP Tool generates not compiling Basic Cluster when enabling all Attributes #138

Closed
ghost opened this issue Apr 23, 2021 · 2 comments
Closed
Assignees

Comments

@ghost
Copy link

ghost commented Apr 23, 2021

I have enabled all attributes from the Basic Cluster, because they are required by the TE2 test spec.

Screen Shot 2021-04-23 at 09 29 25

This is the resulting zap file: config.zap.txt

When compiling I get the following error:

../src/gen/endpoint_config.h:271:29: error: exponent has no digits
  271 | #define ATTRIBUTE_MAX_SIZE (273ERROR : PartNumber, invalid size, char_stringERROR : ProductURL, invalid size, char_string643212)
      | 

And in endpoint_config.h.

// Total size of singleton attributes
#define ATTRIBUTE_SINGLETONS_SIZE                                                                                                  \
    (270ERROR : PartNumber, invalid size, char_stringERROR : ProductURL, invalid size, char_string64321)

// Total size of attribute storage
#define ATTRIBUTE_MAX_SIZE (273ERROR : PartNumber, invalid size, char_stringERROR : ProductURL, invalid size, char_string643212)
@paulr34 paulr34 self-assigned this Apr 13, 2022
@paulr34
Copy link
Collaborator

paulr34 commented Apr 13, 2022

@eve-cxrp I tried reproducing this with all of the attributes enabled but the app built fine. Could you provide more details on how I can reproduce?

@ghost
Copy link
Author

ghost commented Apr 19, 2022

Haha, well I guess this issue is deprecated... Since it was reported eons ago 😉.

@paulr34 paulr34 closed this as completed Apr 19, 2022
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

No branches or pull requests

1 participant