mjson: Initial include of package#20129
Conversation
aabadie
left a comment
There was a problem hiding this comment.
Maybe add an app.config.test to check Kconfig (and add Kconfig dependency modelling) ?
0ce6895 to
29f8b11
Compare
Added an |
benpicco
left a comment
There was a problem hiding this comment.
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.
Please add a comment as to why this option is chosen - you can squash directly.
There was a problem hiding this comment.
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.
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