Giter Club home page Giter Club logo

Comments (3)

Miq1 avatar Miq1 commented on June 18, 2024

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.

bobemoe avatar bobemoe commented on June 18, 2024

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.

Miq1 avatar Miq1 commented on June 18, 2024

#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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.