Hi,
I'm search for the Arduino OS.
But, so lack information.
So, What is Arduino OS?
is it RTOS?
If that RTOS, What is RTOS name? and is it preemptive? or non-preemptive?
p.s : Please tell me answer Not custom OS only basics OS in Arduino.
Hi,
I'm search for the Arduino OS.
But, so lack information.
So, What is Arduino OS?
is it RTOS?
If that RTOS, What is RTOS name? and is it preemptive? or non-preemptive?
p.s : Please tell me answer Not custom OS only basics OS in Arduino.
It uses Windows v11.8
KenF:
It uses Windows v11.8
Naughty. ;D
do you mean
genesigzero:
p.s : Please tell me answer Not custom OS only basics OS in Arduino.
I wonder if you are really asking whether the Arduino has an OS ?
And the answer is NO, it does not. For the sort of tasks an Arduino is used for an OS would just get in the way.
...R
Ah.. Well deciphered ![]()
I think you are right, and the OP is asking whether the Arduino comes with an OS built in, ... in which case the answer is NO
But... Is it possible to run your code within some sort of multitasking system, the answer would have to be Yes. I've looked at several of them, not just ArdOS that I just found e.g. FreeRTOS is available for Arduino though I've not tried it ![]()
genesigzero:
or non-preemptive?
Non preemptive.
[quote author=Nick Gammon link=msg=2073425 date=1422959669]
Non preemptive.
[/quote]It's an OS that uses ISRs that don't I
KenF:
It's an OS that uses ISRs that don't I
Well, perhaps, KenF.
Robin2:
I wonder if you are really asking whether the Arduino has an OS ?
And the answer is NO, it does not. For the sort of tasks an Arduino is used for an OS would just get in the way....R
Then...What is the program to operate the Arduino?
genesigzero:
What is the program to operate the Arduino?
Well it's a microcontroller: when you power it up it starts the program you loaded, which is the machine version of the C you compiled in the IDE.
So "the program to operate" it is simply your application, no system involved.
When I was young, even big expensive computers did not have an operating system. The compiler produced code which was loaded into the computer (that was my job!) and it ran that code until you wanted to run different code. You hit a "reset" button and loaded in new code.
That is what the Arduino is like.
And if you tripped and spilled the punched cards all over the floor, there went a few hours trying to sort them out.
genesigzero:
Then...What is the program to operate the Arduino?
As @JimboZA has said
So "the program to operate" it is simply your application,
The only reason a PC has an operating system is so that it can give the appearance of running several programs at the same time and share the machine resources between them. The Arduino can only run one program.
...R
JimboZA:
which is the machine version of the C you compiled in the IDE.
Actually, it's C++. ![]()
genesigzero:
Then...What is the program to operate the Arduino?
You write a single program in C++, which gets loaded into the flash memory of the processor. When it powers up or resets, there is no extended boot-up process: it just starts running your program right away. There are built-in functions in the language to handle the built-in devices like serial IO, digital IO, analog inputs, and PWM outputs.
If you add shields to give the hardware more capabilities, like SD card storage, networking, real time clock, etc. the software to talk to them is brought into your program in the form of libraries.
Operating systems generally provide two main functions: manage the operation of programs, enabling multiple applications to be started, stopped, and run at the same time; and manage hardware to coordinate access to the hardware from multiple applications and to provide a high level abstract method of accessing the hardware. Since the Arduino can run only a single program, there is no need for the program management portion of an operating system, and the rich set of available libraries eliminates the need for the hardware abstraction portion of an operating system.