Go to the source code of this file.
◆ gdb_uart_init()
◆ gdbFlushUserData()
void gdbFlushUserData |
( |
| ) |
|
Ensure all user data has been written to serial port.
◆ gdbReceiveChar()
◆ gdbSendChar()
size_t gdbSendChar |
( |
char |
c | ) |
|
◆ gdbSendData()
size_t gdbSendData |
( |
const void * |
data, |
|
|
size_t |
length |
|
) |
| |
◆ gdbSendUserData()
size_t gdbSendUserData |
( |
| ) |
|
Send some user data from the user_uart TX buffer to the GDB serial port, packetising it if necessary.
- Return values
-
size_t | Number of characters still remaining in buffer |
- Note
- Data flows from user uart TX buffer to UART0 either during uart_write() call (via notify callback) or via task callback queued from ISR. We don't do this inside the ISR as all the code (including packetising) would need to be in IRAM.
◆ gdbWriteConsole()
Write a block of data to the GDB console.
- Parameters
-
- Return values
-
size_t | Always returns length |
- Note
- Data is encoded as a single 'O' packet. Should only be used when GDB is attached.