No description
Find a file
David Brown fe7aa3f4fa misc: Allow flash image size to be constrained
The CONFIG_FLASH_LOAD_OFFSET allows the zephyr image to be placed at
an offset from the start of flash.  This is useful for situations,
such as with a bootloader, to allow the image to not occupy the very
beginning of flash.

Complement this by adding a CONFIG_FLASH_LOAD_SIZE config, that can
constrain the size of the flash image.  With the default of zero, the
behavior is as before, with the image allowed to occupy the rest of
the flash.  It can also be defined to a non-zero value which will
constrain the image to occupy that many bytes of flash.

Although this is defined generally, it is currently only supported on
cortex-m targets.

Change-Id: I6e4a0e79c8459f931cd4757c932d20dac740f5f6
Signed-off-by: David Brown <david.brown@linaro.org>
2017-04-14 01:35:59 +00:00
.known-issues net/mgmt: Add a function to wait on a event synchronously 2017-03-17 10:34:42 +02:00
arch misc: Generalize LOAD_OFFSET support 2017-04-14 01:35:59 +00:00
boards boards: bbc_microbit: Add defines for all edge connector pins 2017-04-13 21:50:40 +00:00
doc tests/ztest: rename assert macros to be zephyr specific 2017-04-13 21:17:33 +00:00
drivers flash: enable flash bank 1 for arc on quark se c1000 2017-04-14 01:35:40 +00:00
dts dts: arm: ti: Use hardcoded addresses in cc32xx_launchxl.dtsi 2017-04-13 15:01:57 +00:00
ext ext qmsi: Update QMSI version on README 2017-04-05 11:04:30 -07:00
include misc: Allow flash image size to be constrained 2017-04-14 01:35:59 +00:00
kernel samples: shell: fix testcase.ini to be more inclusive 2017-04-11 03:14:25 +00:00
lib lib: json: Fix parsing of boolean values 2017-03-25 13:11:55 +00:00
misc misc: Allow flash image size to be constrained 2017-04-14 01:35:59 +00:00
samples tests/ztest: rename assert macros to be zephyr specific 2017-04-13 21:17:33 +00:00
scripts build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
subsys debug: rename variable CONFIG_GDB_RAM_SIZE 2017-04-11 03:14:24 +00:00
tests tests/ztest: rename assert macros to be zephyr specific 2017-04-13 21:17:33 +00:00
.checkpatch.conf checkpatch: Remove reference to legacy IP stack 2017-02-08 13:05:27 +00:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore doc: tweak .gitignore to allow doc theme dev 2017-02-23 13:20:04 +00:00
.gitreview Add a .gitreview file 2016-02-20 14:25:01 +00:00
.mailmap mailmap: added axy (for Anas Nashif) 2016-12-21 13:49:59 +00:00
defaults.tc testcases: catch more fatal kernel error messages 2016-11-11 13:21:16 +00:00
Kbuild frdm: fixed path and dependencies for extract_dts_includes.py 2017-02-22 13:57:52 +00:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.zephyr license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
MAINTAINERS MAINTAINERS: update for network applications 2017-04-09 15:45:20 +00:00
Makefile build: use -O2 instead of -Os for ARC with SDK 0.9 2017-04-09 14:57:50 +00:00
Makefile.inc Revert "build: Fix qemugdb target" 2017-03-09 09:22:51 +00:00
Makefile.test tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
zephyr-env.sh zephyr-env.sh: only reset scripts_path on Windows 2017-03-31 15:42:31 -04:00