zephyr/scripts
Kumar Gala 062bd0656a scripts/dts: Sort instance IDs by reg addr
Because of how generate defines for instances its possible that we have
a name conflict if the instance ID and reg addr space clash.

For example on qemu_x86 there are current two 'soc-nv-flash' nodes and
one is at reg addr 0, but instance id 1, the other is reg addr 0x1000
and instance id 0.  We'd possibly get this conflict:

For the 'soc-nv-flash' at 0x1000 (instance 0):
	(instance define)
	#define DT_SOC_NV_FLASH_0_BASE_ADDRESS          0x1000

For the 'soc-nv-flash' at 0x0 (instance 1):
	(address define)
	#define DT_SOC_NV_FLASH_0_BASE_ADDRESS          0x0

To deal with this we make sure that the lower reg address is instance 0,
than things work out ok.  To handle this case, if we sort the instance
IDs based on reg addr than if we have something at reg addr 0, it will
also than be an instand ID 0.

The longer term solution will be to deprecated the old defines and
remove the conflict between instance ID defines and normal DT defines.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-06-13 14:11:13 -05:00
..
checkpatch scripts: cleanup scripts directory 2018-04-03 09:28:09 -04:00
ci ci: detect changes to sub-board definitions 2019-04-20 14:14:29 -04:00
coccinelle scripts/coccinelle: Add script for counting identifier length 2019-04-18 12:29:07 -04:00
dts scripts/dts: Sort instance IDs by reg addr 2019-06-13 14:11:13 -05:00
footprint license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
gitlint license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
kconfig kconfig.py: Use messages returned by load_config() and write_config() 2019-06-07 18:20:22 +02:00
sanity_chk scripts/sanitycheck: Precompile test-time regular expressions 2019-04-18 12:21:13 -04:00
support license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
west_commands scripts: west: improve error message on missing cache 2019-06-10 17:46:27 -05:00
.gitignore
check_link_map.py scripts: Fix risky uses of non-raw regex strings in Python scripts 2019-03-28 14:41:32 -05:00
checkpatch.pl dts: import vendor-prefixes.txt from linux kernel 2019-05-22 12:40:20 -04:00
checkstack.pl
coccicheck scripts: coccicheck: Add support for SPFLAGS 2019-02-07 08:12:20 -05:00
dir_is_writeable.py license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
elf_helper.py lib: os: add sys_mutex data type 2019-04-03 13:47:45 -04: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 scripts: Fix risky uses of non-raw regex strings in Python scripts 2019-03-28 14:41:32 -05:00
gen_app_partitions.py scripts: Fix risky uses of non-raw regex strings in Python scripts 2019-03-28 14:41:32 -05:00
gen_cfb_font_header.py subsys: fb: add support for generating CFB font headers at build time 2018-11-28 11:46:00 +01:00
gen_gcov_files.py scripts: gen_gcov_files: report if data capture is not complete 2019-01-29 15:03:38 -05:00
gen_kobject_list.py scripts: gen_kobject_list: Remove redundant parentheses 2019-05-07 08:46:41 -07:00
gen_offset_header.py
gen_priv_stacks.py arch: Rename reserved function names 2019-04-03 17:31:00 -04:00
gen_relocate_app.py scripts: make code relocation work for non-XIP system 2019-05-21 15:28:59 -04:00
gen_syscall_header.py scripts: Remove unnecessary () around if/while conditions in Python 2019-03-26 07:59:59 -05:00
gen_syscalls.py userspace: properly namespace handler functions 2019-03-18 09:23:11 -07:00
mergehex.py scripts: mergehex: Add --overlap argument 2019-05-16 07:16:55 -05:00
parse_syscalls.py userspace: add additional script documentation 2019-03-12 08:37:58 +01:00
process_gperf.py scripts: Remove unnecessary () around if/while conditions in Python 2019-03-26 07:59:59 -05:00
qemu-machine-hack.py license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
requirements.txt requirements.txt: add gcovr 2019-06-07 14:15:16 -07:00
sanitycheck Bluetooth: L2CAP: Move fixed channels to its own section in ROM 2019-05-29 16:31:03 +03: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 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
tags.sh
valgrind.supp valgrind: Add error supression file for POSIX arch 2018-12-21 21:07:18 +01:00
waitpid
west-commands.yml west: Add completion command 2019-05-10 13:08:27 +02:00
zephyr_module.py cmake: zephyr_modules: Add west executable argument 2019-05-03 14:23:09 -04:00