We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1dd7d9 commit 96a9754Copy full SHA for 96a9754
src/esp-idf/README.md
@@ -24,6 +24,15 @@ namely:
24
If you already have other components you may just add the reference to the newly
25
added component.
26
27
+- As the ESP-IDF does not provide a `nanosleep` function in its SDK, you should add
28
+ this in your project so you will be able to find it at linking time, for example:
29
+
30
+```
31
+int nanosleep(const struct timespec *req, struct timespec *_Nullable rem) {
32
+ return usleep(req->tv_sec*1000 + req->tv_nsec / 1000);
33
+}
34
35
36
Now you are almost ready to use libmodbus in your project!
37
38
If you desire to use the library for serial communication, you will need to do a few
0 commit comments