Closed
Description
The IDE should provide a configurable way for platforms to provide their own discoverers to the IDE's DiscoveryManager.
A recipe in platform.txt would allow a platform to specify a shell command to run for its discoverer.
Communication between the shell command and the IDE should use stdin/stdout with text in JSON format. Two fields would be mandatory, "id" for the unique port identifier to be used in the upload recipe, and "label" for the text to be shown in the Ports menu. Optional fields could provide information about the board, or FQBN, or partial QBN, depending on how much information about the hardware is known to the discoverer.