This is an automated email from the ASF dual-hosted git repository. utzig pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git
The following commit(s) were added to refs/heads/master by this push: new 30cf9fe zephyr: Fix BUILD_ASSERT failing build with correct number of images 30cf9fe is described below commit 30cf9fe2d984fd90253ee5bb599a136bf30ac057 Author: Dominik Ermel <dominik.er...@nordicsemi.no> AuthorDate: Wed Oct 6 15:32:14 2021 +0000 zephyr: Fix BUILD_ASSERT failing build with correct number of images Fix removes the unneeded BUILD_ASSERT. Signed-off-by: Dominik Ermel <dominik.er...@nordicsemi.no> --- cmd/img_mgmt/include/img_mgmt/img_mgmt_config.h | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/img_mgmt/include/img_mgmt/img_mgmt_config.h b/cmd/img_mgmt/include/img_mgmt/img_mgmt_config.h index 1a0b1cd..ee0343a 100644 --- a/cmd/img_mgmt/include/img_mgmt/img_mgmt_config.h +++ b/cmd/img_mgmt/include/img_mgmt/img_mgmt_config.h @@ -42,7 +42,6 @@ #define IMG_MGMT_BOOT_CURR_SLOT 0 #ifdef CONFIG_IMG_MGMT_UPDATABLE_IMAGE_NUMBER /* Up to two images are supported */ -BUILD_ASSERT(CONFIG_IMG_MGMT_UPDATABLE_IMAGE_NUMBER > 2, "Unsupported number of images"); #undef IMG_MGMT_UPDATABLE_IMAGE_NUMBER #define IMG_MGMT_UPDATABLE_IMAGE_NUMBER CONFIG_IMG_MGMT_UPDATABLE_IMAGE_NUMBER #endif