Comments (4)
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.
Errata for uCOS-III can be found here.
from uc-os2.
@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.
@heyneman There are a couple of issues that hold us back from adding this change:
- The sheer number of ports makes it infeasible to test the change for each port.
- 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)
- ICS Advisory (ICSA-21-119-04) HOT 1
- file "cpu.h" is missing... HOT 1
- unable to generate OSTickISR using qemu-system-ppc -M bamboo -cpu 440epb HOT 1
- 'OS_FLAG_CONSUME' implementation cause race condition HOT 3
- license.txt doesn't contain the license text HOT 3
- SysTick Current Value Register is not initialized in ARM-Cortex-M port HOT 1
- Critical section issue in OSTimeTick HOT 1
- Assessment of the difficulty in porting CPU architecture for the uC-OS2 project. HOT 1
- Assessment of the difficulty in porting CPU architecture for the uC-OS2 project. HOT 2
- the problem of the OS_CORE.C file HOT 1
- Port Required for ARMv8 HOT 2
- Problem with Flag Pending
- OS2: Add BASEPRI protection at the end of OS_CPU_PendSVHandler() according to Cortex-M7 errata
- Add CMSIS compliant name for PendSV and Systick for Cortex-M ports
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 uc-os2.