OpenCores
URL https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk

Subversion Repositories qaz_libs

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /qaz_libs/trunk/cli
    from Rev 29 to Rev 31
    Reverse comparison

Rev 29 → Rev 31

/cli/sys_cli.c
69,6 → 69,10
static unsigned int csi;
#endif
 
#ifdef CLI_ECHO_UART
fwrite(in_buffer,1,line_length,stdout);
#endif
 
unsigned int i;
 
if(out_buffer != NULL)
219,11 → 223,8
 
cli_init();
 
// PRINTF_MACRO("\r\n");
 
for(;;)
{
// PRINTF_MACRO("%d > ", last_return_value);
PRINTF_MACRO("\r\n# > ");
 
cli_argc = 0;
270,8 → 271,6
}
}
 
// PRINTF_MACRO("\r\n");
 
last_return_value = cli_cmd->func(cli_argc, (const char **)cli_argv);
break;
}
/cli/sys_cmd.h
36,6 → 36,7
// #include <xil_printf.h>
 
// #define ANSI_ESCAPE_CODE
#define CLI_ECHO_UART
 
// #define PRINTF_MACRO xil_printf
// #define PRINTF_MACRO iprintf

powered by: WebSVN 2.1.0

© copyright 1999-2020 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.