You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The json components contain a cJSON/test.c file that have the main function.
If I have a project with a main function (called in app_main) it may not get called
The json test main will be called instead (it depend on the location of the libs in the LD command)
I think I t is better to exclude test.c in json component.mk
The text was updated successfully, but these errors were encountered:
I understand why that can be frustrating, but cjson is a git submodule in the main esp-idf git repo. If we change the file, we will have to make changes to upstream or maintain our own fork(which is tedious).
It would've been possible to add a src/include directory instead of the whole cjson directory in component.mk but that would still involve making changes upstream.
Do you think you could send a PR to the upstream repo for a fix?
The json components contain a cJSON/test.c file that have the main function.
If I have a project with a main function (called in app_main) it may not get called
The json test main will be called instead (it depend on the location of the libs in the LD command)
I think I t is better to exclude test.c in json component.mk
The text was updated successfully, but these errors were encountered: