Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NuMaker-mbed-modbus-sample NuMaker_NuWicam_Lite NuMaker-mbed-modbus-sample
Fork of Modbus by
Revision 14:f55bf6e86868, committed 18 months ago
- Comitter:
- morgandu
- Date:
- Mon May 13 08:55:07 2024 +0000
- Parent:
- 13:69ee21df79f1
- Commit message:
- Support NuMaker-IoT-M487
Changed in this revision
| portserial.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/portserial.cpp Tue May 02 17:47:16 2023 +0800
+++ b/portserial.cpp Mon May 13 08:55:07 2024 +0000
@@ -45,7 +45,7 @@
NvtRS485 pc(PF_13, PF_14, PF_11);
#elif defined(TARGET_NUMAKER_PFM_M453) // for M453 board
NvtRS485 pc(PE_8, PE_9, PE_11);
- #elif defined(TARGET_NUMAKER_PFM_M487) // for M487 board
+ #elif defined(TARGET_NUMAKER_PFM_M487) || defined(TARGET_NUMAKER_IOT_M487) // for M487 board
NvtRS485 pc(PB_3, PB_2, PB_8);
#warning "Notice: It has no RS485 port on NUMAKER-PFM-M487 board."
#warning "But, you can connect with a RS485 daughter board to (D1, D0, A2) PB_3(TX), PB_2(RX) and PB_8(RTS) pin."
