cpu/esp*: remove dependencies on GNRC for ESP network device drivers#12967
cpu/esp*: remove dependencies on GNRC for ESP network device drivers#12967benpicco merged 8 commits intoRIOT-OS:masterfrom
Conversation
|
What's with the GNRC dependencies in the driver code? |
|
@miri64 The fix can be tested without having the hardware. If the compilations succeed, there is no further dependency on I hope it is Ok, that I'm pushing another very small fix related to lwip with this PR. The call of |
Are there any? Hm, I will check again, but the compilations didn't complain. |
|
Indeed, when |
|
Could it happen that |
|
I suggest to put the |
|
|
Hm, es simple |
Yepp as a quick-fix this is also acceptable. However, I think in the long run the device / network interface initialization should be unified across all devices. |
|
Rather use |
I was a bit unsure whether Do you think that such a change would be good for this PR? I can do it. |
To be honest, I don't remember for what porpose the network devices have this |
The only other SoC-network device which has the init code not in |
I will do it in that way. The longer I'm crawling through |
|
I have removed the |
Mostly historical reasons. ^^" Hopefully, this will be a bit cleaner after @jia200x's rework :-) |
|
@miri64 have your comments been addressed? |
With this I end up with an empty (No IP in |
Which ones are you referring to? From what I can see above, I'd say yes. |
Yes. The tests are compilation tests only to prove that gnrc modules are not enabled if one of these netdev drivers is enabled. |
|
Alright, then I'd say everything works as expected. |
Yes, because it is not rebased onto a version with merged PR #12998. |
0cd199d to
fc09a1a
Compare
|
@benpicco Please wait, I just squashed and pushed a wrong branch. I had cherry picks from other PR in my branch that were merged in the meantime. |
fc09a1a to
208174a
Compare
|
@benpicco I have rebased and squashed. Everything is fine now. |
benpicco
left a comment
There was a problem hiding this comment.
Changes look good and a quick test showed no regressions.
|
@benpicco Thanks for reviewing, testing and merging. |
Contribution description
This PR removes the dependencies of ESP network device drivers on GNRC.
Testing procedure
The following compilations should still succeed:
esp_eth:make BOARD=esp32-olimex-evb -C tests/shellesp_now:make BOARD=esp32-wroom-32 -C tests/lwipesp_wifi:USEMODULE=esp_wifi make BOARD=esp32-wroom-32 -C tests/lwipIssues/PRs references
Fixes #12964
Prerequisite for PR #12931