#include "lib/lib.h"
#include "lib/conf.h"
#include "images/images.h"
-#ifndef CONFIG_FREE
+#if defined(CONFIG_IMAGES_SIM) || defined(CONFIG_IMAGES_DUP)
#include "images/signature.h"
#endif
uns image_max_dim = 0xffff;
uns image_max_bytes = ~0U;
-#ifndef CONFIG_FREE
+#if defined(CONFIG_IMAGES_SIM) || defined(CONFIG_IMAGES_DUP)
/* ImageSig section */
uns image_sig_min_width;
uns image_sig_min_height;
}
};
-#ifndef CONFIG_FREE
+#if defined(CONFIG_IMAGES_SIM) || defined(CONFIG_IMAGES_DUP)
static struct cf_section image_sig_config = {
CF_ITEMS{
CF_UNS("MinWidth", &image_sig_min_width),
images_init_config(void)
{
cf_declare_section("ImageLib", &image_lib_config, 0);
-#ifndef CONFIG_FREE
+#if defined(CONFIG_IMAGES_SIM) || defined(CONFIG_IMAGES_DUP)
cf_declare_section("ImageSig", &image_sig_config, 0);
#endif
}