zephyr/scripts
Grzegorz Swiderski 64bb8b6796 scripts: kconfig: Add hex variants of arithmetic functions
Functions like `add` and `sub` can only return base 10 integers, which
means they can't really be used to define Kconfig symbols of type `hex`.

For the same reason, there already exist pairs of devicetree functions
named e.g., `dt_node_reg_addr_(int|hex)` after different return types.

Introduce `add_hex`, `sub_hex`, and friends.

To avoid confusion, it should be possible for those new functions to
accept arguments in base 16 as well. It's actually easier to let all
arithmetic functions take their inputs in "any" base, by leveraging
Python's built-in: `int(..., base=0)`.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-06-17 16:09:41 +02:00
..
build scripts: gen_app_partitions: only parse known arguments 2025-06-11 16:10:53 -07:00
checkpatch
ci scripts: ci: Add CI bindings style checker 2025-06-17 16:03:54 +02:00
coccinelle
coredump
dts devicetree: Enhance DT_ENUM_HAS_VALUE macro for arrays 2025-06-12 11:44:46 +02:00
footprint boards: max10/nios2: remove remaining boards/socs 2025-05-15 20:01:05 -04:00
generate_usb_vif
gitlint
kconfig scripts: kconfig: Add hex variants of arithmetic functions 2025-06-17 16:09:41 +02:00
logging/dictionary scripts: logging: dictionary: log_parser: Fix linter issues 2025-06-09 08:55:14 +02:00
native_simulator native_simulator: Get latest from upstream 2025-05-12 19:20:37 +02:00
net
profiling
pylib twister: Minor quarantine fixes 2025-06-10 10:22:51 -04:00
pylint/checkers
release
ruff
schemas scripts: hwm_v2: add full_name property for archs 2025-06-06 10:29:44 +02:00
tests twister: Minor quarantine fixes 2025-06-10 10:22:51 -04:00
tracing scripts: trace_capture_usb: disable tracing on exit 2025-06-17 16:03:44 +02:00
utils scripts: Add bindings style migration script 2025-06-17 16:03:54 +02:00
west_commands west: runners: Add ncs-provision to west flash command 2025-06-11 16:09:05 -07:00
.gitignore
bindings_properties_allowlist.yaml scripts: ci: Add CI bindings style checker 2025-06-17 16:03:54 +02:00
check_maintainers.py
checkpatch.pl
checkstack.pl
coccicheck
dump_bugs_pickle.py
gen_gcov_files.py
get_maintainer.py maintainers: add options to area command 2025-06-10 12:10:40 +02:00
github_helpers.py
list_boards.py scripts: list_boards: Fix linter issues 2025-06-06 11:52:17 +02:00
list_hardware.py scripts: list_hardware: Fix linter issues 2025-06-06 11:52:17 +02:00
list_shields.py shields: doc: allow to indicate supported hw features 2025-05-28 15:33:50 +02:00
make_bugs_pickle.py
requirements-actions.in scripts: ci: add vermin (min python version check) 2025-06-06 08:45:13 +02:00
requirements-actions.txt scripts: ci: add vermin (min python version check) 2025-06-06 08:45:13 +02:00
requirements-base.txt scripts: make sure we do not install vulunerable python packages 2025-03-22 14:03:56 -04:00
requirements-build-test.txt
requirements-compliance.txt scripts: ci: add vermin (min python version check) 2025-06-06 08:45:13 +02:00
requirements-extras.txt scripts: requirements: extras: add spsdk 2025-06-11 16:03:37 -07:00
requirements-run-test.txt scripts: make sure we do not install vulunerable python packages 2025-03-22 14:03:56 -04:00
requirements.txt
series-push-hook.sh
set_assignees.py ci: set_assignee: don't allways pick next area when submitter = assignee 2025-04-23 17:54:38 +02:00
snippets.py
spelling.txt
tags.sh
twister
valgrind.supp
west-commands.yml scripts: add "west gtags" command 2025-03-07 19:57:00 +01:00
zephyr_module.py scripts: zephyr_module.py: Take EXTRA_ZEPHYR_MODULES variable into account 2025-06-09 10:26:54 +01:00