RTEMS | bsps/stm32h7: Honor the intent of the MPU alignment option (!189)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Wed Aug 21 06:35:57 UTC 2024
Sebastian Huber started a new discussion on bsps/arm/stm32h7/boards/stm/nucleo-h743zi/stm32h7-bspstarthooks.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/189#note_111367
> SCB_EnableDCache();
> }
>
> +#if defined(STM32H7_ENABLE_MPU_ALIGNMENT) && STM32H7_ENABLE_MPU_ALIGNMENT == 1
You don't need the `&& STM32H7_ENABLE_MPU_ALIGNMENT == 1`. A simple `#ifdef STM32H7_ENABLE_MPU_ALIGNMENT` is enough for BSP options defined by `- define-condition: null` actions.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/189#note_111367
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240821/a1c0dc04/attachment.htm>
More information about the bugs
mailing list