Comments (3)
You are welcome to adapt the lib to the STM32, but I am afraid it may not be that easy. With the exception of the async TCP stuff - that is running on ESP8266 et al. - the code makes heavy use of multitasking based on RTOS (or pthreads in the case of the Linux TCP client). This would have be migrated to whatever is possible on the STM32.
from emodbus.
Yeah I think you are right, I saw you could #define HAS_FREERTOS 0
and hoped that enabled another implementation but now I've had a proper look at the code it appears to just disable the RTU functionality?
I do believe STM32 has a FreeRTOS implementation but doesn't use it by default and I'm not using it in my project so I probably wont have time to work on this.
Thanks anyway. Feel free to close this or keep it open as you see fit.
from emodbus.
#define HAS_FREERTOS 0
is swapping out everything except the AsyncTCP stuff (for ESP8266) and the Linux TCP client code.
from emodbus.
Related Issues (20)
- TCP03example2 not compiling HOT 1
- ModbusTCP without ServerID HOT 1
- Modbus TCP/IP server over Ethernet not compiling on Arduino environment HOT 12
- ModbusBridgeEthernet does not work HOT 5
- TCP request are dropped HOT 12
- Issue with ModBusTCP and data request HOT 4
- FC0x02 Read Discrete Inputs HOT 41
- Frequent Core Panic: Exception was unhandled & Heap Poisoning HOT 13
- Help in regards to porting to STM32
- RTU Bus collisions with many devices on the same bus HOT 26
- Timeouts when polling 2 different Modbus devices right after one another HOT 22
- list of edge cases and do not try scenario HOT 2
- Help to use this library with an anemometer ultrasonic HOT 6
- Some problem with this sketch
- Mismatch between response and requist HOT 12
- Interruption of Rs485 Modbus with the RTC connected with I2C HOT 1
- Why using Ethernet repo of Max GErhardt in stead of arduino-libraries? HOT 3
- Compile-problem HOT 15
- Documentation and Implementation Discrepancy for Function Codes FC10 and FC0F HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emodbus.