Using the arm DSP library

Sysprogs forums Forums VisualGDB Using the arm DSP library

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #757
    vard
    Participant

    Hi,

    I’m currently evaluating VGDB in VS13 and in one of my files, I’m calling a function covered by the arm_math.h file.

    The code: val = arm_sin_f32(…. etc.
    is causing the error message:

    Error 10 error VGDB1000: undefined reference to `arm_sin_f32′

    The arm_math.h file is included, and inside the file the function’s prototype is declared as

    float32_t arm_sin_f32(
    float32_t x);

    but it looks like the actual function declaration is not part of any library I can find. Any ideas on how to get the DSP math functions as defined in the arm_math.h file to work VGDB?

    Thanks!

    #2996
    vard
    Participant

    It works now, now worries, I had a space in the name path to the arm_math library and the make did not like that. I moved the arm_sin_f32.c together with my source files and it compiles fine.
    Thanks!

    #2997
    ket
    Participant

    Hi,

    Thanks for reporting back, good to know it works now. Yes, you should avoid using paths with spaces in them when using gnu tools. Even if make would accept a path with spaces in it, then gdb could still produce strange errors etc.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.