-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[csolution] Extend processor attributes
#1149
Comments
I would suggest using not only CMSIS enums, but also attributes from pdsc: Dfpu: NO_FPU, SP_FPU, DP_FPU - DfpuEnum This has the following advantages:
|
Implemented in #1191 |
Documented here https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/YML-Input-Format.md#processor I think this can then be closed. endian is not documented as I don't know any use case. |
With the advent of CMSIS-DFP where each device is described only with a single superset entry containing all features enabled, for using subset variants the expectation is to leave it to project settings to disable/change features.
For allowing the device features selection I am proposing to extend the
processor attributes
with the following items:fpu:
dp, sp, off - DfpuEnumdsp
: on, off - DdspEnummve
: fp, int, off - DmveEnumendian
: little, big (implemented but undocumented) - DendianEnumbranch-protection
: bti, bit-signret, off (covered by [csolution] Addbranch protection
toolchain agnostic enablement #1069)The text was updated successfully, but these errors were encountered: