Load built-in template into editor
firmware_config_load_templateLoads a built-in project template into the editor config, preserving the current project identity by default for overwrite or creating an unsaved new configuration when disabled.
Instructions
Replace the editor config with one of the app's built-in project templates (same data as project_create, in the app's UI language). By default keeps the loaded project's id/name so project_save overwrites it; keepIdentity=false loads it as an unsaved new config. Marks the editor modified; nothing is written to the project list or board until project_save / flash_config. MUTATING.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | Built-in template key (same set as project_create). | |
| keepIdentity | No | Keep the current project id/config_name/design_id/region. |