zephyr/arch/arm/core
Marti Bolivar bf2d34ba30 arm: cortex-m: allow configurable ROM offset
Currently, ARM Cortex-M image ROMs are linked starting at the flash
device's base address (CONFIG_FLASH_BASE_ADDRESS). This prevents XIP
Zephyr applications from being linked to run from elsewhere on the
flash device. Linking Zephyr applications to run from elsewhere can be
necessary when running under a bootloader (i.e., booting into a Zephyr
application from a bootloader, not using Zephyr as a bootloader).

To enable this use case, add a new config option: FLASH_LOAD_OFFSET.
This option directs the linker to treat ROM as if it started that many
bytes from the base of flash on Cortex-M targets. The option defaults
to zero to preserve backwards compatibility.

Change-Id: I64f82aee257c19c2451f9789b0ab56999775b761
Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
2017-02-22 18:08:57 -06:00
..
cortex_m arm: cortex-m: allow configurable ROM offset 2017-02-22 18:08:57 -06:00
offsets license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig arm: cmsis: Introduce CMSIS layer 2017-01-23 15:15:54 -06:00
Makefile arm: use gen_isr_tables mechanism for interrupts 2017-02-11 01:27:58 +00:00
__aeabi_atexit.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cpu_idle.S arm: scb: Move SCB asm defines into cpu_idle.S 2017-01-30 11:02:39 -06:00
exc_exit.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
fatal.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
fault.c arm: cmsis: Convert _Scb*Fault*Reset to use direct CMSIS register access 2017-02-10 14:47:41 -06:00
fault_s.S arm: cmsis: Convert _ScbIsNestedExc to use direct CMSIS register access 2017-02-10 14:47:41 -06:00
irq_init.c arm: cmsis: Remove nvic.h and use CMSIS NVIC calls directly 2017-01-30 11:02:36 -06:00
irq_manage.c arm: enable direct interrupts feature 2017-02-11 01:27:59 +00:00
irq_offload.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
isr_wrapper.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
swap.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
sys_fatal_error_handler.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
thread.c kernel: rename thread states symbols 2017-01-24 13:34:49 +00:00
thread_abort.c arm: cmsis: Convert _ScbIsInThreadMode to use direct CMSIS register access 2017-01-30 11:02:39 -06:00