I want to use the UART interface of a XC-1A
for debugging.
Code: Select all
#include <platform.h>
#include <xscope.h>
port uart_tx = PORT_UART_TX;
void xscope_user_init(void) {
xscope_register(0);
xscope_config_uart(uart_tx);
xscope_config_io(XSCOPE_IO_BASIC);
}
Compiling fails with:
xscope_xlink_tx.S: Error: Undefined reference to '__sodEnd' (using xScope without specifying -fxscope?)
xscope_api_xlink.c: Error: Undefined reference to '__sodFlag' (using xScope without specifying -fxscope?)
../src/main.xc: Error: Undefined reference to 'xscope_config_uart'
Thanks for any hints.