bareMetal static method

Platform<BareMetalAttributes> bareMetal({
  1. required Architecture architecture,
})

Creates a bare-metal platform with the specified CPU architecture.

Used for systems without an operating system (e.g., microcontrollers, single-board computers, or firmware targets).

Implementation

static Platform<BareMetalAttributes> bareMetal({
  required Architecture architecture,
}) => Platform(
  os: OperatingSystem.none,
  attributes: BareMetalAttributes(architecture: architecture),
);