mix ehls.run (Elixir HLS v0.1.0)

Copy Markdown View Source

Runs the application on its board:

mix ehls.run                      # build what changed, write the flash parts the run needs, run
mix ehls.run --seconds 30         # the console shown for 30 s (default 10)
mix ehls.run --no-build           # as built
mix ehls.run --no-flash           # trust what the board's flash holds

First mix ehls.build. Then the parts the target needs in the flash for a run (on the Tang Primer 25K AtomVM and its library) are written when they differ from what the board holds (EHLS.Flash): an AtomVM built for another SoC is never left there. Then the target sends the application and starts it; nothing else of the flash changes.