- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when I try to enable debug_uart when experimenting CE224856_BLE_Low_Power_Beacon_with_Hibernate_RTOS, it does not work, I have added UART TopDesign.cysch, and uart_debug.h uart_debug.c to project.
here is what's added into main()
/* Initialize the hardware used to send debug messages, if debug is enabled
in uart_debug.h header file */
DebugPrintfInit();
/* \x1b[2J\x1b[;H - ANSI ESC sequence to clear screen */
DebugPrintf("\x1b[2J\x1b[;H");
DebugPrintf("PSoC 6 MCU: Beacon Hibernate (RTOS)\r\n");
but did not see anything printed on terminal. can anyone help take a look at the code?
Thanks
Solved! Go to Solution.
- Tags:
- debug print
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you PY_21, It's working and I have found reason why.
#define IO_STDOUT_UART UART_STDIO
#define IO_STDIN_UART UART_STDIO
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you PY_21, It's working and I have found reason why.
#define IO_STDOUT_UART UART_STDIO
#define IO_STDIN_UART UART_STDIO
Cheers!