Skip to content
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

[question] Can not select Cortex-M33 without DSP type CPU!!!!!! #378

Open
vscodeenv opened this issue Sep 19, 2024 · 1 comment
Open

[question] Can not select Cortex-M33 without DSP type CPU!!!!!! #378

vscodeenv opened this issue Sep 19, 2024 · 1 comment

Comments

@vscodeenv
Copy link

What you want to do
A clear and concise description of what you want to do.

Describe the problem
A clear and concise description of what the bug is.
image
if CPU without DSP will error select CM33
AC6 can select CM33 with DSP or CM33 without DSP
image

Expected behavior
A clear and concise description of what you expected to happen.

@github0null
Copy link
Owner

Different compiler has different options, they can't be compared.

Don't care this, just include your DSP library and enable hard FPU, then build your project, the compiler will do what it does.

And you can disassembly your ELF file to check whether the dsp instruction was generated.

PS C:\Users\admin\Desktop> arm-none-eabi-gcc.exe -mcpu=? 

arm-none-eabi-gcc.exe: error: unrecognized -mcpu target: ?
arm-none-eabi-gcc.exe: note: valid arguments are: arm8 arm810 strongarm 
strongarm110 fa526 fa626 arm7tdmi arm7tdmi-s arm710t arm720t arm740t 
arm9 arm9tdmi arm920t arm920 arm922t arm940t ep9312 arm10tdmi arm1020t 
arm9e arm946e-s arm966e-s arm968e-s arm10e arm1020e arm1022e xscale 
iwmmxt iwmmxt2 fa606te fa626te fmp626 fa726te arm926ej-s arm1026ej-s 
arm1136j-s arm1136jf-s arm1176jz-s arm1176jzf-s mpcorenovfp mpcore arm1156t2-s arm1156t2f-s 
cortex-m1 cortex-m0 cortex-m0plus cortex-m1.small-multiply cortex-m0.small-multiply 
cortex-m0plus.small-multiply generic-armv7-a cortex-a5 cortex-a7 cortex-a8 cortex-a9 
cortex-a12 cortex-a15 cortex-a17 cortex-r4 cortex-r4f cortex-r5 cortex-r7 cortex-r8 cortex-m7 
cortex-m4 cortex-m3 marvell-pj4 cortex-a15.cortex-a7 
cortex-a17.cortex-a7 cortex-a32 cortex-a35 cortex-a53 cortex-a57 cortex-a72 
cortex-a73 exynos-m1 xgene1 cortex-a57.cortex-a53 cortex-a72.cortex-a53 
cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a55 cortex-a75 cortex-a76 
cortex-a76ae cortex-a77 neoverse-n1 cortex-a75.cortex-a55 cortex-a76.cortex-a55 
neoverse-v1 neoverse-n2 cortex-m23 cortex-m33 cortex-m35p cortex-m55 cortex-r52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants