In platform/board/st/stm32h7b3i_dk/src/mccibootloaderboard_stm32h7b3i_dk_vectors.c, the SVC handler uses types with ARMv6M in the name:
McciBootloaderPlatform_ARMv6M_SvcHandlerFn_t
McciBootloaderPlatform_ARMv6M_SvcRq_t
McciBootloaderPlatform_ARMv6M_SvcError_t
These are being used in an ARMv7-M (Cortex-M7) context. This may be intentional (shared types across architectures), but the naming is confusing.
Options:
- Rename to architecture-neutral names (e.g., drop the
ARMv6M qualifier)
- Create
ARMv7M aliases/typedefs
- Document that these are shared types and the
ARMv6M prefix is historical
Found during code review of the STM32H7 port.
In
platform/board/st/stm32h7b3i_dk/src/mccibootloaderboard_stm32h7b3i_dk_vectors.c, the SVC handler uses types withARMv6Min the name:McciBootloaderPlatform_ARMv6M_SvcHandlerFn_tMcciBootloaderPlatform_ARMv6M_SvcRq_tMcciBootloaderPlatform_ARMv6M_SvcError_tThese are being used in an ARMv7-M (Cortex-M7) context. This may be intentional (shared types across architectures), but the naming is confusing.
Options:
ARMv6Mqualifier)ARMv7Maliases/typedefsARMv6Mprefix is historicalFound during code review of the STM32H7 port.