Skip to content
Permalink
Browse files

guiconfig: Add a graphical configuration interface

This is a graphical configuration interface written in Tkinter. Like
menuconfig.py, it supports showing all symbols (with invisible symbols
in red) and jumping directly to symbols. Symbol values can also be
changed directly from the jump-to dialog.

This interface should feel a lot smoother than menuconfig.py on Windows.

When single-menu mode is enabled, a single menu is shown at a time, like
in the terminal menuconfig. Only this mode distinguishes between symbols
defined with 'config' and symbols defined with 'menuconfig'.

Compatible with both Python 2 and Python 3. Has been tested on X11,
Windows, and macOS.

To avoid having to carry around a bunch of GIFs, the image data is
embedded in guiconfig.py. To use separate GIF files instead, change
_USE_EMBEDDED_IMAGES to False. The image files can be found in
https://github.com/ulfalizer/Kconfiglib/tree/screenshots/guiconfig.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
  • Loading branch information...
ulfalizer authored and nashif committed May 6, 2019
1 parent 6cfc135 commit a1c3cc666053377cb6384c811d4a2721583dfa5c
Showing with 2,319 additions and 0 deletions.
  1. +1 −0 CODEOWNERS
  2. +5 −0 cmake/kconfig.cmake
  3. +2,313 −0 scripts/kconfig/guiconfig.py
@@ -286,6 +286,7 @@
/samples/subsys/power/ @wentongwu @pizi-nordic
/scripts/coccicheck @himanshujha199640 @JuliaLawall
/scripts/coccinelle/ @himanshujha199640 @JuliaLawall
/scripts/kconfig/ @ulfalizer
/scripts/elf_helper.py @andrewboie
/scripts/sanity_chk/expr_parser.py @nashif
/scripts/gen_app_partitions.py @andrewboie
@@ -53,8 +53,13 @@ set(EXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig
${ZEPHYR_BASE}/scripts/kconfig/menuconfig.py
)

set(EXTRA_KCONFIG_TARGET_COMMAND_FOR_guiconfig
${ZEPHYR_BASE}/scripts/kconfig/guiconfig.py
)

foreach(kconfig_target
menuconfig
guiconfig
${EXTRA_KCONFIG_TARGETS}
)
add_custom_target(

0 comments on commit a1c3cc6

Please sign in to comment.
You can’t perform that action at this time.