zephyr/scripts
Erwan Gouriou 93d3a42776 scripts: extract_includes_dts: Remove usage of cell_string yaml attribute
'cell_string' yaml attribute has been introduced in order to
help enforcement of specific string during defines generation.
This adds complexity in understanding script behavior as a black
box and create additional dependency which is not strictly required.

For node specific generation functions (pinctrl and interrupts),
this could be replaced directly by an hardcoded version
(as everyone used the same 'cell_string' anyway).
For extract_cells functions, string could be replaced by extracted
property name. As a consequence, we're now able to generate defines
for properties refering to these controllers via phandle.
For instance, in following node
 	spbtle-rf@0 {
 		compatible = "st,spbtle-rf";
 		reg = <0>;
		reset-gpios = <&gpioa 8 0>;
 	};
We'll be able to generate:
 #define ST_STM32_SPI_...LE_RF_0_RESET_GPIOS_CONTROLLER	"GPIOA"
 #define ST_STM32_SPI_...PBTLE_RF_0_RESET_GPIOS_FLAGS_0		0
 #define ST_STM32_SPI_..._SPBTLE_RF_0_RESET_GPIOS_PIN_0		8

Only impact for this whole change is for NXP clocks which were the
only ones using 'cell_string' attribute with a value different than
the default one.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2018-05-10 10:38:23 -05:00
..
checkpatch scripts: cleanup scripts directory 2018-04-03 09:28:09 -04:00
ci ci: verify author identity 2017-11-24 10:21:53 -05:00
cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
cross_compiler toolchains: fix xtools configurations 2017-10-12 16:27:12 -05:00
dts scripts: extract_includes_dts: Remove usage of cell_string yaml attribute 2018-05-10 10:38:23 -05:00
footprint size_report: Don't assume all paths start with ZEPHYR_BASE 2018-01-29 23:59:16 +05:30
gitlint gitlint: fix check for line_count 2018-01-11 10:48:03 -05:00
kconfig menuconfig: Increase indent and make Unicode more robust 2018-05-09 14:08:00 +02:00
sanity_chk sanitycheck: support skipped tests, enhance device handler 2018-05-08 07:56:18 -04:00
support intel_s1000: scripts: debug, debugserver and flash scripts 2018-05-01 16:46:41 -04:00
.gitignore
check_host_is_ok.py cmake: Give descriptive error to user when cloned with core.autocrlf 2018-01-10 22:12:27 -05:00
check_link_map.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
checkpatch.pl checkpatch: downgrade COMPLEX_MACRO to a warning 2018-05-08 08:56:12 -07:00
checkstack.pl
dir_is_writeable.py cmake: Add function for checking if a directory is write-able 2018-04-27 12:06:02 +02:00
elf_helper.py scripts: Add elf_helper.py 2018-02-06 15:31:16 -08:00
file2hex.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
filter-known-issues.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
gen_alignment_script.py arm: Add app data section alignment constraints 2018-02-06 15:31:16 -08:00
gen_gdt.py cmake: Fix "make VERBOSE=1" 2018-01-10 22:14:53 -05:00
gen_idt.py cmake: Fix "make VERBOSE=1" 2018-01-10 22:14:53 -05:00
gen_kobject_list.py drivers: led: Add system call handler support 2018-05-04 10:07:39 -07:00
gen_mmu_x86.py cmake: Fix "make VERBOSE=1" 2018-01-10 22:14:53 -05:00
gen_offset_header.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
gen_priv_stacks.py scripts: Covert scripts to use elf_helper.py 2018-02-06 15:31:16 -08:00
gen_syscall_header.py gen_syscall_header.py: fix include issue 2018-03-28 20:52:08 -04:00
gen_syscalls.py gen_syscalls.py: fix include issue 2018-03-28 20:52:08 -04:00
parse_syscalls.py scripts: parse_syscalls: Multiplatform separators 2018-01-11 10:48:56 -05:00
process_gperf.py arm: Generate privileged stacks 2018-02-06 15:31:16 -08:00
py2-requirements.txt doc: install pyocd using pip2 2018-02-06 19:40:42 -05:00
qemu-machine-hack.py scripts: python: cleanup script and fix PEP8 issues 2018-01-03 19:03:41 -05:00
requirements.txt sanitycheck: we need pyserial for sanitycheck 2018-05-08 07:56:18 -04:00
sanitycheck sanitycheck: support skipped tests, enhance device handler 2018-05-08 07:56:18 -04:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
tags.sh scripts: fix tags.sh to current source tree 2018-01-15 18:30:28 -05:00
waitpid sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c. 2017-04-11 16:53:41 +00:00