Set or get toolchain used for building projects.
Syntax
toolchain
Return a list of available toolchains and supported processor types.
toolchain <processor-type>
Get the current toolchain for <processor-type>.
toolchain <processor-type> <tool-chain>
Set the <toolchain> for <processor-type>. Any new projects created will use the new toolchain during build.
Returns
Depends on the arguments specified.
<none>: List of available toolchains and supported processor types.
<processor-type>: Current toolchain for processor-type.
<processor-type>
<tool-chain>: Nothing if the tool-chain is set, or error, if unsupported tool-chain is specified.