mcuboot icon indicating copy to clipboard operation
mcuboot copied to clipboard

Byte Alignment to support STM32U5

Open macharlachanakya opened this issue 1 year ago • 2 comments

  • Modified #if BOOT_MAX_ALIGN == 8 to #if (BOOT_MAX_ALIGN == 8) || (BOOT_MAX_ALIGN == 16) for boot_img_magic in boot/bootutil/src/bootutil_public.c, because STM32U5 supports 16 Byte alignment.

  • Provided #if !defined( BOOT_MAX_ALIGN ) preprocessor directive for #define BOOT_MAX_ALIGN 8 in boot/bootutil/include/bootutil/bootutil_public.h, because STM32U5 supports 16 Byte alignment which can be provided with preprocessor options as #define BOOT_MAX_ALIGN 16.

Signed-off-by: Chanakya Macharla [email protected]

macharlachanakya avatar May 07 '24 11:05 macharlachanakya

its working with the changes suggested, Thank you

macharlachanakya avatar Sep 02 '24 12:09 macharlachanakya