This repository serves as the base environment for the Torizon OS setup on our embedded platform. It includes all configuration, scripts, and dependencies required to build and deploy Torizon-based applications, with integrated firmware control.
This submodule contains the low-level firmware used for device control. It is maintained in a separate repository and included here for integration with the Torizon stack.
To clone this repository including the submodule:
git clone --recurse-submodules https://github.com/fabns-nano/torizonOS.gitIf you already cloned it without the submodules:
git submodule update --init --recursiveAdd some files to be untracked:
git update-index --assume-unchanged .vscode/tasks.json
git update-index --assume-unchanged .vscode/settings.jsonIf needed, you can track it back by using:
git update-index --no-assume-unchanged .vscode/tasks.json
git update-index --no-assume-unchanged .vscode/settings.jsonIf this ocurrs, you can change the number on jobs on CMake by changing on "tasks.json" on label "build-debug-arm64". Change it from "-j$(nproc)" to "-j4" or other value
While using the Torizon IDE, the build process in Debug mode is done by the debbuger script. But if needed to create a docker image for production enviroment, this can be done by doing:
docker buildx build --platform linux/arm64/v8 -t logins01/torizon_os_firm:v0.0.0 .
docker save logins01/torizon_os_firm:v0.0.0 | gzip > torizonos-firmware.tar.gzThis process may take a time