Zerynth ToolchainΒΆ
The Zerynth Toolchain (ZTC) is a command line tool that allows managing all the aspects of the typical Zerynth workflow.
Such workflow extends across different areas of the Zerynth programming experience:
- Managing projects
- Discovering, managing and virtualizing devices with virtual machines
- Compiling projects into executable bytecode
- Uplinking bytecode to virtualized devices
- Adding packages (e.g. libraries, drivers, device classes...) to the current installation
- Turn projects into libraries and publish them to the community repository
The workflow is made possible by the Zerynth backend that provides a set of REST API called by the ZTC. Therefore, most ZTC commands require an authentication token to act on the Zerynth backend on behalf of the user. Such token can be obtained by specific commands.
A typical workflow consists in:
- Creating a project
- Choosing a target device
- Preparing the device to execute Zerynth code by loading a virtual machine on it, a process called “virtualization”
- Adding Python files (and optionally other files) to the project
- Compiling the project for the target device obtaining executable bytecode
- Uplinking the bytecode to the virtualized device
- Inspecting the output of the device via serial monitor
Contents:
- Synopsis
- Account related commands
- Projects
- Devices
- Discover
- Device configuration
- Device Registration
- Device Registration by UID
- Device Raw Registration
- Virtualization
- Raw Virtualization
- Serial Console
- Serial Console (raw)
- Supported Devices
- Erase of the device flash memory
- Execute a device custom action
- Configured Devices
- Add Configured Devices
- Remove Configured Devices
- Compiler
- Uplink
- Uplink (raw)
- Uplink by probe
- Link
- Device Configuration and Mass Programming
- Virtual Machines
- Custom Virtual Machines
- Packages
- Amazon Web Services
- Miscellanea
- Provisioning