Disabling debug functions from cross_studio_io.h
Hello, I'm using CrossStudio ARM for STM32 development.
I'm using various debug_* functions from cross_studio_io.h, it's working great, but its need constant JTAG connection.
Is there any easy way to disable those function calls? Maybe some #define or switch in project properties I'm not aware of.
Marcin
-
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
-
We recently started having problems with this with Crossworks ARM versions after Crossworks ARM 4.8.
When I set "Debug I/O Implementation" and "Default debug I/O Implementation" to "None" the libdebugio will still get linked. The only way to prevent the functions from being included is to stub all of them out.
But for example I still see this in my map file showing it is trying to link it. But I can't figure out where it is getting set to link in the project.
LOAD /usr/share/crossworks_for_arm_4.10/lib/libdebugio_v7em_fpv4_sp_d16_hard_t_le_eabi_small.a
Please sign in to leave a comment.
Comments
7 comments