[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: fix of a linking problem with _esp_wifi_dev and lwIP (#12215)

Gunar Schorcht notifications at github.com
Thu Sep 12 18:56:21 CEST 2019


### Contribution description

This PR fixes a linking problem that has been introduced with PR #11994. Commit 73552b2c115c2fab1c1dfd92656fa14250e387a6 of PR #11946 which exposed `_esp_wifi_netdev` for `lwip` has been overwritten by an automatic rebase of PR #11997. This PR exposes the `esp_wifi_netdev` for `lwIP` again.

### Testing procedure

Compile `tests/lwip` with following command
```
USEMODULE=esp_wifi make BOARD=esp32-wroom-32 -C tests/lwip
```
Without the PR, this leads to link error:
```
lwip_contrib.a(lwip.o):(.text.lwip_bootstrap+0x0): undefined reference to `_esp_wifi_dev'
```
With the PR, there is no link error. Functionality of this change was already tested with PR #11946.

### Issues/PRs references

Fixes a problem caused by PR #11994.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/12215

-- Commit Summary --

  * cpu/esp32: _esp_wifi_dev exposed for lwIP

-- File Changes --

    M cpu/esp32/esp-wifi/esp_wifi_netdev.c (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/12215.patch
https://github.com/RIOT-OS/RIOT/pull/12215.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12215
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190912/663c8ee6/attachment-0001.htm>


More information about the notifications mailing list