An RTOS is a Real-Time Operating System, a type of operating system that is designed to satisfy, possibly hard or firm, timing constraints. An RTOS is most likely to be used in in verifiable or safety critical systems. Such systems arise most frequently in the medical, automotive and defense industries
Questions tagged [rtos]
650 questions
0
votes
1 answer
RTOS dependency on toolchain and target
Considering any RTOS source code there are couple of files that are specific to 1-Target 2-Compiler. There can be a minimal dependency of the word-size of target controller, interrupt calling the kernel tick function etc. Are there any other…

Ginu Jacob
- 1,588
- 2
- 19
- 35
0
votes
2 answers
Reduce resource usage of an Idle task
I find that in uC/OS-II RTOS, there is an idle task that gets executed when no other task is ready to run. If an idle task can consume resources, how can we reduce it ?

Karthik Balaguru
- 7,424
- 7
- 48
- 65
0
votes
1 answer
Thread Context of main() after Kernel start
Considering a code base where we have a main(). After calling the kernel start function, we have the OS running.
Now in the context of which thread does the code snippet after the kernel start function call runs?
int main()
{
/* DO SOMETHING…

Ginu Jacob
- 1,588
- 2
- 19
- 35
0
votes
2 answers
Semaphore.h without RTOS
I am wondering if i can use a semaphore and mutex with Linux OS programmed in C++ with the API semaphore.h.
I am not yet in code development/writing phase but the goal is to have a readout on a receiver which sends out asynchronous binary data at a…

iBeyondPower
- 357
- 1
- 5
- 8
0
votes
3 answers
Interfacing peripheral drivers with RTOS
For one of my project the controller selection made was STM32L1 series. ST provides the drivers for USB, I2C, SPI etc. So while making a decision on RTOS is there any consideration needed to be given to the drivers. Or in another way after deciding…

Ginu Jacob
- 1,588
- 2
- 19
- 35
0
votes
2 answers
Advice on RTOS for AVR?
I need a very tiny RTOS for AVR similar to mRTOS which just has two files (mrtos.h and mrtos.c).
Can anyone please provide any advice?

Fulrus
- 801
- 1
- 7
- 13
0
votes
2 answers
Does STACK_SIZE of a task affect the task switching delay
If i have two tasks TASK_A and TASK_B.
Stack size of TASK_A = 300
Stack size of TASK_B = 600
Does context switching time for TASK_A and TASK_B have any dependency on their respective stack size.

0xAB1E
- 721
- 10
- 27
0
votes
1 answer
suspendThread in windows
Keeping my question short... i am writing simulation for a RTOS. As usual the main problem comes with context switch simulation. In case of interrupts it is really becoming hard not to deviate from 'Good' coding guidelines.
Say Task A is running…

Risaldar GreenWitch
- 13
- 2
0
votes
1 answer
Write code for Intel Edisons' Quark CPU
Is there any way to write code for the Quark CPU on the Intel Edison and establish a communication between the Quark CPU, which is - as far as i know - running an RTOS, and the Atom CPU, which is running Yocto.
I've googled for some tutorials but…

duckhunter
- 1
- 2
0
votes
3 answers
Design patterns commonly used for RTOS (VXworks)
Can anyone help me on design patterns commonly used for RTOS?
In VXworks, which pattern is more preferable?

Sijith
- 3,740
- 17
- 61
- 101
0
votes
5 answers
single common address space for all tasks
How to give single common address space for all tasks. IF its happening like this can we avoid virtual to physical memory mapping.
I f all task sharing common address space then how can we avoid virtual to physical memory mapping.

Sijith
- 3,740
- 17
- 61
- 101
0
votes
1 answer
transfer std::shared_ptr via mailbox
We have a Real Time Operating System which offers Inter-Task-Communication by so called Mailboxes.
A Mailbox is described by a Handle of type RTKMailbox.
The API looks like:
int RTKPut(RTKMailbox h, const void* data);
int RTKGet(RTKMailbox h, void*…

AndiR
- 179
- 10
0
votes
0 answers
Does using lock (instead of bare mutex) makes sense for condition variable when exceptions are disabled?
Answers to this question give great explanation about the rationale behind using locks instead of bare mutexes for condition variables in C++11 (or Boost) - C++11: why does std::condition_variable use std::unique_lock?
I'm designing an RTOS for…

Freddie Chopin
- 8,440
- 2
- 28
- 58
0
votes
1 answer
Green Hills Integrity Dynamic memory allocation
I have a requirement which need to repeatedly allocate and deallocate memory. Currently trying it on Integrity ARM simulator.
I have created two tasks :
First task(encoder): receives video data from a socket and encodes it and send it to second…

shalini A
- 1
- 3
0
votes
1 answer
Arduino Library in ChibiOS
Can I use an Arduino library such as OneWire in the ChibiOS RToS?

major4x
- 432
- 3
- 15