Disabling debug functions from cross_studio_io.h

Comments

4 comments

  • Avatar
    Jon Elliott

    Hi Marcin,

    Set the "Linker Options > DebugIO Supported" project property to "No".

    Regards,

    Jon

    0
    Comment actions Permalink
  • Avatar
    Marcin

    Hello Jon,

    After I change DebugIO Supported to "No " I get a following linking error 
    /usr/share/crossworks_for_arm_2.3/lib/libdebugio_v7m_t_le_eabi.a(libdebugio.o): In function `__do_nvdebug_operation':

    0
    Comment actions Permalink
  • Avatar
    Jon Elliott

    Hi Marcin,

    That indicates that you are still making calls to the debug I/O library somewhere in your program - the DebugIO Supported property stops the debug I/O functions from being linked in. You should either remove or #ifdef the debug I/O calls, or I guess another solution would be to implement an empty __do_debug_operation function to allow the program to link.

    Regards,

    Jon

    0
    Comment actions Permalink
  • Avatar
    Marcin

    Ok, that answers my question. 

    Thank You

    0
    Comment actions Permalink

Please sign in to leave a comment.