NuMaker RS485 lib

Dependents:   NuMaker-mbed-modbus-sample

Files at this revision

API Documentation at this revision

Comitter:
morgandu
Date:
Mon May 13 08:51:47 2024 +0000
Parent:
5:3725fa015f1d
Commit message:
Add for NuMaker-IoT-M487 board

Changed in this revision

nvt_rs485.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/nvt_rs485.cpp	Tue Mar 14 17:36:56 2023 +0800
+++ b/nvt_rs485.cpp	Mon May 13 08:51:47 2024 +0000
@@ -24,7 +24,7 @@
     lock();
     
     //Implement RS485-AUD mode for various platform of Nuvoton
-#if defined(TARGET_NUMAKER_PFM_NUC472) || defined(TARGET_NUMAKER_PFM_M453) || defined(TARGET_NUMAKER_PFM_M487) || defined(TARGET_NUMAKER_IOT_M467)
+#if defined(TARGET_NUMAKER_PFM_NUC472) || defined(TARGET_NUMAKER_PFM_M453) || defined(TARGET_NUMAKER_PFM_M487) || defined(TARGET_NUMAKER_IOT_M467) || defined(TARGET_NUMAKER_IOT_M487)
     /*
     Program Sequence example:
      1. Program FUNCSEL in UART_FUNCSEL to select RS-485 function.