boot: zephyr: esp32: zephyr port
Add support for ESP32xx targets to build
as Zephyr application.
Signed-off-by: Marek Matej <marek.matej@espressif.com>
diff --git a/boot/zephyr/include/target.h b/boot/zephyr/include/target.h
index d4a00c9..61dfd93 100644
--- a/boot/zephyr/include/target.h
+++ b/boot/zephyr/include/target.h
@@ -31,7 +31,8 @@
* Sanity check the target support.
*/
#if (!defined(CONFIG_XTENSA) && !DT_HAS_CHOSEN(zephyr_flash_controller)) || \
- (defined(CONFIG_XTENSA) && !DT_NODE_EXISTS(DT_INST(0, jedec_spi_nor))) || \
+ (defined(CONFIG_XTENSA) && !DT_NODE_EXISTS(DT_INST(0, jedec_spi_nor)) && \
+ !defined(CONFIG_SOC_FAMILY_ESP32)) || \
!defined(FLASH_ALIGN) || \
!(FIXED_PARTITION_EXISTS(slot0_partition)) || \
!(FIXED_PARTITION_EXISTS(slot1_partition) || CONFIG_SINGLE_APPLICATION_SLOT) || \