zephyr/scripts
Ioannis Glaropoulos 62c5894bc1 arch: arm: properly enforce MPU-aware linker section alignment
This commit standardizes and simplifies the way we enforce
linker section alignment, to comply with minimum alignment
requirement for MPU, if we build Zephyr with MPU support:
- it enforces alignment with the minimum MPU granularity at
  the beginning and end of linker sections that require to
  be protected by MPU,
- it enforces alignment with size if required by the MPU
  architecture.

Particularly for the Application Memory section, the commit
simplifies how the proper alignment is enforced, removing
the need of calculating the alignment with a post-linker
python script. It also removes the need for an additional
section for padding.

For the Application Shared Memory section(s), the commit
enforces minimum alignment besides the requirement for
alignment with size (for the respective MPUs) and fixes
a bug where the app_data_align was erronously used in the
scipts for auto-generating the linker scripts.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2018-11-30 15:22:58 +01:00
..
checkpatch scripts: cleanup scripts directory 2018-04-03 09:28:09 -04:00
ci ci: Add missing option to control placement of BT tests results file 2018-11-21 09:42:46 -05:00
cmake
coccinelle coccinelle: Add script to remove unnecessary return variable 2018-11-28 11:54:01 -08:00
cross_compiler
dts scripts: extract_dts_includes: fix cell name readout from yaml 2018-11-19 08:35:10 -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 menuconfig: Improve behavior for named choices included multiple times 2018-11-28 16:58:28 +01:00
meta/west west: runner: fix naming and paths to xt-ocd 2018-10-11 10:49:56 -04:00
sanity_chk sanitycheck: remove unused platforms keyword 2018-11-19 15:03:55 -05:00
support scripts: make runner a west subpackage 2018-05-19 07:01:39 +03: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 Coccinelle: Add support for Coccinelle infrastructure 2018-10-02 14:03:39 -07: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 scripts: elf_helper.py: run through flake8 2018-09-17 09:40:02 -04: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 arch: arm: properly enforce MPU-aware linker section alignment 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_gdt.py
gen_idt.py x86: add dynamic interrupt support 2018-11-10 11:01:22 -05:00
gen_kobject_list.py k_mem_slab: track as a kernel object 2018-11-15 16:20:36 -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_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
parse_syscalls.py userspace: adjust syscall generation scripts 2018-07-24 14:39:38 -04:00
process_gperf.py arm: Generate privileged stacks 2018-02-06 15:31:16 -08:00
qemu-machine-hack.py
requirements.txt subsys: fb: add support for generating CFB font headers at build time 2018-11-28 11:46:00 +01:00
sanitycheck workqueues: don't put k_work in special section 2018-11-29 09:21:18 -08: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
waitpid
west scripts: west: be more explicit in copy warning message 2018-11-21 09:43:45 -05:00