samples: lwm2m_client: enable HW flow control for WNC-M14A2A modem

The WNC-M14A2A modem is supposed to use HW flow control on the UART
connected to the MCU.  In the past, we were able to bypass this
requirement by using only the LTE-M firmware which supported pulling
the CTS line high via "send-ok" gpio.

This does NOT work for the LTE firmware.

Now that MCUX UART driver supports hw-flow-control setting, let's use
it in the modem overlay so that regardless of modem firmware
(LTE vs. LTE-M) the sample will "just work".

Signed-off-by: Michael Scott <mike@foundries.io>
This commit is contained in:
Michael Scott 2019-01-29 11:47:32 -08:00 committed by Kumar Gala
parent 3588b94b06
commit b0de8b88dd
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,7 @@
*/
&uart2 {
current-speed = <115200>;
hw-flow-control;
status = "ok";
wncm14a2a {
@ -15,7 +16,6 @@
mdm-keep-awake-gpios = <&gpioc 2 0>;
mdm-reset-gpios = <&gpioc 12 0>;
mdm-shld-trans-ena-gpios = <&gpioc 4 0>;
mdm-send-ok-gpios = <&gpiod 0 0>;
status = "ok";
};
};