boards: opta: RS485 support

This set of changes enables the RS485 hardware connected to usart3 and
provides some overlays that allow for easily running the modbus
rtu_client and rtu_server samples on Opta.

Signed-off-by: Federico Di Gregorio <fog@dndg.it>
This commit is contained in:
Federico Di Gregorio 2024-10-17 15:28:03 +02:00 committed by Anas Nashif
commit f8ab959d7e
5 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,12 @@
/*
* Copyright (c) 2024 DNDG srl
*
* SPDX-License-Identifier: Apache-2.0
*/
&usart3 {
modbus0 {
status = "okay";
};
status = "okay";
};