global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT()
Replace all occurences of BUILD_ASSERT_MSG() with BUILD_ASSERT() as a result of merging BUILD_ASSERT() and BUILD_ASSERT_MSG(). Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
This commit is contained in:
parent
974aa3add4
commit
8739517107
52 changed files with 206 additions and 207 deletions
|
@ -31,9 +31,9 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
|||
#define FLASH_AREA_IMAGE_SECONDARY DT_FLASH_AREA_IMAGE_1_ID
|
||||
#endif /* CONFIG_TRUSTED_EXECUTION_NONSECURE */
|
||||
|
||||
BUILD_ASSERT_MSG((CONFIG_IMG_BLOCK_BUF_SIZE % DT_FLASH_WRITE_BLOCK_SIZE == 0),
|
||||
"CONFIG_IMG_BLOCK_BUF_SIZE is not a multiple of "
|
||||
"DT_FLASH_WRITE_BLOCK_SIZE");
|
||||
BUILD_ASSERT((CONFIG_IMG_BLOCK_BUF_SIZE % DT_FLASH_WRITE_BLOCK_SIZE == 0),
|
||||
"CONFIG_IMG_BLOCK_BUF_SIZE is not a multiple of "
|
||||
"DT_FLASH_WRITE_BLOCK_SIZE");
|
||||
|
||||
static bool flash_verify(const struct flash_area *fa, off_t offset,
|
||||
u8_t *data, size_t len)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue