Quartz::Build::Toolchain
Locates the arm-none-eabi toolchain on the host. Three strategies tried
in order; the first that yields a working arm-none-eabi-gcc wins:
- Reuse ufbt's cached toolchain under
~/.ufbt/current/toolchain/*/bin/ - Use Quartz's own cached toolchain at
~/.quartz/toolchain/*/bin/ - Fall back to whatever
arm-none-eabi-gccis on PATH
Strategy 2 isn't populated by anything yet — it's a hook for a future
quartz sdk toolchain install subcommand that mirrors ufbt's download.
Until then, strategies 1 and 3 cover realistic users.
Constructors
new(gcc : String, gpp : String, ld : String, objcopy : String, ar : String, strip : String, version : String, source : Quartz::Build::Toolchain::Source)
Sourceresolve
Resolve the best available toolchain. Raises ToolchainMissing if none
of the strategies produce a usable arm-none-eabi-gcc.
Class methods
Instance methods
ar
Sourcegcc
Sourcegpp
Sourceld
Sourceobjcopy
Sourcesource
Sourcestrip
Sourceversion
Source