Comments (3)
Thanks for providing this information - currently we don't support the 'C' extension but if this is something of interest to you then we can add it to our backlog. Alternatively if you wish to see support sooner then I would encourage you to submit a pull request with the necessary modifications.
from freertos-kernel.
Hi, @RichardBarry I may not agree with you.
see risc-v demo below, all the gcc options are "-march=rv32imac", so at least the demo developers did NOT known the information that "currently we don't support the 'C' extension ". this will definitely result in a exception in long term
https://github.com/FreeRTOS/FreeRTOS/blob/8e36bee30eef2107e128edb58e83ee46e8241a91/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/.cproject#L88
I think there two ways for it:
- explicitly claim that “c” extension NOT is supported yet somewhere easy to be seen
- I will try to PR as what I said in the first comment
from freertos-kernel.
Indeed the addition by the instruction size needs to be different for each trap handler. In this case the addi a1, a1, 4
should go under test_if_environment_call
. The instruction size of ecall
is always four.
from freertos-kernel.
Related Issues (20)
- [Feature Request] The number of system calls needs to support the sizeof(uintptr_t) HOT 4
- [DOC] HOT 1
- Will timer task be created twice for smp x2 freertos HOT 1
- [Feature Request] Queue Sets with ability to add the same object to several Sets
- [BUG] Premature changing of pxCurrentTCB BEFORE actual context switch in Win32/64 Port HOT 1
- [BUG] Violation of MISRA2012 rule 17.11 - A function that never returns should be declared with a _Noreturn function specifier HOT 6
- [BUG] Violation of MISRA 2012 Rule 5.5: Identifiers shall be distinct from macro names HOT 3
- Minimize the use of the taskENTER_CRITICAL and taskEXIT_CRITICAL HOT 3
- [DOC] xQueueOverwrite Queue Length HOT 2
- [BUG] Missing `extern "C"` guard in MSVC portmacro.h HOT 1
- [BUG] Violation of MISRA 10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category HOT 2
- [BUG] vTaskDelay raises configASSERT when SMP is on HOT 2
- [Feature Request] Add CodeSonar example to the repository HOT 1
- FreeRTOS posix port hangs when issuing interrupt-safe calls from an external thread HOT 3
- [BUG] FreeRTOS install with Pico-SDK fails (CMAKE_C_COMPILER_OBJECT) HOT 1
- [BUG] I used Posix gcc to compile on glibc 2.24 and gcc 6.3.0, but failed to compile the demo HOT 5
- [BUG]traceMALLOC() memory count is inaccurate HOT 3
- [BUG] SMP mode - vTaskCoreAffinitySet does not yield HOT 3
- [BUG] __VFP_FP__ Macro Does Not Correctly Indicate Floating Point Enabled for ARM Targets HOT 1
- [BUG] When configUSE_PREEMPTION=0, removing own task does not switch to another task 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 freertos-kernel.