Tools for Zephyr Kconfig files
Project description
Zephyr KConfig
Various tools/helpers/cli to assist with Zephyr's KConfig
Run / Install
Run via uvx
# always fetches the latest version
uvx --from zepyhr-kconfig --help
Install as a tool (via uv)
# installs the current version
uv tool install zephyr-kconfig
Above also install zkc cli (also accessible via zephyr-kconfig if you have conflict with zkc)
# examples - (zkc is an alias to zephyr-kconfig)
zkc --help
zephyr-kconfig --help
Add to your project
uv add zephyr-kconfig --dev
and then run the cli via
uv run zkc --help
Features
Below examples are assuming you are running the tool globally
Note - uvx does sandboxing (virtualenv) for you so no need to worry
Get info on a KConfig item
# get the description as JSON output for CONFIG_LWM2M_SHELL
uvx zepyhr-kconfig --release 4.3.0 get CONFIG_LWM2M_SHELL
A partial CONFIG spec will get all items that start with the provided input for example CONFIG_LWM2M_ will output all L2M2M config items
Use
--exactto get the info on CONFIG_LWM2M only
Use
--metadatato get some extra fields (such as linenr, menupath etc)
Use
--indent -1to remove any indentation (default is 2)
Get deps on a KConfig item
# get the dependencies for CONFIG_LWM2M_SHELL
uvx zepyhr-kconfig --release 4.3.0 deps CONFIG_LWM2M_SHELL
For above example output would be:
CONFIG_LWM2M && CONFIG_NETWORKING
The input symbol should be exact
Pretty Print KConfig item(s)
# show the description of symbol(s)
uvx zepyhr-kconfig --release 4.3.0 pprint CONFIG_LWM2M_SHELL
Use
--exactto print only one symbol
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zephyr_kconfig-0.2.0.tar.gz.
File metadata
- Download URL: zephyr_kconfig-0.2.0.tar.gz
- Upload date:
- Size: 77.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7304a47fc50636735621c28b575856adfd15fb7fc97a477ca582771e1b584e3
|
|
| MD5 |
2612f7095f3b54ef38eb809edd6470ed
|
|
| BLAKE2b-256 |
f4ca130e13f432cf6332135fbec66b247182a71f27f5eb98e4d60c1adb9d1408
|
Provenance
The following attestation bundles were made for zephyr_kconfig-0.2.0.tar.gz:
Publisher:
publish.yaml on ksachdeva/zephyr-kconfig
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zephyr_kconfig-0.2.0.tar.gz -
Subject digest:
e7304a47fc50636735621c28b575856adfd15fb7fc97a477ca582771e1b584e3 - Sigstore transparency entry: 837810895
- Sigstore integration time:
-
Permalink:
ksachdeva/zephyr-kconfig@ca78f5c9974668b1b600d831c7b34cd1dec0ccf2 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/ksachdeva
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@ca78f5c9974668b1b600d831c7b34cd1dec0ccf2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file zephyr_kconfig-0.2.0-py3-none-any.whl.
File metadata
- Download URL: zephyr_kconfig-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d98289bc766bba0f549f0934ac3b657c7e98fd0e5ba98e9dd2a5b05631a189f5
|
|
| MD5 |
6a4491ac13d5d142407498f002ae4b7e
|
|
| BLAKE2b-256 |
10ead293262a6a672b78fa9380352f011b75ef58ce5bf4dd9535a071579c32ac
|
Provenance
The following attestation bundles were made for zephyr_kconfig-0.2.0-py3-none-any.whl:
Publisher:
publish.yaml on ksachdeva/zephyr-kconfig
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zephyr_kconfig-0.2.0-py3-none-any.whl -
Subject digest:
d98289bc766bba0f549f0934ac3b657c7e98fd0e5ba98e9dd2a5b05631a189f5 - Sigstore transparency entry: 837810957
- Sigstore integration time:
-
Permalink:
ksachdeva/zephyr-kconfig@ca78f5c9974668b1b600d831c7b34cd1dec0ccf2 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/ksachdeva
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@ca78f5c9974668b1b600d831c7b34cd1dec0ccf2 -
Trigger Event:
release
-
Statement type: