Skip to content

Commit

Permalink
Merge branch 'bugfix/save_defconfig_add_menu' into 'master'
Browse files Browse the repository at this point in the history
fix(idf.py): fixed save-defconfig failing due to wrong argument name

See merge request espressif/esp-idf!26617
  • Loading branch information
ESP-Marius committed Oct 22, 2023
2 parents 0049cc6 + 6a3cf1f commit c79dc27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitlab/ci/rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
.patterns-build_system: &patterns-build_system
- "tools/cmake/**/*"
- "tools/kconfig_new/**/*"
- "tools/idf.py"
- "tools/idf_py_actions/**/*"
- "tools/requirements.json"
- "tools/ci/test_build_system*.sh"
- "tools/ci/test_build_system*.py"
Expand Down
4 changes: 2 additions & 2 deletions tools/idf_py_actions/core_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def menuconfig(target_name: str, ctx: Context, args: PropertyDict, style: str) -
args.no_hints = True
build_target(target_name, ctx, args)

def save_defconfig(target_name: str, ctx: Context, args: PropertyDict, menu_labels: bool) -> None:
if menu_labels:
def save_defconfig(target_name: str, ctx: Context, args: PropertyDict, add_menu_labels: bool) -> None:
if add_menu_labels:
os.environ['ESP_IDF_KCONFIG_MIN_LABELS'] = '1'
else:
# unset variable
Expand Down

0 comments on commit c79dc27

Please sign in to comment.