mix ehls.build (Elixir HLS v0.1.0)

Copy Markdown View Source

Builds the application for its target's board: the target's steps (on the Tang Primer 25K the circuits, the SoC, AtomVM and the application's pack), each only when its inputs changed since it last ran (EHLS.Build):

mix ehls.build
mix ehls.build --dry-run          # what would run
mix ehls.build --only soc         # one step alone (--only kernels,pack for two)
mix ehls.build --force            # every step (or those of --only) whatever changed

The target is found among the dependencies (EHLS.Target); the application's settings are in config :elixir_hls (EHLS.Project), the machine's paths in EHLS.Machine. Then mix ehls.run sends it to the board, mix ehls.flash --standalone writes it into the flash.