Stratify Toolbox

A printf()-ing awesome flash & debug tool

Mar 02, 2020

Project update 1 of 9

SDK Setup & Configuration

by Tyler G

With our easy-to-use SDK, you will find yourself building and installing new applications in no time at all. Just a few simple steps will have you up and running on Windows 10 or MacOS in less than ten minutes. (Linux support coming soon.)

Prerequisites

Windows

You need to make sure you have git bash and cmake installed.

Then you can run these commands in a git bash terminal to install sl.

mkdir -p /C/StratifyLabs-SDK/Tools/gcc/bin
curl -L -o /C/StratifyLabs-SDK/Tools/gcc/bin/sl.exe 'https://stratifylabs.page.link/slwin'
chmod 755 /C/StratifyLabs-SDK/Tools/gcc/bin/sl.exe
echo 'export PATH=/C/StratifyLabs-SDK/Tools/gcc/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile

Mac

Install the Xcode command line tools using:

xcode-select --install

Then you can run these commands in a git bash terminal to install sl.

mkdir -p /Applications/StratifyLabs-SDK/Tools/gcc/bin
curl -L -o /Applications/StratifyLabs-SDK/Tools/gcc/bin/sl 'https://stratifylabs.page.link/slmac'
chmod 755 /Applications/StratifyLabs-SDK/Tools/gcc/bin/sl
echo 'export PATH=/Applications/StratifyLabs-SDK/Tools/gcc/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile

Installing the SDK

First make sure sl is installed and working correctly with:

sl --update
slu
sl --version

You will see something like this after the last command

# about

## output
- publisher: Stratify Labs, Inc
- version: 0.45
- gitHash: 90b91bf
- apiVersion: 3.8.0b
- apiGitHash: 401fce3

Building & Running HelloWorld

sl sdk.install
sl app.create:name=MyTool,from=https://github.com/StratifyLabs/ToolboxHelloWorld.git
sl app.build:path=MyTool
sl task.signal:id=1,signal=INT # tell the OS to jump to development mode (make sure Toolbox USB is connected)
sl app.install:path=MyTool,run,terminal

That’s it. Your new tool will be running on the Toolbox and you can modify the code to make it do whatever you like using the C/C++ APIs.


Sign up to receive future updates for Stratify Toolbox.

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects