-
Notifications
You must be signed in to change notification settings - Fork 2k
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/esp32: fix provided features and Kconfig for esp_eth #18394
Merged
benpicco
merged 8 commits into
RIOT-OS:master
from
gschorcht:cpu/esp32/fix_kconfig_for_esp_eth
Aug 5, 2022
Merged
cpu/esp32: fix provided features and Kconfig for esp_eth #18394
benpicco
merged 8 commits into
RIOT-OS:master
from
gschorcht:cpu/esp32/fix_kconfig_for_esp_eth
Aug 5, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In fact the ESP32 has no peripheral driver for the ETH interface. Instead, the `esp_eth` netdev driver directly uses the ESP-IDF Ethernet API. This caused compilation problems with Kconfig. Therefore the required feature `periph_eth` is replaced by the feature `esp_eth`.
In fact the ESP32 has no peripheral driver for the ETH interface. Instead, the `esp_eth` netdev driver directly uses the ESP-IDF Ethernet API. This caused compilation problems with Kconfig. Therefore the required feature `periph_eth` is replaced by the feature `esp_eth`.
3ad2d58
to
2347e80
Compare
MrKevinWeiss
approved these changes
Aug 3, 2022
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, we can check murdock output. Works locally. ACK.
@MrKevinWeiss Thanks for reviewing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: boards
Area: Board ports
Area: CI
Area: Continuous Integration of RIOT components
Area: cpu
Area: CPU/MCU ports
Area: Kconfig
Area: Kconfig integration
Area: tests
Area: tests and testing framework
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
Platform: ESP
Platform: This PR/issue effects ESP-based platforms
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contribution description
This PR fixes Kconfig problems for
esp_eth
introduced with PR #17739.In
Makefiles.features
,periph_eth
was defined as provided feature without having a peripheral driver implementation for the ETH interface incpu/esp32/periph
. Instead, theesp_eth
netdev driver directly uses the ESP-IDF Ethernet API. This caused compilation problems with Kconfig. Therefore the required featureperiph_eth
is replaced by the featureesp_eth
andHAS_PERIPH_ETH
is replaced byHAS_ESP_ETH
in Kconfig.Furthermore, the selection of modules in Kconfig was not correct if the module
esp_eth
was used. The reason for this is that the dependencies of modules have changed with the migration to ESP-IDF 4.4.Since no board with the feature
esp_eth
was compiled withTEST_KCONFIG=1
, the problems were not detected by the CI compilation and was only found when investigating the reasons for the failure of the nightly builds. Therefore,esp32-olimex-evb
in.murdock
is set toTEST_KCONFIG_BOARDS_AVAILABLE
.Testing procedure
Use command
to compile. Wihtout this PR, the compilation fails.
Issues/PRs references