Quartz::Build::SdkOpts
Parses the sdk.opts JSON file shipped with every Flipper SDK bundle.
This is the source of truth for every compile/link flag — we never
hardcode cortex-M4 CFLAGS in Crystal; we read them from here so that
SDK version bumps just work.
Path substitutions the SDK uses inside the flag strings: SDK_ROOT_DIR → resolved SDK root (replaced at expand time) SDK_APP_EP_SUBST → app entrypoint symbol name SDK_MAP_FILE_SUBST → path for the linker .map output
Constructors
Instance methods
Return cc_args with SDK_ROOT_DIR replaced by sdk_root. The entrypoint
and map-file substitutions only apply to linker_args — we handle those
separately in linker_args_for.
Linker args resolved for a concrete build: app entrypoint symbol and output .map file path are substituted in addition to the SDK root.
Absolute path to the API symbols CSV for this SDK.