An operating system (OS) is software that manages computer hardware. Common functions include providing API calls to user applications so they may use hardware without requiring low-level access, memory management and multitasking. Linux is an example of an operating system commonly found on both PCs and within embedded systems.
Questions tagged [os]
28 questions
20
votes
4 answers
PIC Microcontroller Programming on Mac OS X
How can I start PIC Microcontroller Programming on Mac OS X. Can I use an Arduino connected to my Mac has a programmer? Or do I need to buy specific programmer board and serial adapters?

littlebirdceo
- 4,697
- 8
- 41
- 61
14
votes
3 answers
What are the benefits of a non-preemptive OS? and the price for these benefits?
For a bared metal MCU, Comparing to the homemade code with background loop plus timer interrupt architecture, what are the benefits of a non-preemptive OS? What among these benefits are attractive enough for a project to adopt a non-preemptive OS,…

hailang
- 185
- 1
- 8
8
votes
3 answers
What is the difference between context switching and interrupt handling?
I'm an embedded developer. I haven't worked with RTOS/linux. I was going through RTOS concepts when I stumbled upon 'context switching'. I understand that when context switch occurs, all the registers along with PC(Program Counter) gets saved in…

seetharaman
- 476
- 1
- 6
- 17
7
votes
1 answer
What Operating Systems are available for Arduino?
This question seems to suggest that people are developing Operating Systems for the Arduino platform.
What Arduino OS projects are you aware of?
Please list only one project or OS per answer, and give a short list of goals or features of that…

Adam Davis
- 20,339
- 7
- 59
- 95
5
votes
2 answers
Role of syscalls.c
What is the role of syscalls.c file in GNU ARM(STM32 for instance) based projects? I found 2 ways of successfully building the project
Delete syscalls.c and include -specs=nosys.specs in the linker flags
Simply include syscalls.c
What is the…

Supreeth
- 75
- 3
- 8
4
votes
1 answer
Basic OS definitions and implementations
The Rowley Crossworks package (includes compiler, IDE, debugging interface, etc.) also includes something called the Crossworks Tasking Library (CTL). From their website:
CrossWorks Tasking Library, known as CTL. CTL is a royalty-free tasking…

NickHalden
- 4,167
- 3
- 31
- 40
4
votes
3 answers
What are the details about link files and startup code one needs to know to write an Operating System for a uC?
I know some people will say I don't need to write an OS because there are lots of options out there. But I'm not interested in using an OS to solve an specific problem. I want to write one by myself to learn how to do it.
I know a lot of things…
user49894
3
votes
2 answers
Task switching on Cortext-M3 crashes after IRQ
I've used an exokernel model for my ARM OS. When a task wants to read from a UART it calls a library function, which, if there's no data, makes a SVC call to block the task (which causes the kernel to put the task in the wait queue for that IRQ and…

Isvara
- 514
- 4
- 20
3
votes
1 answer
Is there any single-board computer/system-on-a-chip with good documentation for developing bare metal?
I always wanted to develop my own crappy operating system, but the many weird legacy quirks of the x86/PC platform kept me from doing so (e.g. real vs protected mode, only low resolutions available in VGA/VESA, etc.). Now I realized, that maybe one…

Wolf
- 165
- 2
3
votes
2 answers
What is capacity in the context of scheduling algorithms in Real Time Systems?
In Real Time Systems, scheduling algorithms often speak about Capacity of a Task.
For example: In Polling Server Algorithm, the Capacity of the Server Task is lost when there are no aperiodic Tasks. Or, in Sporadic Server Algorithm, the Capacity of…

Xpleria
- 400
- 7
- 17
3
votes
1 answer
What processor registers are saved and recovered in a "context switch"
A fundamental component of any OS is multi-tasking. It must be able to switch between tasks/processes.
What registers are required to be saved and restored when performing a context switch? Where are their values saved to?

quantum231
- 11,218
- 24
- 99
- 192
2
votes
3 answers
What is the best Arduino Operating System?
What is the best Arduino Operating System?

littlebirdceo
- 4,697
- 8
- 41
- 61
1
vote
1 answer
RTOS understanding and communication
We are working on a system that will need some predictive emergency stop. As a possible solution the RTOS was mentioned. Not sure if RTOS is a way to go, might just be that we do not have full understanding of the flow of it.
So there is a process…

birinorama
- 11
- 1
1
vote
1 answer
What single board computer (SBC) solution would allow me to cut power instead of powering down?
I'm building a circuit with a single on/off switch.
"On" turns on the circuit, which includes a SBC currently running on Windows that runs the GUI (Labview).
"Off" powers of the circuit, including the SBC.
I'd like to keep a single switch that turns…

Seth Shill
- 71
- 1
- 3
- 9
1
vote
2 answers
Linux (OS) on Custom Hardware (Custom Motherboard)
We are designing and producing our custom high-speed boards consisting of FPGA and gigabit ethernet signals. Hence, we are not professional for high-speed motherboard design but know some issues like signal integrity and other PCB design staff.
We…

onrep
- 41
- 7