-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
mjson: Initial include of package #20129
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.
Maybe add an app.config.test
to check Kconfig (and add Kconfig dependency modelling) ?
0ce6895
to
29f8b11
Compare
Added an |
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.
Looks good, just please add a comment as to why MJSON_ENABLE_MERGE=0
is set.
Not sure if there is more Kconfig dependency to model here.
Since Kconfig is on it's way out, I don't think we need to worry too much about that.
@@ -0,0 +1,5 @@ | |||
MODULE = mjson | |||
|
|||
CFLAGS += -DMJSON_ENABLE_MERGE=0 |
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.
Please add a comment as to why this option is chosen - you can squash directly.
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.
Squashed in a comment
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.
We actually do provide it (well, newlib/picolibc does) but it's a bad idea to use it with our small stacks.
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.
You're right. On the mjson side an include for alloca is missing, that's why it didn't compile for me. I've rephrased the comment a bit to clarify
Are you suggesting to leave out the Kconfig integration here? Or just the |
29f8b11
to
5707240
Compare
I'm just saying don't put too much work into Kconfig when we are going to delete it anyway by the end of the month. |
5707240
to
d196fff
Compare
d196fff
to
2c57052
Compare
CI is not yet happy 😕 |
Looks like you either need to add an |
2c57052
to
385f6ad
Compare
Thanks, completely missed that bit! |
Thanks for adding the final bits @MrKevinWeiss ❤️ |
Contribution description
This PR adds a package for mjson
Testing procedure
A small test application is provided
Issues/PRs references
None