Skip to content
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

boards/esp32: cleanup CI compilation for esp_wifi_enterprise #18218

Merged

Conversation

gschorcht
Copy link
Contributor

Contribution description

This PR is a cleanup of the CI compilation of optional ESP module esp_wifi_enterprise.

In the board definition of esp32_wrover_kit, default values for ESP_WIFI_EAP_USER and ESP_WIFI_EAP_PASS had to be defined because this board was used in the CI to compile the optional module esp_wifi_enterprise (PR #17314).

Now where the CI compilation for the esp_wifi_enterprise module is realized by an external board definition esp32-ci, these default values should be removed from esp32_wrover_kit to let the compilation fail if the user did not define these required variables. Instead, the variables are defined for the CI compilation in Makefile.include of external board definition esp32-ci.

Testing procedure

  1. GreenCI
  2. USEMODULE=esp_wifi_enterprise BOARD=esp32-wrover-kit make -j8 -C examples/gnrc_minimal should fail.

Issues/PRs references

Cleanup of PR #17314

In the board definition of `esp32_wrover_kit` default values for `ESP_WIFI_EAP_USER` and `ESP_WIFI_EAP_PASS` had to be defined because this board was used in the CI to compile the optional module `esp_wifi_enterprise`. Now that the CI compilation for the `esp_wifi_enterprise` module is realized by an external board definition `esp32-ci`, these default values should be removed to make the compilation fail if the user did not define these variables.
`ESP_WIFI_EAP_USER` and `ESP_WIFI_EAP_PASS` have to be defined because this board is used in the CI to compile the optional module `esp_wifi_enterprise`.
@github-actions github-actions bot added Area: boards Area: Board ports Area: tests Area: tests and testing framework labels Jun 16, 2022
@gschorcht gschorcht added Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jun 16, 2022
@gschorcht gschorcht force-pushed the boards/esp32/cleanup_ci_compilation branch from 81bdd9d to 3414629 Compare June 16, 2022 12:31
@gschorcht gschorcht force-pushed the boards/esp32/cleanup_ci_compilation branch from c988816 to 3414629 Compare June 16, 2022 13:52
@benpicco benpicco merged commit 1638606 into RIOT-OS:master Jun 19, 2022
@gschorcht
Copy link
Contributor Author

@benpicco Thanks for reviewing and merging.

@gschorcht gschorcht deleted the boards/esp32/cleanup_ci_compilation branch June 20, 2022 16:52
@chrysn chrysn added this to the Release 2022.07 milestone Aug 25, 2022
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: 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 Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants