Skip to content

probe-web / @probe-web/client / targets / flmToYaml

Function: flmToYaml()

ts
function flmToYaml(
   bytes, 
   name, 
   fixedLoadAddress?
): Promise<string>;

Defined in: targets.ts:84

A CMSIS .FLM as a complete, loadable chip family with placeholder names and memory regions — the starting point for a chip probe-rs has never heard of.

fixedLoadAddress pins the algorithm at the address its linker script chose, for loaders that are not position independent. Algorithms taken from packs are position independent, so this defaults to false.

Parameters

ParameterTypeDefault value
bytesUint8Arrayundefined
namestringundefined
fixedLoadAddressbooleanfalse

Returns

Promise<string>