diff options
author | Chris Kay <chris.kay@arm.com> | 2020-08-07 15:58:17 +0100 |
---|---|---|
committer | jimqui01 <54316584+jimqui01@users.noreply.github.com> | 2020-09-08 11:37:54 +0100 |
commit | abfa1661623d92fae4aa32e6b966d559c3d0e8be (patch) | |
tree | 19f399ea38e512798653959e73f90ef8478b35d7 /debugger/include | |
parent | 4a1283d07b8c1760a49ea8585b1c00ae776ae721 (diff) |
cli: Remove dependencies on UART implementation
With the introduction of the I/O framework component, the CLI can now
refer to a standard output configured by the firmware for sending and
receiving UART data. This patch therefore moves any CLI-specific UART
platform interfaces to the I/O component with the standard input and
output streams.
Change-Id: Iac55f592b438a603193da568e16eaf39fca115cf
Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'debugger/include')
-rw-r--r-- | debugger/include/cli_platform.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/debugger/include/cli_platform.h b/debugger/include/cli_platform.h index f9ae03f7..2b983eba 100644 --- a/debugger/include/cli_platform.h +++ b/debugger/include/cli_platform.h @@ -65,15 +65,6 @@ void cli_platform_delay_ms(uint32_t ms); /*****************************************************************************/ /* - * cli_platform_uart_init - * Description - * Initializes the necessary hardware to send and receive characters. - * Return - * cli_ret_et: success if it works, something else if it fails. - */ -uint32_t cli_platform_uart_init(void); - -/* * cli_platform_uid_notify * Description * If system has a UID light, this function notifies it of activity on @@ -83,41 +74,4 @@ uint32_t cli_platform_uart_init(void); */ uint32_t cli_platform_uid_notify(void); -/* - * cli_platform_uart_get - * Description - * Receives a single character from the UART. Must support blocking and - * non-blocking receive operations. - * Parameters - * char *c - * Pointer to a char in which to place the received character. - * bool block - * If true, this function must not return until a character is - * received or the UART generates an error. If false, this function - * returns immediately regardless of whether or not a character was - * received. - * Return - * cli_ret_et: success if a character is read with no errors, error_empty - * if block==true and no characters are available, or some other error - * from the UART. - */ -uint32_t cli_platform_uart_get(char *c, bool block); - -/* - * cli_platform_uart_put - * Description - * Sends a single character on the UART. This function is blocking. - * Parameters - * char *c - * Pointer to character to send. - * bool block - * If true, this function must not return until a character is - * output or the UART generates an error. If false, this function - * returns immediately regardless of whether or not a character was - * output. - * Return - * cli_ret_et: success if it works, some other error if it doesn't. - */ -uint32_t cli_platform_uart_put(const char *c, bool block); - #endif /* _CLI_PLATFORM_H_ */ |