Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Build error ARMCM3-STM32F103-GCC

X893
2010-10-29
2013-04-06
  • X893
    X893
    2010-10-29

    I try build demos\ARMCM3-STM32F103-GCC from Ride7.
    Next errors

    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 ?
     

     
  • 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.

    Giovanni

     
  • X893
    X893
    2010-10-29

    Thanks. I'll use Makefile