GithubHelp home page GithubHelp logo

Comments (4)

forg0ne avatar forg0ne commented on August 27, 2024

Thank you for reporting this.
Unfortunately, there is no easy way for us to resolve it.
We are reluctant to include a dependency on uC-CPU for legacy support reasons.
Neither can we use INT64U because it is only defined for a couple of ports.

Because this is an edge-case, the best approach in our opinion is to document it as an errata with a workaround for those who encounter it.

from uc-os2.

forg0ne avatar forg0ne commented on August 27, 2024

Errata for uCOS-III can be found here.

from uc-os2.

heyneman avatar heyneman commented on August 27, 2024

@forg0ne Just for my understanding, why would adding a typedef <...> OS_ADDR line in os_cpu.h (per port) not be an easy way to resolve it?

Then OSMemCreate() can use that type internally rather than assuming 32b.

from uc-os2.

forg0ne avatar forg0ne commented on August 27, 2024

@heyneman There are a couple of issues that hold us back from adding this change:

  1. The sheer number of ports makes it infeasible to test the change for each port.
  2. We would be changing a function signature for a product that has a long history of use in safety-critical applications. This is something we would prefer to avoid if possible due to the impact it may have on certification.

The vast majority of architectures we target are 32-bit. For the exceptions, such as ARM64, the workaround can be applied on a case-by-case basis by the end-user.

from uc-os2.

Related Issues (15)

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.