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

idf.py missing target defconfig (IDFGH-1730) #3965

Closed
ShellAddicted opened this issue Aug 26, 2019 · 2 comments
Closed

idf.py missing target defconfig (IDFGH-1730) #3965

ShellAddicted opened this issue Aug 26, 2019 · 2 comments

Comments

@ShellAddicted
Copy link
Contributor

ShellAddicted commented Aug 26, 2019

Environment

  • Hardware: Not relevant
  • IDF version: latest master
    v4.1-dev-58-g02c7c3885
    (HEAD: 02c7c38)
  • Build System: cmake idf.py
  • Compiler version: esp32-2019r1 8.2.0 (not relevant)
  • Operating System: Linux

Problem Description

I'm switching to cmake, I need an equivalent of make defconfig for idf.py
Docs (https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/kconfig.html)
shows the idf.py defconfig command.
but
an Error: No such command "defconfig" occurs.

Expected Behavior

same as make defconfig, sdkconfig.h should be generated

Actual Behavior

an Error occurs, and sdkconfig.h is not created

Steps to repropduce

  1. use get-started/hello_world as template
  2. execute idf.py defconfig
@github-actions github-actions bot changed the title idf.py missing target defconfig idf.py missing target defconfig (IDFGH-1730) Aug 26, 2019
@kumekay
Copy link
Collaborator

kumekay commented Aug 28, 2019

Hi @ShellAddicted ,
Thank you for the issue,
defconfig is not implemented in CMake build system. If you need to generate sdkconfig.h you can use idf.py reconfigure command as the closest equivalent.

We will update documentation to reflect current state.

@Alvin1Zhang
Copy link
Collaborator

@ShellAddicted Thanks for reporting. The fix has been available, feel free to reopen if the issue still happens. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants