This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Not Building or Even Generating Errors

I cut and paste a PWM project from the internet and saved it. When I go to build it, I got neither messages indicating success or errors or warnings. It just kind of hangs there. Here's a screen shot.

Parents Reply Children
  • Thanks I'm obviously struggling with Keil. I can't seem to troubleshoot these problems. If I may trespass on your generosity, can you tell me what you did in terms of analyzing this error ? Like the old "Give a man a fish " cliché, I'd like to learn how to trouble shoot these errors caused by project environment errors. 

  • Here is yet another error that I can't figure out. It just keeps going on like that. I downloaded the Blinky program from the examples and had run it before. This time i get these cryptic errors that I can find little about online. 

  • >If I may trespass on your generosity, can you tell me what you did in terms of analyzing this error ?

    Your 'Source Group 1' in the project window (left-hand side) is empty and the 'Build Output' window does not list any modules that get compiled.

  • I don't know what you are doing. The picture is hard to read and I can't magnify it like your previous picture. The first error message is:

    ArmClang: error: unsupported option '--c99'

    --c99 is a armcc (Arm Compiler 5) compatible compiler directive. You are using the ArmClang (Arm Compiler 6) and the directive should read '-std=c99'. Usually, µVision automatically uses the right directive depending on the selected compiler. I assume that --c99 is specified in the µVision dialog 'Options for Target - C/C++ (AC6) - Misc Controls'. If yes, remove it from there and select c99 in the 'Language C' selection.

    The second error '… Assembler.… Symbol missing..' probably comes from a wrong assembler directive. Please check the µVision dialog 'Options for Target - Asm - Assembler Option' and select 'armclang (Auto Select)'. Hope this helps.

    I assume that this example was initially created for the Arm Compiler 5. There are several things to consider when such a project is converted to the Arm Compiler 6.