mix ehls.flash (Elixir HLS v0.1.0)

Copy Markdown View Source

Writes the board's flash, after mix ehls.build:

mix ehls.flash                    # the parts a run needs that differ from what the board holds
mix ehls.flash --standalone       # also the bitstream and the application: power on -> the application
mix ehls.flash vm lib             # these parts, whatever the board holds
mix ehls.flash --forget           # forget what the board holds (after writing it another way)

The parts are the target's (EHLS.Target.flash_images/1; on the Tang Primer 25K bitstream, vm, lib, app). What was written is recorded (EHLS.Flash), for mix ehls.run and the next mix ehls.flash. Option --no-build: as built.