-
Notifications
You must be signed in to change notification settings - Fork 3k
Add DEVICE_SERIAL_FC guards to serial HAL API #10994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Functions related to serial flow control should not be exposed if DEVICE_SERIAL_FC is not defined * serial_set_flow_control, * serial_cts_pinmap, * serial_rts_pinmap.
@fkjagodzinski, thank you for your changes. |
Fix undefined references to serial_set_flow_control.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CI started |
Test run: FAILEDSummary: 2 of 4 test jobs failed Failed test jobs:
|
After adding DEVICE_SERIAL_FC guards to serial_api.h serial_set_flow_control is not available. In case of this implementation, this function is a no-op and may be safely removed.
After adding DEVICE_SERIAL_FC guards to serial_api.h serial_set_flow_control is not available. In case of this implementation, this function is a no-op and may be safely removed.
According to comment in the implementation this target supports the hardware flow control on UART1 peripheral. This patch fixes build errors after adding DEVICE_SERIAL_FC guards to hal/serial_api.h.
@0xc0170 @jamesbeyond @mprse I pushed some fixes -- build failures should be resolved now. Could you take another look and re-review? I'm not sure about the fix for mbed-os/targets/TARGET_RDA/TARGET_UNO_91H/serial_api.c Lines 371 to 372 in 28eb39c
|
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
Functions related to serial flow control should not be exposed if
DEVICE_SERIAL_FC
is not definedserial_set_flow_control
,serial_cts_pinmap
,serial_rts_pinmap
.The
tests-mbed_hal_fpga_ci_test_shield-uart
is also updated here.This patch should fix build errors found here: #10965 (comment).
Pull request type
Reviewers
@0xc0170 @mprse
Release Notes