When I try to make my project, I get various assembler messages such as
Error: unsupported instruction ‘mov’, even if I have not touched the file. I’ve attached an image below. If anyone has run into this issue before, please let me know how to fix it! I’m thinking it could be something with my compiler, but not too sure.
I’m using CMake to generate a makefile, then just using the command “make” to build it. I’ve made sure to include all the FreeRTOS libraries in the CMakeList as well.
It’s strange, because with another project, I don’t get any errors like the one in the first post, so I’m assuming it might have to do with the files included in my CMake File?
I’ve attached both the CMakeList and the generated Makefile associated, as I was unable to find the compiler command line. For context, this is part of a larger library, and I just added FreeRTOS files into the CMakeList to be compiled. I’m a bit hesitant to make any major changes to the file, but will do what’s necessary
Sorry how would I go about writing this? Pretty new to the scene
Also I set the C/C++ compiler to the crosscompiler (arm-none-eabi-gcc/g++), and getting the error: “selected processor does not support 'isb ’ in ARM mode.” I’m assuming it’s some compiler options that I’ll have to add with add_compile_options() in the CMakeList file.
build.make is used in the generated top Makefile. I just had a look into it. That’s the way cmake works.
Maybe you find a (cmake based) demo project for your GCC/ARM_CM4F project to set the right compiler options. Or have a look into the makefiles of the corr. FreeRTOS demos.