-
Notifications
You must be signed in to change notification settings - Fork 2.1k
cpu/esp[32, 8266, _common]: Move dependency resolutions to Makefile.dep #13685
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
cpu/esp[32, 8266, _common]: Move dependency resolutions to Makefile.dep #13685
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.
Great job 👍 Looks good from the first view.
I will investigate whether all dependencies and compiler settings are pulled in correctly. The tests in #PR12971 would help now to compare the ESP specific dependencies. I will do it manually for the moment.
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.
The change works as expected.
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.
I have checked all possible compile configurations for ESP specific modules. It works like charm.
@leandrolanzieri What is your time schedule for this PR? From my point of view it looks good and it works as expected. It is very good cleanup. I wish I'd had the idea with the conditionals. BTW, the merge of PR #13365 produces a conflict. It shouldn't be a problem to move
from |
It would be nice to have this before the soft feature freeze, but we need #12994 to get rid of
I'll rebase |
Yeah, but this was just for user convenience. IMHO, we could it for the ESPs. If an application developer enables more than one network interface, he should know that he also has to increase the number of |
0fada52
to
3517151
Compare
@gschorcht rebased to solve the conflict with
What do you mean? |
IMHO, we could remove it for the ESPs 😎 |
Please squash. |
572f8b0
to
45bc750
Compare
45bc750
to
58320c9
Compare
@gschorcht squashed. I renamed the commit that removes the increase of interfaces. |
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. Works as expected.
@leandrolanzieri Thanks for this contribution. |
@gschorcht thanks a lot for reviewing and testing |
Contribution description
This PR is an attempt to cleanup the dependency resolution for ESP CPUs. The main idea is to make use of GNU Make conditional expansion to check for
USEMODULE
variable in Makefile.include files, so the expansion is delayed until after the dependency resolution occurs.Currently this depends on #12994, so we do not have to deal with
GNRC_NETIF_NUMOF
in Makefiles. I suggest reviewing this commit per commit.Testing procedure
Issues/PRs references
Part of #9913
Depends on #12994