zephyr/cmake
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
..
app cmake: deprecation of board names 2020-03-24 11:45:27 +01:00
backports cmake: Fixed a bug where python 3.8 was not detected on Windows 2019-11-04 14:32:41 +01:00
bintools cmake: Toolchain abstraction: Abstraction of binary tool, strip. 2019-08-02 13:05:59 +02:00
compiler arch: arm: aarch32: Allow selecting compiler instruction set 2020-03-10 17:51:32 +01:00
emu x86: intel64: Split 'locore' and 'main' kernel images for QEMU 2020-01-08 07:49:24 -06:00
flash cmake: flash: Update WEST_DIR path 2020-03-23 17:55:14 +01:00
ide
linker/ld cmake: ld: use linker prefix for undefined symbols 2020-01-07 17:09:38 +01:00
makefile_exports cmake: Add option for exporting build metadata to Make 2020-01-23 15:09:12 -05:00
reports cmake: allow appending dependencies to report targets 2020-01-20 18:35:01 -05:00
toolchain cmake: toolchain: print what we find 2020-03-10 14:53:28 +02:00
usage
util
boards.cmake boards: arm: nrf51_pca10028: rename board to nrf51dk_nrf51422 2020-03-24 11:45:27 +01:00
ccache.cmake
cfb.cmake
dts.cmake scripts: dts: write new gen_defines.py 2020-03-24 10:11:20 -05:00
extensions.cmake extensions.cmake: Replace TEXT_START with ROM_START 2020-01-23 03:22:59 -08:00
extra_flags.cmake cmake: extra_flags: fix EXTRA_CPPFLAGS being applied as macros 2019-12-13 13:23:40 -05:00
gcc-m-cpu.cmake arch: arm64: Support aarch64-gcc compiler 2020-02-01 08:08:43 -05:00
generic_toolchain.cmake cmake: Introduce optional Kconfig for toolchains 2020-01-29 12:22:31 -06:00
git.cmake
hex.cmake
host-tools.cmake cmake: Bump MIN_WEST_VERSION to 0.7.1 2020-03-23 17:55:14 +01:00
kconfig.cmake cmake: Introduce optional Kconfig for toolchains 2020-01-29 12:22:31 -06:00
kobj.cmake build: prevent subsystems.json from being gen 2020-03-17 18:07:54 +02:00
pristine.cmake
python.cmake cmake: require python 3.6 or later 2019-12-18 10:15:45 +01:00
target_toolchain.cmake cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
version.cmake cmake: report extra version (rcX) 2020-02-17 14:34:39 -05:00
zephyr_module.cmake