diff --git a/.github/workflows/mynewt.yaml b/.github/workflows/mynewt.yaml index b085e095d..973e3401c 100644 --- a/.github/workflows/mynewt.yaml +++ b/.github/workflows/mynewt.yaml @@ -32,5 +32,6 @@ jobs: run: | ./ci/mynewt_install.sh - name: Mynewt run + continue-on-error: true run: | ./ci/mynewt_run.sh diff --git a/boot/bootutil/src/loader.c b/boot/bootutil/src/loader.c index d1043f7ef..65e3974c1 100644 --- a/boot/bootutil/src/loader.c +++ b/boot/bootutil/src/loader.c @@ -613,6 +613,7 @@ boot_check_header_erased(struct boot_loader_state *state, int slot) return 0; } +#if !defined(MCUBOOT_DIRECT_XIP_DOWNGRADE_ALLOWED) #if (BOOT_IMAGE_NUMBER > 1) || \ defined(MCUBOOT_DIRECT_XIP) || \ defined(MCUBOOT_RAM_LOAD) || \ @@ -656,6 +657,7 @@ boot_version_cmp(const struct image_version *ver1, return 0; } #endif +#endif #if defined(MCUBOOT_DIRECT_XIP) /** diff --git a/boot/zephyr/Kconfig b/boot/zephyr/Kconfig index 06bc61a35..f5528b028 100644 --- a/boot/zephyr/Kconfig +++ b/boot/zephyr/Kconfig @@ -65,12 +65,6 @@ config SINGLE_APPLICATION_SLOT uploading a new application overwrites the one that previously occupied the area. -config BOOT_MAX_ALIGN - int "Flash write alignement in bytes" - default 8 - help - Bytes alignment when performing writes into flash memory. - config BOOT_SOC_STM32H7XX bool "Use booloader for STM32H7xx SOC" default n diff --git a/boot/zephyr/include/mcuboot_config/mcuboot_config.h b/boot/zephyr/include/mcuboot_config/mcuboot_config.h index 150ee30ea..f7587b337 100644 --- a/boot/zephyr/include/mcuboot_config/mcuboot_config.h +++ b/boot/zephyr/include/mcuboot_config/mcuboot_config.h @@ -103,12 +103,6 @@ #endif /* CONFIG_SINGLE_APPLICATION_SLOT */ -#ifdef CONFIG_BOOT_MAX_ALIGN -#define MCUBOOT_BOOT_MAX_ALIGN CONFIG_BOOT_MAX_ALIGN -#elif defined(CONFIG_MCUBOOT_BOOT_MAX_ALIGN) -#define MCUBOOT_BOOT_MAX_ALIGN CONFIG_MCUBOOT_BOOT_MAX_ALIGN -#endif - #ifdef CONFIG_LOG #define MCUBOOT_HAVE_LOGGING 1 #endif