I try build demos\ARMCM3-STM32F103-GCC from Ride7.
os\ports\GCC\ARMCM3\crt0.s: No such file or directory
i copy os\ports\GCC\ARMCMx to os\ports\GCC\ARMCM3
but unsuccess with next error
os\ports\GCC\ARMCM3/chcore.h:50:22: error: cmparams.h: No such file or directory
What changes i need make ?
Giovanni Di Sirio
As you noticed the Ride7 project contains some wrong paths because it refers ARMCM3 instead of ARMCMx but that is not the main problem.
Ride7 itself has a problem that cannot be fixed by modifying options:
Basically the Cortex-M3 port assembler files (crt0.s and vectors.s) require to be compiled using the GCC "-x assembler-with-cpp" option but Ride7 only allows to add that option at the end of the command line where it has no effect, it should be at the beginning instead. I have not found a way yet to put the option in the correct position.
A fix to that problem would require to remove all the preprocessor directives from the assembler files but that will require time.
Until the issue is fixed I recommend to compile the project using the provided Makefile.
Thanks. I'll use Makefile