-
Notifications
You must be signed in to change notification settings - Fork 1
ucosR
ucosR is a minimalistic operating system based on FreeRTOS kernel with a complete board support package and controlled by a console shell (rshell). The ucosR is compiled separately to allow for the addition of a custom FW without the necessity of compiling all Rimer FW interfaces.
Rshell controls devices through "software modules or groups" known as interfaces. These interfaces allow for organized management and interaction with various hardware functions. Users can get a list of all available interfaces by command "iface":
sys>iface
sys : System hardware control
utl : Command line utility
sd : SD card FAT control
...
Each interface is given a unique name, which can be selected by typing "name" followed by the colon in the command line.
sys>sd:
sd>
Each interface includes a dedicated help command that guides its functions. Use "help" or type '?' and press Enter.
sys>help
[ sys ]
reboot - System reboot
off - System power off
To receive system-wide help information, you can append any parameter to the help command:
sys>help a
[ \ ]
help - Show this help
? - Shortcut for help
...
Summary: This modular approach enhances the flexibility and usability of device control within software systems, allowing users to efficiently manage hardware functions through clearly defined interfaces.
Any command can be executed from another interface by specifying its interface followed by the colon and then the command name:
sys>sd:ls
file1.bas
script.rs
sys>
ucosR supports an interface path, which can be configured by the "path a" command. After the path is updated, you can use any command from the listed interface directly:
sys>path a sd
Saved: sd
Path updated.
sys>sd
file1.bas
script.rs
sys>