/wor·tiks/
Strange dynamic programming and scripting language that performs mathematical computations on a connected Raspberry Pi Pico (RP2040) through UART connectivity.
Before installing Uartix, make sure you have JDK 22 (or OpenJDK) installed on your system. Follow the steps below to get started on different operating systems and to build various components from the source.
.deb
File: Go to the release page and download the latest *.deb
file for Uartix.Install Uartix: Open your terminal and navigate to the directory where the .deb
file is located. Run the following command to install Uartix:
Terminal
sudo dpkg -i uartix_*.deb
.deb
package, you can now run the command uartix on your terminal..zip
File: Go to the release page and download the latest .zip
file for Windows..zip
file to C:\uartix
.C:\uartix\bin
to your Environment Path variables to ensure you can run Uartix from any command prompt.To install the Uartix firmware on your Raspberry Pi Pico, follow these steps:
BOOTSEL
button to enter flash mode.To build the interpreter:
Build
menu item and select Build Artifacts > Build
.On Ubuntu, to build the Uartix launcher, ensure you have Rust and cargo installed on your system. Follow these steps:
Terminal
sudo apt-get install mingw-w64
rustup target add x86_64-pc-windows-gnu
Terminal
cargo build --release
cargo build --release --target x86_64-pc-windows-gnu
To build the Uartix firmware from source, simply follow the steps below.
After successfully installing Uartix, you can interact with it via the command-line interface. The following guide outlines the basic usage and options available when running Uartix scripts from the CLI.
$ uartix -h
usage: uartix [-h] [-p {ttyACM0}] [-t] [files [files ...]]
Execute Uartix script files.
positional arguments:
files List of files to execute.
named arguments:
-h, --help show this help message and exit
-p {ttyACM0}, --port {ttyACM0}
Serial port device of the co-processor. (default: ttyACM0)
-t, --test Run test units. (default: false)
Position Arguments files — A list of Uartix script files to be executed. This argument can accept multiple file paths, allowing you to run several scripts sequentially.
help — Displays the help message, providing an overview of available commands and options. Use this option if you need quick guidance on how to use the CLI.
port — Specifies the serial port device connected to the co-processor. This option is useful if your co-processor is connected to a different serial port or if you have multiple devices connected.
test — Runs test units within the provided script files. This is useful for verifying the functionality of your scripts or modules. By default, this option is set to false, meaning test units are not executed unless explicitly requested.
example.utx
, you can use the following command:$ uartix example.utx
-p
or --port
option:$ uartix -p /dev/ttyUSB0 example.utx
-t
option:$ uartix -t example.utx