zephyr/scripts
Martí Bolívar dc85edd2e9 scripts: dts: write new gen_defines.py
This is joint work with Kumar Gala (see signed-off-by).

This supports a new devicetree macro syntax coming. It's not really
worth mixing up the old and the new generation scripts into one file,
because:

- we aim to remove support for the old macros at some point, so it
  will be cleaner to start fresh with a new script based on the old one
  that only generates the new syntax

- it will avoid regressions to leave the existing code alone while
  we're moving users to the new names

Keep the existing script by moving it to gen_legacy_defines.py and
changing a few comments and strings around. It's responsible for
generating:

- devicetree.conf: only needed by deprecated kconfigfunctions
- devicetree_legacy_unfixed.h: "old" devicetree_unfixed.h macros

Put a new gen_defines.py in its place. It generates:

- zephyr.dts
- devicetree_unfixed.h in the new syntax

Include devicetree_legacy_unfixed.h from devicetree.h so no DT users
are affected by this change.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-03-24 10:11:20 -05:00
..
checkpatch kernel: rename NANO_ESF 2019-07-25 15:06:58 -07:00
ci ci: github: west: Add a GH workflow to run the west command tests 2020-02-06 08:34:43 -06:00
coccinelle scripts/coccinelle: add k_thread create/define to timeout standardization 2019-10-09 08:38:10 -04:00
dts scripts: dts: write new gen_defines.py 2020-03-24 10:11:20 -05:00
footprint scripts: footprint: Fix pylint warnings 2019-09-14 13:35:08 +08:00
gitlint zephyr_commit_rules.py: Fix pylint warning by simplifying conditional 2019-09-08 22:19:37 -04:00
kconfig edtlib: allow register addr / size to be None 2020-03-24 10:11:20 -05:00
net scripts: net: Clarify and add documentation to README 2020-03-17 13:14:41 +02:00
release scripts: add script for listing closed bugs 2019-10-22 15:11:09 -04:00
sanity_chk boards: arm: nrf51_pca10028: rename board to nrf51dk_nrf51422 2020-03-24 11:45:27 +01:00
support scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
tracing scripts: add script for usb backend to receive tracing data 2020-02-05 23:54:26 -05:00
west_commands build: clean up west build 2020-03-10 14:53:28 +02:00
.gitignore
checkpatch.pl syscalls: Remove references to __syscall_inline 2019-12-09 12:47:15 -05:00
checkstack.pl
coccicheck docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
dir_is_writeable.py global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
file2hex.py file2hex.py: new --gzip-mtime option that defaults to zero + test 2019-04-17 08:27:40 -04:00
filter-known-issues.py filter-known-issues.py: Remove '== True' test 2019-09-08 22:20:20 -04:00
gen_app_partitions.py scripts: Fix random typo'd whitespace 2019-09-07 07:54:17 -04:00
gen_cfb_font_header.py scripts: Fix random typo'd whitespace 2019-09-07 07:54:17 -04:00
gen_gcov_files.py gen_gcov_files.py: Replace bare 'except' with 'except Exception' 2019-09-07 07:58:16 -04:00
gen_kobject_list.py scripts: gen_kobject_list.py cleanup 2020-03-17 20:11:27 +02:00
gen_offset_header.py doc: document python build scripts 2020-01-02 17:09:29 -05:00
gen_relocate_app.py doc: document python build scripts 2020-01-02 17:09:29 -05:00
gen_syscalls.py kernel/userspace: Move syscall_frame field to thread struct 2020-02-08 08:51:04 -05:00
mergehex.py scripts: cmake: move print from python to cmake 2020-01-03 08:20:08 -05:00
parse_syscalls.py scripts: Dynamically add driver subsystems to subsystems list 2020-03-11 17:13:39 +02:00
process_gperf.py doc: fix some missed renames 2020-03-17 20:11:27 +02:00
requirements-base.txt scripts: Bump west version 2020-03-23 17:55:14 +01:00
requirements-build-test.txt scripts/requirements: Split & document requirement.txt 2020-03-19 15:41:08 +01:00
requirements-doc.txt scripts/requirements: Split & document requirement.txt 2020-03-19 15:41:08 +01:00
requirements-extras.txt scripts/requirements: Split & document requirement.txt 2020-03-19 15:41:08 +01:00
requirements-run-test.txt scripts/requirements: Split & document requirement.txt 2020-03-19 15:41:08 +01:00
requirements.txt scripts/requirements: Split & document requirement.txt 2020-03-19 15:41:08 +01:00
sanitycheck sanitycheck: cleanup loading of previous results 2020-03-24 08:11:07 -04:00
series-push-hook.sh scripts: fix path issue in push-hook script 2019-03-13 11:59:38 -05:00
spelling.txt
subfolder_list.py cmake: Encode and decode in UTF-8 in build system 2019-07-18 16:50:08 +02:00
tags.sh scripts: fix tags.sh to current source tree 2018-01-15 18:30:28 -05:00
valgrind.supp lvgl: Suppress memory leak errors detected by valgrind 2019-10-21 12:26:35 -07:00
west-commands.yml west: Add completion command 2019-05-10 13:08:27 +02:00
zephyr_module.py scripts: zephyr_module: hack to match west 0.7 output 2020-02-12 11:37:52 +01:00