zephyr/scripts
Ulf Magnusson 5c67ebe4a8 scripts/dts: Clean up Bindings.bindings()
Some more work will be done here later (yaml_list could be replaced by a
few plain variables, for example), but this is a start:

 - Extract the compat string from the 'compatible:' line directly in the
   regex, instead of separately

 - Flatten the code, turning

     if a:
       ...
       if b:
         ...
         if c:
           ...

   into

     if not a:
        continue

     ...

     if not b:
        continue

     ...

     if not c:
        continue

     ...

 - Add some comments

 - Use clearer naming

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-02-08 22:57:05 -06:00
..
checkpatch
ci ci: run_ci.sh: make script run locally 2019-02-01 19:04:55 -05:00
coccinelle
cross_compiler
dts scripts/dts: Clean up Bindings.bindings() 2019-02-08 22:57:05 -06:00
footprint
gitlint
kconfig doc: fix misspelling in kconfig doc 2019-02-08 16:33:09 -06:00
sanity_chk
support
west_commands west: sign: Convert FLASH_WRITE_BLOCK_SIZE to DT_ 2019-02-08 22:39:07 -06:00
.gitignore
check_link_map.py
checkpatch.pl userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
checkstack.pl
coccicheck scripts: coccicheck: Add support for SPFLAGS 2019-02-07 08:12:20 -05:00
dir_is_writeable.py
elf_helper.py
file2hex.py
filter-known-issues.py
gen_app_partitions.py gen_app_partitions: add library support 2019-02-08 07:04:30 -05:00
gen_cfb_font_header.py
gen_gcov_files.py
gen_gdt.py
gen_idt.py
gen_kobject_list.py
gen_mmu_x86.py gen_mmu_x86: remove unused function 2019-02-06 14:34:20 -08:00
gen_offset_header.py
gen_priv_stacks.py
gen_relocate_app.py
gen_syscall_header.py
gen_syscalls.py
mergehex.py
parse_syscalls.py
process_gperf.py
qemu-machine-hack.py
requirements.txt
sanitycheck sanitycheck: various fixes for device testing 2019-02-08 08:08:32 -05:00
spelling.txt
subfolder_list.py
tags.sh
valgrind.supp
waitpid
west-commands.yml scripts: west_commands: add sign command 2019-02-07 08:44:19 -05:00
yaml_to_cmake.py CMake/Kconfig: CMake and Kconfig build integration 2019-02-08 22:47:02 -05:00