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/esp-based: Model features in Kconfig #14223

Merged

Conversation

leandrolanzieri
Copy link
Contributor

Contribution description

This models in Kconfig all the features of the esp8266 and esp32 boards:

  • esp32-heltec-lora32-v2
  • esp32-mh-et-live-minikit
  • esp32-olimex-evb
  • esp32-ttgo-t-beam
  • esp32-wemos-lolin-d32-pro
  • esp32-wroom-32
  • esp32-wrover-kit
  • esp8266-esp-12x
  • esp8266-olimex-mod
  • esp8266-sparkfun-thing

Testing procedure

  • Check the symbol organization
  • Green CI
  • tests/kconfig_features should pass for all boards. Which means that make info-features-provided and make dependency-debug-features-provided-kconfig should return the same list.

Issues/PRs references

Part of #14148

@leandrolanzieri leandrolanzieri added Type: new feature The issue requests / The PR implemements a new feature for RIOT Area: Kconfig Area: Kconfig integration labels Jun 8, 2020
@leandrolanzieri leandrolanzieri requested a review from gschorcht June 8, 2020 10:11
@leandrolanzieri leandrolanzieri force-pushed the pr/kconfig/esp_boards_symbols branch from 22ebcc8 to 1dbb1c8 Compare June 17, 2020 09:13
@leandrolanzieri
Copy link
Contributor Author

Adapted to the new symbol classification

@leandrolanzieri leandrolanzieri force-pushed the pr/kconfig/esp_boards_symbols branch from 1dbb1c8 to ef19441 Compare June 22, 2020 12:35
MrKevinWeiss
MrKevinWeiss previously approved these changes Jun 22, 2020
Copy link
Contributor

@MrKevinWeiss MrKevinWeiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, lets see what murdock says. ACK!

@MrKevinWeiss MrKevinWeiss added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jun 22, 2020
@MrKevinWeiss MrKevinWeiss dismissed their stale review June 22, 2020 13:39

CPU_MODEL issues

@MrKevinWeiss
Copy link
Contributor

I guess the correct way to move forward is to set the CPU_MODEL correctly in the makefiles. It appears that CPU_MODEL is not being used for anything and should not change normal operation in RIOT.

@leandrolanzieri
Copy link
Contributor Author

I guess the correct way to move forward is to set the CPU_MODEL correctly in the makefiles. It appears that CPU_MODEL is not being used for anything and should not change normal operation in RIOT.

Done

@leandrolanzieri leandrolanzieri added this to the Release 2020.07 milestone Jun 22, 2020
Copy link
Contributor

@MrKevinWeiss MrKevinWeiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better, I ACK! If anyone has reservations speak up now, I don't want to leave this too long and it always needing rebasing.

@MrKevinWeiss
Copy link
Contributor

Please squash

@gschorcht
Copy link
Contributor

gschorcht commented Jul 7, 2020

Or shall we apply the small cleanup from PR #14117 here as well?

Would this be to cherry-pick e74e062 ? Is it OK without the rest of the PR?

Yes and yes.

>All of them are features of each ESP SoC and have not to be configured by the
board definition.

Signed-off-by: Jean Pierre Dudey <[email protected]>
Co-authored-by: Gunar Schorcht <[email protected]>
@leandrolanzieri leandrolanzieri force-pushed the pr/kconfig/esp_boards_symbols branch from 0cfe648 to 887ed43 Compare July 7, 2020 14:03
@leandrolanzieri
Copy link
Contributor Author

@gschorcht done. I added the commit that moves the features. #14117 will still need to modify the Kconfig to add the definition and select esp_wifi_ap feature

Copy link
Contributor

@gschorcht gschorcht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now.

@leandrolanzieri leandrolanzieri force-pushed the pr/kconfig/esp_boards_symbols branch from 887ed43 to c6eaae9 Compare July 7, 2020 14:35
@leandrolanzieri leandrolanzieri added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jul 7, 2020
@gschorcht gschorcht merged commit f320638 into RIOT-OS:master Jul 7, 2020
@gschorcht
Copy link
Contributor

@leandrolanzieri Thanks for this contribution.

@leandrolanzieri
Copy link
Contributor Author

Thanks for the review and the suggestions!

@leandrolanzieri leandrolanzieri deleted the pr/kconfig/esp_boards_symbols branch July 8, 2020 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Kconfig Area: Kconfig integration CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: new feature The issue requests / The PR implemements a new feature for RIOT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants