Searched refs:img_magic (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/subsys/dfu/mcuboot_multi/src/ |
D | main.c | 85 const uint32_t img_magic[4] = BOOT_MAGIC_VALUES; in _test_write_confirm_n() local 86 uint32_t readout[ARRAY_SIZE(img_magic)]; in _test_write_confirm_n() 99 ret = flash_area_read(fa, fa->fa_size - sizeof(img_magic), in _test_write_confirm_n() 100 &readout, sizeof(img_magic)); in _test_write_confirm_n() 103 if (memcmp(img_magic, readout, sizeof(img_magic)) != 0) { in _test_write_confirm_n() 105 img_magic, 16); in _test_write_confirm_n()
|
/Zephyr-latest/tests/subsys/dfu/mcuboot/src/ |
D | main.c | 104 const uint32_t img_magic[4] = BOOT_MAGIC_VALUES; in ZTEST() local 105 uint32_t readout[ARRAY_SIZE(img_magic)]; in ZTEST() 122 ret = flash_area_read(fa, fa->fa_size - sizeof(img_magic), in ZTEST() 123 &readout, sizeof(img_magic)); in ZTEST() 126 if (memcmp(img_magic, readout, sizeof(img_magic)) != 0) { in ZTEST() 128 img_magic, 16); in ZTEST()
|