Hi,
I am planning to execute few neon add instructions using startup_Cortex-R52 example project. I have created assembly file with neon instructions and added it to project. I have modified the target settings to use -march "armv8-r", mfpu to "neon" and float-abi to "Hardware(Software FPO Linkage)".
Is there any startup code that I need to add for enabling neon extension. Let me know how can I proceed regarding this.
Thanks,
Praveen.
Hi Stephen,
Also I am trying to compile .cpp extensiopn files(main.c --> main.cpp ..). But .cpp files are not picked up for compilation and I am seeing error main not found.
My usecase is, I have .cpp based source code which I need to include in this project and create .axf. Is this workflow possible?
(To be more specific about my usecase, I am trying to include to include arm compute library to this startup project and create an app.)
Hi PraveenThat's strange - renaming main.c to main.cpp works for me with the startup_Cortex-R52 example supplied, after fixing up any call-outs (name mangling, etc) from the C++ file to extern C or assembler files.However, if the bulk of your application will be C++, then you must create a new C++ project. The startup_Cortex-R52 example supplied is only based on a C project template, not C++.
To create a new C++ project, use File > New > Project, then expand C/C++ and select "C++ Project". Then copy across all the project settings (processor, fpu, "-x assembler-with-cpp", --entry=Start --scatter, etc) from your existing project to the new project.If you need more help with this interesting project, I suggest you open an official Support case with Arm, using the "Support > Open a Support Case" option at the top of this page.Hope this helpsStephen
Thanks for suggestion I have raised a support case .
I want to know if there is a quick fix for below problem.
I have created C++ project and created .axf , however I am seeing issues while trying to run. It is not coming to main from "Start". Debug configurations are similar to the startup_cortex-r52.Attached project for your referenceACLPrototype.zip