zephyr/scripts
Kumar Gala 87915cd36f dts: stop generating CONFIG_FLASH_LOAD_{OFFSET,SIZE}
As a step to completing removing use of Kconfig defines in dts files we
need to change how we configure/set CONFIG_FLASH_LOAD_{OFFSET,SIZE}.

Previously we would set them based on how the chosen property
'zephyr,code-partition' was set to.  If 'zephyr,code-partition' wasn't
set we would default the values to 0.  We had some generic overlay logic
which would define 'zephyr,code-partition' based on
CONFIG_BOOTLOADER_MCUBOOT.

Going forward if the DTS has 'zephyr,code-partition' set we will
generate DT_CODE_PARTITION_OFFSET & DT_CODE_PARTITION_SIZE defines.  We
will leave it to Kconfig to set CONFIG_FLASH_LOAD_OFFSET &
CONFIG_FLASH_LOAD_SIZE.

We introduce a python script that allows Kconfig to extract data from
the DTS and thus we can utilize DT_CODE_PARTITION_OFFSET and
DT_CODE_PARTITION_SIZE values to set defaults for
CONFIG_FLASH_LOAD_OFFSET & CONFIG_FLASH_LOAD_SIZE.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2019-02-01 10:16:06 -06:00
..
checkpatch
ci scripts: run_ci.sh: add pytest-based testing for west commands 2019-01-29 10:15:01 +01:00
coccinelle coccinelle: Updating ignore_return to support memcpy 2018-12-19 14:37:25 +01:00
cross_compiler
dts dts: stop generating CONFIG_FLASH_LOAD_{OFFSET,SIZE} 2019-02-01 10:16:06 -06:00
footprint size_report: cleanup up detection and error handling 2018-10-29 10:15:17 -04:00
gitlint gitlint: do not start with subsys: 2018-11-28 09:22:01 -08:00
kconfig dts: stop generating CONFIG_FLASH_LOAD_{OFFSET,SIZE} 2019-02-01 10:16:06 -06:00
sanity_chk sanitycheck: Handle data over UART from gcov 2019-01-29 15:03:38 -05:00
support scripts: make runner a west subpackage 2018-05-19 07:01:39 +03:00
west_commands west: runners: nrfjprog: Enable testing of nRF91 2019-01-30 20:16:27 +01:00
.gitignore
check_link_map.py
checkpatch.pl checkpatch: downgrade COMPLEX_MACRO to a warning 2018-05-08 08:56:12 -07:00
checkstack.pl
coccicheck scripts: coccicheck: Improve continuous run operation 2018-12-05 15:14:05 -05:00
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 elf_helper: skip SYS_INIT() "devices" 2018-12-03 11:44:01 -08:00
file2hex.py
filter-known-issues.py scripts: filter-known-issues: Add extra newline 2018-07-12 23:11:46 -04:00
gen_alignment_script.py
gen_app_partitions.py scripts: add missing lincense in scripts/gen_app_partitions.py 2018-11-30 15:22:58 +01: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_gdt.py
gen_idt.py x86: add dynamic interrupt support 2018-11-10 11:01:22 -05:00
gen_kobject_list.py kernel: remove k_alert API 2019-01-16 21:34:07 -05:00
gen_mmu_x86.py
gen_offset_header.py
gen_priv_stacks.py scripts: gen_priv_stacks.py: run through flake8 2018-09-17 09:40:02 -04:00
gen_relocate_app.py scripts: gen_relocate_app: Use linker provided size variable. 2018-12-29 09:23:34 -05:00
gen_syscall_header.py kernel: syscalls: Change handlers namespace 2018-09-28 07:58:19 +05:30
gen_syscalls.py kernel: syscalls: Change handlers namespace 2018-09-28 07:58:19 +05:30
mergehex.py mergehex: Improve the error feedback when merged hex files overlap 2019-01-29 17:04:42 +01:00
parse_syscalls.py userspace: adjust syscall generation scripts 2018-07-24 14:39:38 -04:00
process_gperf.py userspace: eliminate warning in process_gperf.py 2018-12-07 20:26:46 -05:00
qemu-machine-hack.py
requirements.txt scripts: run_ci.sh: add pytest-based testing for west commands 2019-01-29 10:15:01 +01:00
sanitycheck app_shmem: auto-initialize partitions 2019-01-30 23:15:51 -05:00
spelling.txt
subfolder_list.py cmake: Using symlinks on unix like os'es for dependencies 2018-06-19 17:00:27 +02: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 scripts: west commands: add text for "west --help" 2019-01-29 10:15:01 +01:00