config: Rename TEXT_SECTION_OFFSET to ROM_START_OFFSET

The `TEXT_SECTION_OFFSET` symbol is used to specify the offset between
the beginning of the ROM area and the address of the first ROM section.

This commit renames `TEXT_SECTION_OFFSET` to `ROM_START_OFFSET` because
the first ROM section is not always the `.text` section.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2020-02-10 16:37:24 +09:00 committed by Anas Nashif
commit 3322489d22
14 changed files with 19 additions and 19 deletions

View file

@ -36,7 +36,7 @@
#define ROM_BASE (DT_REG_ADDR(DT_CHOSEN(zephyr_code_partition)))
#define ROM_SIZE (DT_REG_SIZE(DT_CHOSEN(zephyr_code_partition)))
#define VECTOR_BASE (ROM_BASE + CONFIG_TEXT_SECTION_OFFSET)
#define VECTOR_BASE (ROM_BASE + CONFIG_ROM_START_OFFSET)
#else