Error while importing project from STM32CubeMX (EWARM,KEIL and GPDSC)

Comments

1 comment

  • Avatar
    Ron Black

    When you look at the specific error, does it say something like "error can't find __stack__start" for a particular stack variable?  I can't remember which one it was, I think it was process stack.  Anyway I just edited out the code that tried to initialize that stack variable it was similar to below:

      ldr r1, =__stack_end__
      ldr r0, =__stack_start__
      subs r2, r1, r0
      beq 1f

    but it was for the process stack.

    That caused the error to go away.  I couldn't figure out how to get that stack variable to "exist"

    0
    Comment actions Permalink

Please sign in to leave a comment.