Getting Started Documentation Tutorials API BitBucket
Studs

Studs

Build reliable embedded software with Fantom

Documentation Tutorials BitBucket

$ fan studs init hello
Init project: ~/hello [Yn]

$ cd hello
$ src/build.fan
compile [hello]
  Compile [hello]
    FindSourceFiles [1 files]
    WritePod [file:~/hello/lib/fan/hello.pod]
BUILD SUCCESS [34ms]!

$ fan studs asm
Assemble [rpi3]
  Downloading rpi3 system... 100%
  Install rpi3 system...
  Build linux-armv6-vfp-hflt jre [compact1]...
  Stage rootfs...
  Merge rootfs...
  Assemble firmware image...
  Release:
    ~/hello/studs/releases/hello-1.0.0-rpi3.fw [25MB]
ASM SUCCESS [24.77sec]!

$ fan studs burn
Use 15GB memory card found at /dev/rdisk3? [Yn]
Burning hello-1.0.0-rpi3.fw to /dev/rdisk3...
100%
Elapsed time: 2.034s