Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.19 KB

getting-started.md

File metadata and controls

42 lines (29 loc) · 1.19 KB

Getting started

EmbSIM is under active development. See the project status for implemented behavior, evidence and limitations.

Build the command line

cmake --preset dev && cmake --build --preset dev && ctest --preset dev --output-on-failure

Run an example headless

./build/dev/bin/embsim run examples/button-led/project.json --until 50ms --json
./build/dev/bin/embsim run examples/button-led/project.json --scenario examples/button-led/scenarios/press.json

Open the workbench in a browser

./build/dev/bin/embsim serve examples/button-led/project.json --open

The desktop application (desktop/) wraps the same workbench; see ui/README.md for development.

Design a circuit

The Schematic Studio guide covers connected auto-layout, smart routing, preview/apply/undo, alignment, search and navigation.

Run firmware

./build/dev/bin/embsim run examples/bluepill-button-led/project.json \
  --scenario examples/bluepill-button-led/scenarios/press.json

A Blue Pill runs the example's firmware with a button, a transistor and LED, and a serial terminal. Firmware covers building and debugging it.