Go Down

Topic: Unos 0.0.1 - A Simple OS for the Arduino (Read 22273 times) previous topic - next topic

rockwallaby

I stayed in 'lurk' mode where I was waiting for Unos release 0.0.3 (in a new thread of course) which would hopefully have 'ls' and 'df' command.  :P
Paul - VK7KPA

goodinventor

rockwallaby, I am sure you have been waiting for such commands. I'll probably try to cut down on memory in the next release, then after that I'll start using interrupt handlers and memory-related commands. This program is not a library. It is designed to make simple tasks possible to execute without direct programming.

AWOL

Quote
It is designed to make simple tasks possible to execute without direct programming.
Have you looked at Firmata?
No real sense in reinventing the wheel.

goodinventor

Yes, I have. It is rather limited, though.

AWOL

Yes, I have. It is rather limited, though.
SimpleDigitalFirmata sketch 4830 bytes (which allows the user to set their own pinModes correctly) vs. Unos 0.0.2  5230 bytes.

goodinventor

Firmata was designed to interface with programs on the computer. My program is not designed to do that at all. As a matter of fact, in a future release I plan to interface with a touchscreen shield instead of serial.

Robin2

I stayed in 'lurk' mode where I was waiting for Unos release 0.0.3 (in a new thread of course) which would hopefully have 'ls' and 'df' command.  :P
I find dmesg very useful.

PLEASE don't encourage extra Threads

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

goodinventor

I improved on use of RAM. Attached is the code. The commands are the same as in Unos 0.0.2.

AWOL

Code: [Select]
char *command[NUMBER_OF_COMMANDS] = {"shutdown", "restart", "print", "pinwrite"}; // << enter your commands here<< These are # 0,1,2,3 & 4
int Pin[12] = {2,3,4,5,6,7,8,9,10,11,12,13};
Quote
I improved on use of RAM.
Hmmm.

Quote
I find dmesg very useful.
I'm looking forward to "lsusb".


vffgaston

Quote
I improved on use of RAM. Attached is the code. The commands are the same as in Unos 0.0.2.
As we say in spanish: "este niƱo no tiene abuela" (The boy hasn't any grandmother -he has to give applauses to himself)

 ;)

rockwallaby

Robin2 wrote:
Quote
PLEASE don't encourage extra Threads
I hope my sense of dryness did not elude thee.  :-[
Paul - VK7KPA

goodinventor

The Arduino Uno doesn't have a host USB port, so there is little point in having such a command.

Robin2

Robin2 wrote: I hope my sense of dryness did not elude thee.  :-[
It did not elude me, but I was concerned that others might take you literally - e.g. ...


The Arduino Uno doesn't have a host USB port, so there is little point in having such a command.
...R
Two or three hours spent thinking and reading documentation solves most programming problems.

goodinventor

Don't worry. I know better than that.

goodinventor

rockwallaby, the 'ls' command requires a storage device. What kind of storage device should I support?

Go Up