tests: vector_table_relocation: fix a mis-use of SRAM_SIZE
SRAM_SIZE is given in kilobytes fixes: #92533 Signed-off-by: Hake Huang <hake.huang@nxp.com>
This commit is contained in:
parent
f64358fcdb
commit
fe811defb2
@ -55,7 +55,7 @@ ZTEST(vector_table_relocation, test_vector_table_in_ram)
|
||||
|
||||
printf("VTOR address: 0x%x\n", vtor_address);
|
||||
zassert_true(vtor_address >= CONFIG_SRAM_BASE_ADDRESS &&
|
||||
vtor_address <= CONFIG_SRAM_BASE_ADDRESS + CONFIG_SRAM_SIZE,
|
||||
vtor_address <= CONFIG_SRAM_BASE_ADDRESS + CONFIG_SRAM_SIZE * 1024U,
|
||||
"Vector table is not in RAM! Address: 0x%x", vtor_address);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user