Closed fgr1986 closed 6 years ago
Hi @fgr1986,
Thanks for your feedback. The "pseudo" devices you refer to are only intended to be used as some reference for device vendors. Hence we considered only the configurations assumed to be widely adopted.
Do you have a concrete scenario in mind you would need yet another pseudo device header for? From pure software/compilation point of view you should get the correct noFPU+DSP result by simply not using the FPU in your application, i.e. by setting -mfloat-abi=soft [-mfpu=none]
.
Cheers, Jonatan
Thank you @JonatanAntoni , as you suggest we can use ARMCM33_DSP_FP.h
and compile with the following collected gcc flags:
COLLECT_GCC_OPTIONS='-mthumb' '-march=armv8-m.main+dsp' '-mfloat-abi=soft' '-D' 'ARMCM33_DSP_FP' '-D' 'ARM_MATH_CM33' '-D' '_DSP' '-D' '__DSP_PRESENT=1' '-fno-inline-functions'
The current structure of Device folder files for Cortex M33 does not consider devices with DSP but no FPU, and no TZ.
CM33 considered options:
The new device type would have the following flags in the (new)
ARMCM33_DSP.h
file:Please note that the file, together with the possible modification in
system_ARMCM33.c
shold also be compatible with DSP lib (see issue https://github.com/ARM-software/CMSIS_5/issues/427)Possible additions in
system_ARMCM33.c