anchao opened a new pull request, #20828: URL: https://github.com/apache/nuttx/pull/20828
## Summary
This PR advertises the Cortex-M85 architectural support for MVE and PACBTI
by
selecting the existing ARM capability symbols from `ARCH_CORTEXM85`.
Cortex-M85 is an Armv8.1-M Mainline core that can provide:
- M-Profile Vector Extension (MVE / Helium)
- Pointer Authentication and Branch Target Identification (PACBTI)
NuttX already has generic Kconfig symbols for these capabilities:
- `ARM_HAVE_MVE`
- `ARM_HAVE_PACBTI`
and the ARMv8-M toolchain logic already uses them to expose the
corresponding
compiler options and user-visible PACBTI configuration. However,
`ARCH_CORTEXM85` did not currently select these capability symbols, so
Cortex-M85 based ports had to rely on chip-specific duplication or could not
naturally expose these architecture features.
## Changes
- Select `ARM_HAVE_MVE` from `ARCH_CORTEXM85`
- Select `ARM_HAVE_PACBTI` from `ARCH_CORTEXM85`
## Rationale
These are core-level architectural capabilities of Cortex-M85, so declaring
them at the `ARCH_CORTEXM85` level avoids repeating the same capability
selection in every Cortex-M85 chip family.
This also keeps the Kconfig model consistent with the existing ARM feature
pattern where CPU/chip capabilities are expressed through `ARM_HAVE_*`
symbols, and user-facing feature enablement can depend on those symbols.
## Testing
ek-ra8m1/nsh
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
