This library meant to allow mbed boards (tested on F401RE) to act as modbus slave. I don't own this work, I just made some simple modifications so that it runs on mbed. My modification were labeled with "afdhal". Summary: Modified modbus Arduino library for mbed. See readme for more details. Feel free to use it as you want. Special thanks to the original authors.

Dependents:   ModbusRTU-RS232 FoodComputerARM-alpha

Revision:
1:35fdc7056f66
Parent:
0:6262fc7582a9
--- a/readme.txt	Thu Jul 21 19:48:35 2016 +0000
+++ b/readme.txt	Fri Jul 22 09:44:55 2016 +0000
@@ -1,7 +1,7 @@
 I found this modbus arduino library from:
 https://www.cooking-hacks.com/documentation/tutorials/modbus-module-shield-tutorial-for-arduino-raspberry-pi-intel-galileo/
 
-Then, I modify the library so that it is compatible with my mbed enabled Nucleo F401RE by using MODSERIAL:
+Then, I made a small modification to the library so that it is compatible with my mbed enabled Nucleo F401RE by using MODSERIAL:
 https://developer.mbed.org/users/Sissors/code/MODSERIAL/
 
 and Millis library:
@@ -15,4 +15,6 @@
 Andy Kirkham 
 Erik Olieman
 Lee Yaping
-and all others that I missed
\ No newline at end of file
+and all others that I missed
+
+Feel free to use it as you like. ;)
\ No newline at end of file