5 Commits

Author SHA1 Message Date
Don Gagne f368676f60 parameter.schema.json: Add readOnly property and make type optional (#2449)
* parameter.schema.json: Add readOnly property and make type optional

Add a readOnly boolean property to the parameter metadata schema to
indicate parameters that should not be changed by the user.

Make the type field optional since it can be determined at runtime
from the PARAM_VALUE message.

* Apply suggestion from @hamishwillee

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2026-04-09 06:45:31 +12:00
Thomas Frans 23eb98ca00 style: add EditorConfig and format some files (#2106)
Add an EditorConfig to make sure editors know how to correctly edit and
save files. Also strip trailing whitespace in some files that don't need
it, as configured in the EditorConfig file.
2024-05-01 11:44:32 +10:00
Beat Küng 74dee05f0c component_metadata: add translation schema (#1934) 2023-01-05 09:19:59 +11:00
dforsi c46af52326 Fix spelling errors (#1866)
Fixed with:
codespell --summary --ignore-words-list mot,ned,parm,parms,upto --skip cmake --write-changes

Co-authored-by: Daniele Forsi <iu5hkx@gmail.com>
2022-07-21 19:27:34 +10:00
Beat Küng 3b52eac09c add COMPONENT_METADATA, deprecate COMPONENT_INFORMATION (#1823)
* component_information/general.schema.json: make crc optional, remove translation crc

* rename component_information -> component_metadata

* common.xml: add COMPONENT_METADATA, deprecate COMPONENT_INFORMATION

The peripherals is added to the general json with optional CRC, and can
use the (future) dynamic update mechanism.

COMPONENT_INFORMATION can be removed after a transition period.

* COMPONENT_INFORMATION tidy - mark as deprecated rather than wip using tag

* general.schema.json: make https mandatory

* Apply suggestions from code review

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2022-04-13 20:36:10 +10:00