Skip to content

FM1Kit 0.5.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@ocean ocean released this 28 Oct 00:01
· 66 commits to main since this release

A pre-release for testing with more than one FM-1 (or other M-VAVE device) connected. It has been tested only with simulated devices; use 0.4.5 otherwise.

Added

  • Choosing a device when more than one is connected: FM1Updater.devices() lists every device that answers the handshake, and FM1Updater(transport:timing:device:) makes an updater that works with the chosen one alone. It leaves the other devices alone and follows the chosen one as it restarts into its update loader and back, on a new port. FM1DeviceSummary is Identifiable and has the port it answered on.
  • FM1Advice.Action.chooseDevice, the advice for multipleDevices, which was reconnect.
  • fm1probe devices lists the devices, numbered, and --device N|SERIAL chooses one for install, install-bootloader, restore-voices, backup and download-mode.

Two devices in the chip's USB download mode at once are still refused.

Using it

Swift Package Manager doesn't pick pre-releases for a range, so pin it exactly:

.package(url: "https://github.com/ocean/FM1Kit.git", exact: "0.5.0-beta.1"),

Full changelog: 0.4.5...0.5.0-beta.1