Skip to content
Commit dfd0ee6d authored by Jaeden Amero's avatar Jaeden Amero Committed by Rob Walton
Browse files

hal: Update to new serial API



This version of the HAL includes updates to the serial API, so update
our use of the HAL Serial API at the same time.

The new serial API doesn't provide a generic initialization function. As
such, we add a new platform-specific "give me a serial instance"
function, get_example_serial(), for use by examples needing a single
serial port. This allows examples to be portable across targets that
have an implementation of get_example_serial(). Only the
mdh-arm-an552-mps3 target provides an implementation of
get_example_serial() so far.

Signed-off-by: Jaeden Amero's avatar <jaeden.amero@arm.com>
parent 7b224839
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment