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
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
I have a set of components which wants to include SPI settings across them. Only one component will truly activate at a time, but all are available. I rsource them in so that I can use relative pathing to get to a parent folder (i.e. ../Kconfig.spi).
In certain environments, this results in "INFO: Symbol ... defined in multiple locations"
First of all, thank you for reporting this issue! This info statement is caused by recent update of esp-idf-kconfig, in which we started to check if some config options are defined multiple times (see #15242 (comment) for detailed context).
How to get rid of these: in the near future, I'll introduce a way how to manually mark config options which should ignored for this check. I'll notify you once it will be officially released.
Note regarding IF statements and conditioned multiple definition in general: during the parse time, we cannot evaluate any condition (not speaking about general satisfiability of the conditions as an alternative - that can be done, but it is NP-complete problem in general = VERY time consuming) and thus we cannot check whether these conditions truly guarantee mutual exclusion. To play it on the safe side, we decided to report every case of multiple definition that will happen. Unfortunately, practice of using multiple definitions is more widespread than we anticipated, which is the reason we are implementing the aforementioned way how to manually turn this check off.
I hope I answered the situation acceptably, if you have any more question, do not hesitate to ask and thank you for your patience!
A manual marking system would work just fine for me - my use case really need to make sure I'm only truly including it once anyway. I appreciate your time and effort on this!
Answers checklist.
General issue report
I have a set of components which wants to include SPI settings across them. Only one component will truly activate at a time, but all are available. I
rsource
them in so that I can use relative pathing to get to a parent folder (i.e.../Kconfig.spi
).In certain environments, this results in "INFO: Symbol ... defined in multiple locations"
Example project linked here https://bitbucket.org/malachib/playgrou ... /PGESP-69/ exhibits the problem. You can see there are some IF guards there, but the INFO warning persists.
Please advise.
The text was updated successfully, but these errors were encountered: